Commit graph

647 commits

Author SHA1 Message Date
Josh Sherman
72c9e85f5d Added the template variable to the new scope logic 2013-09-10 19:57:23 -04:00
Josh Sherman
53236e2c8e New variable scope inside of templates
Now can access stuff as part of $this. Example: $__form->dobSelect() is now $this->form->dobSelect(). Both syntaxes are valid to allow for some migration time away from the old syntax
2013-09-10 19:50:16 -04:00
Josh Sherman
2ac7790385 Cleaned up some old code.
Still had some <br />'s in there and updated some of the redirects to use the Browser class.
2013-09-09 16:08:10 -04:00
Josh Sherman
1a0f66cc9c Dot syntax URIs weren't erroring correctly
Instead of routing to a 404 or home, was just returning [] (empty JSON array). Updated to redirect home for the time being. 404 handling needs to be addressed soon anyway, it's kinda junk right now
2013-09-09 16:05:52 -04:00
Josh Sherman
050871ebe6 Added method to generate a Gravatar img 2013-09-09 14:22:59 -04:00
Josh Sherman
f2835252bd Fixed a typo 2013-09-08 18:30:14 -04:00
Josh Sherman
b1bd69968e Got rid of the jar of PICKLES
It's a bitch to debug and at this point, I'm unsure that there's really any performance improvement by including everything. Also when moving towards namespacing in future revisions, having all of the PHP in a single file is a no-go.
2013-09-08 18:27:34 -04:00
Josh Sherman
ae188a82a6 Added third option to determine if regex needs to match or not match.
Also fixed a bug where errors were overwriting eachother
2013-09-08 14:31:55 -04:00
Josh Sherman
94a9e08661 In module input validation logic 2013-09-08 13:56:07 -04:00
Josh Sherman
8cd9c31508 Added dynamic prefix to the Redis session handler 2013-06-17 18:09:26 -04:00
Josh Sherman
5cb8cb5203 Dropped cursor:help and swapped ellipsis 2013-04-27 17:50:22 -04:00
Josh Sherman
73ae91d629 Strip HTML comments sans "BuySellAds"
Having an issue getting BSA to validate my site. Attempting to leave those HTML comments in place in an effort to resolve the issue.
2013-04-17 12:06:53 -04:00
Josh Sherman
1cd58e2cef Rolled back alleged invalid UTF sequence fix. 2013-03-13 13:32:27 -04:00
Josh Sherman
e02890b97a Checked server count before trying to close
Was throwing an error, probably should wrap it in a try/catch but better to suppress the action entirely
2013-03-07 15:48:08 -05:00
Josh Sherman
85e3119ed1 Reworked Cache to use a server pool
Updated the error handler to allow for better failover during connection errors. Even in a single server setup, still using addServer as it uses passive connections and eliminated the need for an open method.
2013-03-07 14:57:41 -05:00
Josh Sherman
bf941c023f Fixed jar 2013-02-28 16:27:33 -05:00
Josh Sherman
a0074337a3 Reverted cache layer 2013-02-28 16:26:25 -05:00
Josh Sherman
026c8137e9 Added Redis support to Cache layer 2013-02-28 15:14:10 -05:00
Josh Sherman
6a1cf8c035 Working on the caching
Not sure how I got back on the master branch, meh.
2013-02-28 12:24:02 -05:00
Josh Sherman
684ff2fef1 Starting adding Redis support to Cache class 2013-02-26 18:24:43 -05:00
Josh Sherman
07d00289a1 Added a flag to resolve UTF-8 sequence errors 2013-02-26 16:07:14 -05:00
Josh Sherman
d25b042d8e Revert "Reworked Database stuff to be Datastore stuff"
This reverts commit ebd0018473.
2013-02-26 15:14:17 -05:00
Josh Sherman
ebd0018473 Reworked Database stuff to be Datastore stuff
Wanted a generic grouping for all datastores so there's a place for memcached and redis.
2013-02-26 10:15:52 -05:00
Josh Sherman
df0ef6d959 Reworked sessions and added Redis handler
Requires phpredis to be installed.
2013-02-20 19:03:51 -05:00
Josh Sherman
650c16efae Removed session_start in controller, removed exception from Security class
Security class doesn't need to bark so much, just fail and move on
2013-02-20 11:38:16 -05:00
Josh Sherman
b4eb28f945 Added logic to NOT start sessions for bots 2013-02-20 11:25:04 -05:00
Josh Sherman
78a9d0dda5 Went back to connect
Adjusted server a bit, shouldn't need pconnect any longer
2013-02-19 19:28:28 -05:00
Josh Sherman
21a1b730e1 Switched to persistent memcached connections 2013-02-19 13:45:38 -05:00
Josh Sherman
b4d9b0e182 Added method to pull the user's IP
Browser::remoteIP();
2013-02-16 17:13:19 -05:00
Josh Sherman
bf15f592e9 Added an alias to take you home
Browser::goHome();
2013-02-16 15:04:38 -05:00
Josh Sherman
5ccdeb64a7 Added back memcached support for sessions 2013-02-12 00:20:48 -05:00
Josh Sherman
4b414783f0 Checking that the session handle worked
Hadn't used MySQL mode in a while, seems to work fine. Going to add memcached support back in as well.
2013-02-12 00:11:56 -05:00
Josh Sherman
927d04452a Merge github.com:joshtronic/pickles 2013-02-04 23:36:22 -05:00
Josh Sherman
cbb75e7064 Added @geoffoliver attributes.
Geoff likes to exploit the URI and inject key/value pairs into it. It's not something I do, but I was intrigued enough to implement it. Basic usage is /path/to/page/id:123/spam:eggs. The variables are removed from the request variable as to not bork module loading and are made available via Browser::get('variable');
2013-02-04 23:34:09 -05:00
Josh Sherman
cb96ca858a Update README.md 2013-02-04 21:01:21 -05:00
Josh Sherman
2a31127152 Contents weren't being passed in when a label was present 2013-02-03 15:44:52 -05:00
Josh Sherman
3babea7dea Fixed issue with labels 2013-02-03 11:57:07 -05:00
Josh Sherman
358bf0eefa Fixed an issue with input types 2013-02-02 16:18:48 -05:00
Josh Sherman
9c73061a0a Dropped title="" when label is present
Was fucking with jQuery validate.
2013-02-01 15:17:05 -05:00
Josh Sherman
37a3411c12 Dropped <div></div> around inputs 2013-02-01 15:14:35 -05:00
Josh Sherman
bf1c4db74e Tweaked HTML class to always try to add labels
Seems nesting HTML elements is a bit borked, will fix when I need to use it.
2013-02-01 13:37:57 -05:00
Josh Sherman
17609530e3 Removed mentions of boilerplate ditched docs
The docblock stuff is always out of date, if anyone wants they are welcome to generate the documentation on their own. Also closes #10
2013-01-31 20:19:02 -05:00
Josh Sherman
96ac5ccbf5 Dropped bootstrap directory 2013-01-31 15:08:26 -05:00
Josh Sherman
465976818c Dropped modules, spruced up Dynamic class
Dropped the bootstrap submodules since the bootstrap is moving out of this project again. Also dropped LESS, relying on an installed copy (similar to SASS)
2013-01-31 15:01:52 -05:00
Josh Sherman
e70dccafd7 Added HTML class 2013-01-30 22:16:55 -05:00
Josh Sherman
2cb9577ca2 Added SASS support
Closes #12
2013-01-28 16:59:44 -05:00
Josh Sherman
41ba406ea6 Updated form class to serve up less markup
Cut empty attributes and line breaks. Closes #14
2013-01-28 16:46:23 -05:00
Josh Sherman
640727c554 Turned off modified time checks for CSS files
There's a note in the code as to why
2013-01-13 00:11:44 -05:00
Josh Sherman
80e6e35191 Swapped online closure compiler for a local copy
Java is a dependency. Online compiler is generally slower than running something locally, so this is a favored improvement.
2013-01-08 17:21:11 -05:00
Josh Sherman
d370bc3d3d Added submodule calls
Not sure how many times I've been fucked by submodules. I avoid them now, but still the pain lingers
2013-01-04 11:57:37 -05:00