Bharat Mediratta
d45a737779
Update copyright to 2013. Fixes #1953 .
2013-01-21 01:22:01 -05:00
Bharat Mediratta
bf2bb3e1ea
Update copyright to 2012. #1822
2012-02-27 09:48:23 -08:00
Bharat Mediratta
1bbaafcc1f
Add Baidu, Bing and Ezooms to the robits list. Fixes #1817 .
2012-02-05 17:01:12 -08:00
Bharat Mediratta
5bae21864f
Follow-on to 6f916e49d5 -- don't make
...
database calls if Gallery isn't installed, else we fail to bounce the
user to the installer on fresh packages. #1637 .
2011-05-05 14:52:47 -07:00
Andy Lindeman
6f916e49d5
Allow timezone to be configurable
...
* Fixes #1637
* New advanced setting gallery/timezone
* Default setting comes from PHP
2011-04-22 18:15:17 -04:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
a0b7d397dd
Amend db00958cee by extending the system
...
user_agents.php instead of replacing it. This lets us avoid having to
reformat the file to get File_Structure_Test to pass and will let us
take advantage of further improvements ot the Kohana version of the file.
Additional fix for #1436 .
2010-12-15 11:44:29 -08:00
Bharat Mediratta
db00958cee
Add MJ12bot and Speedy Spider to the robot list.
2010-10-11 21:06:00 -07:00
Bharat Mediratta
c4454f1f07
Copy system/config/user_agents.php over to gallery/config so that we can add to the list
2010-10-11 21:05:39 -07:00
Tim Almdal
e09c6dbd5e
Patch for ticket #1216 . Move the values that were in the sendmail config file and store them as gallery module variables. Requires a version number bump to 37.
2010-08-31 20:45:09 -07:00
Bharat Mediratta
3e0b42573e
Set the "secure" bit on cookies if we're using HTTPS. Fixes ticket #1217 .
2010-08-21 14:06:30 -07:00
Bharat Mediratta
8065ab023d
Revert "Fix for ticket #1182 . Remove the trailing slash and just let it be matched by the trailing (.*) group"
...
This breaks adding new albums. I get the following in my error log:
"2010-07-13 13:08:46 -07:00 --- error: Kohana_404_Exception [ 43 ]: The page you requested, form/add/albums/1?type=album&g-in-dialog, could not be found."
This reverts commit cb4e18f9dd .
2010-07-13 13:42:00 -07:00
Tim Almdal
cb4e18f9dd
Fix for ticket #1182 . Remove the trailing slash and just let it be matched by the trailing (.*) group
2010-07-06 14:59:27 -07:00
Tim Almdal
67223fc43d
Revert "Make the trailing slash on the url optional. Sometimes it is not there, so the regex doesn't match"
...
This reverts commit e4d397d301 .
2010-07-05 08:59:08 -07:00
Tim Almdal
e4d397d301
Make the trailing slash on the url optional. Sometimes it is not there, so the regex doesn't match
2010-07-05 08:21:14 -07:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Andy Staudacher
0eb9b43a33
Enable session expiration. Currently, it's set to expire sessions after 7 days of inactivity.
2010-02-14 17:26:57 -08:00
Bharat Mediratta
4cd5c4cebb
Second attempt to fix the timezone issue. If the timezone is not set
...
in phpinfo(), then force it to America/Los_Angeles for now.
2010-01-31 11:27:54 -08:00
Bharat Mediratta
dad537effe
Update the timezone field to match the setting in
...
system/config/locale.php. This fixes the "date_default_timezone_set()
[function.date-default-timezone-set]: Timezone ID '' is invalid" error.
2010-01-31 11:24:00 -08:00
Tim Almdal
0de067312e
Add a routing that allow add and edit form requests to be routed the same way as non admin forms. i.e. a uri of /form/add/admin/<controller>/parms gets routed as admin/<controller/form_add/<parms>
2010-01-26 19:59:44 -08:00
Bharat Mediratta
8b9a02084a
Updates for the latest version of Kohana 2.4:
...
1) Controller::$input is gone -- use Input::instance() now
2) Handle new 'database.<default>.connection.params' parameter
3) Handle new 'cache.<default>.prefix' parameter
2009-12-21 21:27:43 -08:00
Bharat Mediratta
9c5df1d31b
Fix preambles, and fix the File_Structure_Test to be more lenient
...
because of preamble variation in K24.
2009-12-21 19:59:44 -08:00
Bharat Mediratta
c803cb2909
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
2009-12-01 19:44:29 -08:00
Bharat Mediratta
852653ef24
Clean up item routing a bit.
...
1) The new default route is "albums", and Albums_Controller::index() does the right thing
2) Items_Controller redirects to the appropriate specific controller
3) All item controllers now have show() instead of _show(), so that
the routing code in url::parse_url() can get to it. But that code is protected against
receiving bogus requests.
2009-11-30 13:57:50 -08:00
Bharat Mediratta
e105d1fdb4
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
2009-11-25 13:51:47 -08:00
Tim Almdal
ce183e5a69
Forgot to remove the rest references from config/route.php
2009-11-25 13:45:58 -08:00
Bharat Mediratta
e201536d82
K24 has separate log sinks, this configures the file based log sink
2009-11-24 19:25:14 -08:00
Tim Almdal
baca223e1d
Address the inconsistency between Add Photos and Server Add so that neither replace spaces in the filename
...
Fixes ticket #853
2009-11-04 08:24:15 -08:00
Tim Almdal
6d5c12e13e
Move the default identity config into the users module and change the Identity constructor to look in module::get_var(gallery, identity_provider) for the current identity driver.
...
In addition, don't just arbitrarily lock the use module. Only lock gallery and the module that is referenced by "user_driver_module" variable.
2009-10-18 08:00:33 -07:00
Tim Almdal
1c1b726d07
Change the user config setting "allow_updates" to true in the identity config file and correct a missing variable in the view.
2009-10-13 19:56:02 -07:00
Tim Almdal
052491e258
If the Identity backend is not writable don't display the "Forgot Your Password" link
2009-10-08 06:26:12 -07:00
Tim Almdal
3a0413901f
Forgot to save these before the last commit
2009-10-07 21:46:26 -07:00
Tim Almdal
03d0311618
Implement a user::is_writable() API method and disable the user add, updates and display if the Identity driver does not support writes. This is set in the config.identity.php
2009-10-07 21:40:05 -07:00
Tim Almdal
08c01fec6c
The initial commit of refactoring the user/group adminsitration into a driver.
...
Create an Identity library that defines the interface the Gallery3 expects
Move the user and group helpers into the gallery module to provide the familiar
interface into the Identity library.
Create a Gallery Identity back-end that is supplied by the user module.
The vision here is that all user and group code that is gallery or ui specific
is contained within the core product. Anything that relates to manipulating a
user or group is contained in the back end code that can be replaced.
2009-10-05 16:27:52 -07:00
Bharat Mediratta
82dd468002
Refactor interaction with the purifier module so that the API is
...
cleaner and we don't need to know about the module innards. Move the
config file over there too.
2009-09-03 11:25:02 -07:00
Tim Almdal
0f9bfbdd57
Use TMPPATH in the purifier config instead of var/tmp
2009-07-04 09:10:03 -07:00
Tim Almdal
b6e5bf6eaa
Fix for ticket #400 : Add HTMLPurifier to gallery3 and change p::clean() to call HTMLPurifier->purify()
2009-07-03 12:56:29 -07:00
Tim Almdal
a0c07d4b54
Clean up code (i.e. preamble, tabs) from the caching implementation so the unit tests pass
2009-06-28 07:49:35 -07:00
Tim Almdal
2d38370ec4
The rest of the caching driver implementation that i somehow forgot.
2009-06-27 23:34:07 -07:00
Bharat Mediratta
28b41056e3
Restructure things so that the application is now just another module.
...
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.
Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)
There's still considerable work left to be done here.
2009-05-27 15:07:27 -07:00