Brad Dutton
325af801fc
enable prod mode again
2021-10-24 22:28:41 -07:00
Brad Dutton
96e7f17a67
changes to get tests passing with PHP 8
2021-04-23 14:33:53 -07:00
Bradley W Dutton
bb0eeb3176
add help notes for password reset
2020-11-13 21:46:55 -08:00
Brad Dutton
8a5a326386
Merge pull request #1 from trasher/short_tags
...
Drop short_tags
2020-10-10 20:27:00 -07:00
bwdutton
8be9001c57
add CLI password reset:
...
php index.php passwordreset
or
php index.php passwordreset username
2020-06-04 00:42:21 -07:00
Johan Cwiklinski
6746792bdf
Drop short_tags
2018-05-19 17:01:37 +02:00
shadlaws
d012cddf78
#2020 - Add CLI install argument to set admin password.
...
This isn't too useful for end users, but would be really useful for developers
that install Gallery3 over and over again...
2013-02-26 13:36:31 +01:00
shadlaws
b0180288e0
#1749 , 1754, 1901 - revert two recent commits that check for Zend Guard obfuscation level support.
...
This is not the root of the problem for all installs, and can trigger false positives
that break previously-working installs... we'll have to find a better way.
2013-02-16 08:23:36 +01:00
shadlaws
b01897af8d
#1749 , #1754 , #1901 - Add debugging message if Zend Guard code obfuscation is enabled.
...
Zend Guard code obfuscation is enabled by default on many PHP 5.3+ installations,
but we don't use it and Kohana 2.4 is incompatible with it (see Trac tickets).
Rather than crash and/or hack core Kohana code, we can display an error message
to help the end user disable it.
2013-02-12 11:26:43 +01:00
shadlaws
f90cd11bcf
#1964 - TMPPATH is mis-defined in index.php.
...
- fixed mis-definition of TMPPATH, which was resulting in something like .../gallery/var//tmp/
2013-01-25 13:36:27 +01:00
Bharat Mediratta
49f6ce2d94
gallery.menalto.com -> galleryproject.org
...
codex.gallery2.org -> codex.galleryproject.org
Fixes #1957 .
2013-01-22 18:39:24 -05:00
Bharat Mediratta
d45a737779
Update copyright to 2013. Fixes #1953 .
2013-01-21 01:22:01 -05:00
Bharat Mediratta
50f5286ffb
Elevate X-Frame-Options from all admin and user pages to all PHP
...
responses. Fixes #1922 .
2012-11-06 11:51:44 -08:00
Bharat Mediratta
c508880159
Prevent Gallery from running on Windows. Fixes #1883 .
2012-06-05 21:35:48 -07:00
Bharat Mediratta
e722e5d5d4
Fix missing date.timezone which results in a crash on startup in I18n
...
code. Fill in missing field and log it 25% of the time. Fixes #1853 .
2012-05-07 11:38:51 -07:00
Bharat Mediratta
bf2bb3e1ea
Update copyright to 2012. #1822
2012-02-27 09:48:23 -08:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
7d07190af1
Turn off session.use_trans_sid -- that feature attempts to inject session ids
...
into generated URLs and forms, but it doesn't interoperate will with Gallery's
Ajax code.
2011-01-08 16:58:40 -08:00
Bharat Mediratta
0b223d5484
Clean up cli default instructions.
2010-09-12 12:58:30 -07:00
Bharat Mediratta
f1eed778e4
Tweak the test setup code to always copy database.php; something is
...
going wrong that's nuking test/var/database.php -- I'll figure that
out, but in the meantime we can make this code more robust.
2010-06-07 22:14:04 -07:00
Bharat Mediratta
4ba02ad720
Don't recreate test/var/logs if it already exists. This fixes a
...
rather circuitous problem where if we have a failure early enough in
the cycle, the failure is masked by our mkdir attempt. Even though we
use @ to mask the error, the error handler still picks it up and turns
it into an exception in Kohana_PHP_Exception::shutdown_handler() which
obscures the real problem.
2010-06-07 22:03:54 -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
Bharat Mediratta
94ab9fdfee
Add a comment about error_reporting()
2010-01-31 14:02:00 -08:00
Bharat Mediratta
7dbb84bb54
Bootstrap has moved in K24
2009-11-24 19:24:51 -08:00
Tim Almdal
65355c6bb3
Change the gallery3/index.php so there is a new option "install" which invokes the installer.
2009-11-12 14:43:47 -08:00
Bharat Mediratta
87598288f4
If we fail the version check, at least show the version of PHP that the server is using.
2009-08-06 20:38:42 -07:00
Bharat Mediratta
2155a95620
Warn the end user not to run test or package targets.
2009-06-16 13:43:31 -07:00
Bharat Mediratta
d77f3a9ef0
add a missing 'break' after running tests which caused tests not to
...
run.
2009-06-11 12:50:24 -07:00
Bharat Mediratta
66014819b4
refactor CLI support and add a help message.
2009-06-10 01:23:58 -07:00
Bharat Mediratta
f9d492ba2d
Create 3 separate CLI targets: test / package / upgrade
...
Convert single to double quotes
Get rid of strtr() + DIRECTORY_SEPARATOR crap.
2009-06-10 01:05:13 -07:00
Tim Almdal
3c24d94766
Merge branch 'master' of git@github.com:gallery/gallery3
2009-05-31 23:28:42 -07:00
Tim Almdal
463b3454ae
Move the sql packaging code from installer into the gallery module. It must be run from the command line and will throw a 404 if it is run as a web request.
2009-05-31 23:28:27 -07:00
bharat
1f7cec2e75
Change E_NONE -> 0 .. turns out E_NONE is a figment of my imagination according to http://us.php.net/manual/sl/function.error-reporting.php
2009-06-01 00:21:18 -04:00
Bharat Mediratta
2e9b8277d5
Add a / to the end of TMPPATH to match other paths.
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-05-31 14:28:11 +08:00
Bharat Mediratta
3b3531cbb8
Add a / to the end of TMPPATH to match other paths.
2009-05-30 15:34:03 -07:00
Bharat Mediratta
993eecfee6
Rename index.local.php to local.php so that tab completion on i<tab> works.
...
Makes running tests easier.
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-05-28 12:10:29 +08:00
Bharat Mediratta
567c911fa3
Rename index.local.php to local.php so that tab completion on i<tab> works.
...
Makes running tests easier.
2009-05-27 21:05:35 -07:00
Bharat Mediratta
578c9f4e52
Merge branch 'master' of git@github.com:gallery/gallery3
2009-05-27 19:32:38 -07:00
tim almdal
b7a193cc19
standardize the version check between installer/index.php and index.php
2009-05-27 17:11:27 -07:00
Bharat Mediratta
12fe58d997
Rename 'kohana' to 'system' to conform to the Kohana filesystem layout. I'm comfortable with us not clearly drawing the distinction about the fact that it's Kohana.
2009-05-27 15:11:53 -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
Bharat Mediratta
0a6249ec21
Add support for index.local.php where you can override any existing settings (useful for developers). This might be a bad idea; trying it out for now.
2009-05-24 06:10:09 +00:00
Bharat Mediratta
fdf7ce24f5
Set the error level to E_NONE for production.
2009-05-21 06:27:21 +00:00
Bharat Mediratta
b5ff14df33
Set display_errors to false for security.
2009-05-21 03:42:24 +00:00
Bharat Mediratta
ad16488643
Turn on IN_PRODUCTION mode now across the board. Create our own error
...
page where we'll show whatever information is useful. Get rid of the
IN_PRODUCTION hack in MY_View.php that we no longer need.
2009-05-18 06:30:32 +00:00
Bharat Mediratta
59b0e40f65
Define KOHANA as the front controller .php file.
2009-05-18 00:28:20 +00:00
Bharat Mediratta
bd3dd786e7
Define TMPPATH
2009-05-17 04:55:12 +00:00
Bharat Mediratta
5495037a3d
Gee it's May already. Update copyright to 2009.
2009-05-13 20:04:58 +00:00
Bharat Mediratta
2a7d4b4365
Remove the redirect to the installer; if we don't have a var dir this results in an infinite redirect. Let's put this back in when the installer works.
2009-01-14 05:07:52 +00:00
Tim Almdal
02af2d8b76
The installer. At this point, the core installs, the user module defines groups and users, but dies when attempting to create default permissions
2009-01-14 03:38:51 +00:00