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
Josh Sherman
13217dc2d7
Renamed due to a conflict with a site of mine
...
Using github for authentication, I already had a github callback module. Renamed to /callback/github/hook to be a bit more verbose (and avoid the conflict)
2013-01-04 11:54:17 -05:00
Josh Sherman
d329f92c31
Added another sanity check
2013-01-04 11:49:34 -05:00
Josh Sherman
d199a3ffc3
Added github callback script
...
Can be used to deploy code remotely when you push to master (master is always deployable!) using deploy keys.
2013-01-04 11:46:19 -05:00
Josh Sherman
42fc4704c6
Added pluralize function
...
Takes a word and a variable and determines if the word should be plural. Optionally returns the variable prepended to the output. Happy Fucking New Year!
2012-12-31 20:33:43 -05:00
Josh Sherman
fe0fd407cf
Added inc/decrement functionality to the Model
...
Sure beats incrementing the variable then setting it! Usage: $model->record['column'] = '++'; // or '--'. Only works with single row updates at the moment. May expand into allowing a variable step to be defined (+10 or ++10 or something... I say that cause I think the double character is a bit safer since you could in theory set a value to -10000 and not want it to decrement by 10k)
2012-12-30 12:21:49 -05:00
Josh Sherman
c19ac9fbae
Added relative time function
...
Time::ago($time) will return something like "45 minutes ago" or "45 minutes from now". As always, sticking to GMT/UTC
2012-12-29 11:41:23 -05:00
Josh Sherman
340b336a49
Controller bug and Distance class
...
Fixed a bug in the Controller that was throwing some notices when a module didn't return any data. Also finished up the calculateDistance() method in the Distance class. Seems I left it in somewhat of a bug filled incomplete state last week.
2012-12-18 13:24:19 -05:00
Josh Sherman
63fd4db19a
Merge branch 'master' of github.com:joshtronic/pickles
2012-12-14 15:58:30 -05:00
Josh Sherman
7fb8265998
Distance class
...
Moved the convert unit logic out of the Convert class. Added a method to calculate distances between 2 points
2012-12-14 15:55:49 -05:00
Josh Sherman
0c2aaafefc
Fixed issue with nginx HTTPS global
...
Variable was set to an empty string and being evaluated as true.
2012-12-13 16:05:34 -05:00
Josh Sherman
33bbcc014b
Updated to allow for both object variables and explicit module returns to be merged into $__module
2012-12-08 15:38:05 -05:00
Josh Sherman
bf95e07591
Set up database factory to bail is no driver is defined
...
Solves the issue with having a site not using the built in PDO (case in point, I'm building a site entirely on Redis with a separate vendor library that isn't part of PICKLES)
2012-12-04 12:09:14 -05:00
Josh Sherman
344e685035
Added meters to miles conversion method
...
Rearranged methods as well, they needed to be in alphabetical order. In the case that I need more distance related conversions, I'll move that method to it's own class.
2012-12-03 12:04:25 -05:00
Josh Sherman
3290ee0135
Added cache purging post-execution for multiple row UPDATEs
2012-12-02 13:08:36 -05:00
Josh Sherman
50664a22ac
Added support for multiple UPDATEs
...
Also added a new parameter to allow for PDO to handle this correctly as Postgres doesn't allow for multiple row updates in a prepared statement
2012-12-02 12:58:06 -05:00
Josh Sherman
864b44b13b
Started scaffolding a database init script
2012-11-30 17:37:47 -05:00
Josh Sherman
f812971395
Merge branch 'master' of github.com:joshtronic/pickles
2012-11-30 17:36:43 -05:00