Josh Sherman
4d9eb54b13
Dropped dot syntax
...
Too much juggling to make sure the proper assets were loaded. Opened up a security issue that allowed some pages to be accessed even if data was missing, just a headache, best to move away from it and allow users to defining custom routing in inde.php. Perhaps down the road allowing a Route class that the user can define everything in.
2013-09-12 17:59:29 -04:00
Josh Sherman
d671cfa977
Hardcoded email, whoops.
2013-09-12 09:49:19 -04:00
Josh Sherman
4819b2c1a2
Added sanity check for variable
...
I like to remove the password field from records when I'm not using the password value, this caused an error when creating the cache keys.
2013-09-11 10:28:38 -04:00
Josh Sherman
9dcf3fa58e
Added column caching
...
If you're pulling data against a single column and returning a single column the UID will be cached out to a key that can easily be recalled the next time the same query is executed. On UPDATE and DELETE the corresponding keys are deleted.
2013-09-10 22:43:52 -04:00
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