Bradley W. Dutton
680de0c6d0
fix implode() so the separater is always the first argument
2020-02-01 20:53:43 -08:00
shadlaws
94aadf03da
#2008 - Add warnings if some active modules are obsolete.
...
- added module::get_obsolete_modules_message function
- put message on admin/dashboard
- put message on admin/modules
- put message on upgrader
- updated unit test golden file xss_data
2013-02-20 17:30:27 +01:00
shadlaws
2dc97fab05
#1993 - Remove "failed" query string from upgrader redirect if there are no errors.
...
- Changed redirect if it finished without failures.
- No change to Upgrader_Controller::index(), since its behavior with an empty vs. undefined failed query is identical.
2013-02-08 09:03:57 +01:00
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
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
83bf1d767b
Fix typo: upgrade_check -> upgrade_checker
...
#1605 .
2011-01-17 21:18:24 -08:00
Bharat Mediratta
45caba09f8
Move the code that clears the upgrade_check site status message to the
...
upgrader so that it's cleared any time we run an upgrade. Part of
2011-01-17 20:03:11 -08:00
Bharat Mediratta
cd48b89f31
Consolidate all the random code into a random helper that offers:
...
random::hash()
random::string()
random::percent()
random::int()
So that we don't have lots of different ways to get random values all
over the code. Follow-on to #1527 .
2010-12-15 14:57:00 -08:00
Bharat Mediratta
45c63f4d11
Use mt_rand() instead of rand() since it provides better portability.
...
Fixes #1527 .
2010-12-15 12:48:56 -08:00
Bharat Mediratta
67f45cfa78
Add CSRF protection to the upgrader. And update the CLI output so
...
that it tells you which modules failed to upgrade properly. Fixes
ticket #1359 .
2010-09-11 01:46:45 -07:00
Bharat Mediratta
cbb6967405
Detect out-of-date modules and put up a message for site admins.
...
Fixes ticket #1353 .
2010-09-08 20:59:40 -07:00
Bharat Mediratta
391a90e3ce
Detect when a module fails to upgrade properly and put up an
...
informative message to help the user know that she needs to get a
newer copy of the module. Fixes ticket #1189 .
2010-09-08 20:36:22 -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
9e5714aee8
Tweak upgrader html and css so that we set opacity properly for rows
...
that are done, and disable the upgrade link when there're no actions
to take.
2009-11-15 16:14:30 -08:00
Tim Almdal
e4eedbce22
Change the upgrader so that it never deactivactes the gallery nor the current identity provider modules. Call module::deactive to truly deactivate the module.
2009-10-26 09:35:41 -07:00
Tim Almdal
3c936d661a
Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-22 13:11:03 -07:00
Tim Almdal
78ee4193b7
Remove all non Identity API methods from Identity.php. Created an MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
2009-10-16 10:06:58 -07:00
Tim Almdal
00eacd659f
Start simplifying the interface by moving the static methods from user.php and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
2009-10-16 08:53:31 -07:00
Bharat Mediratta
5e8e3ab6b5
Rejigger the way we handle "done" status in the upgrader. Now we
...
present the done box if you're done and let you get rid of it if you
want. It's not beautiful, by any means, but it gives you an easy link
back to your Gallery when you're finished.
Fixes ticket #479 .
2009-06-30 18:28:55 -07:00
Bharat Mediratta
bfca0c7903
Refactor the install/upgrade code to be more flexible.
...
Add xxx_installer::upgrade($version) method so that upgrade stanzas
are separate from install stanzas. In the old code, to do an upgrade
meant that you had to re-evolve everything from the initial install
because we'd step through each version's changes. But what we really
want is for the initial install to start off in the perfect initial
state, and the upgrades to do the work behind the scenes. So now the
install() function gets things set up properly the first time, and the
upgrade() function does any work to catch you up to the latest code.
See gallery_installer.php for a good example.
2009-06-23 12:00:49 -07:00
Bharat Mediratta
4118ca4f1d
Provide a way for non-admins to authenticate and use the upgrader,
...
without using our regular code paths.
2009-06-10 21:05:24 -07:00
Bharat Mediratta
8c0d48b001
Add CLI sapi support
2009-06-10 01:23:44 -07:00
Bharat Mediratta
d6b808b726
Add security checks
2009-06-09 21:27:55 -07:00
Bharat Mediratta
2fd322deea
ACtually implement the upgrader, and add a confirmation box when the
...
upgrade is complete.
2009-06-09 21:26:37 -07:00
Bharat Mediratta
a20246b738
Say hello to the new upgrader UI.
2009-06-09 20:33:06 -07:00