Commit Graph
1147 Commits
Author SHA1 Message Date
Bharat Medirattaand 96b533f1b2 Don't count the root as an album in the stats block. It'll just confuse our users.
Fixes ticket #369

Signed-off-by:  <unostar@danalan.info>
2009-06-13 20:10:23 +08:00
unostar 8645473df0 Corrected my mistake. 2009-06-13 05:06:37 -07:00
Tim Almdaland 5f3d33b58e Continue refactoring the rss module and distribute the creation of album and
tag feeds to the gallery and tag modules respectively.  This chould close
ticket #388

Signed-off-by:  <unostar@danalan.info>
2009-06-13 04:22:28 +08:00
Tim Almdaland fd3a81f1ee Move the processing of rss feeds from the rss controller to callbacks in the
modules that are supplying the feed. The rss controller becomes a router.
In this change the comment and updates fields are distributed.

Signed-off-by:  <unostar@danalan.info>
2009-06-13 04:22:26 +08:00
Tim Almdaland 94dc6baa49 Change from an event driven model to a call driven model similiar to the task
api.

Signed-off-by:  <unostar@danalan.info>
2009-06-13 04:22:25 +08:00
Tim Almdaland 0da812fdb0 Change the "request_feed_links" eventing handling so that individual modules
provide the part of the url (the suffix) that they are interested in and the
rss module will format the rest of the url.

Signed-off-by:  <unostar@danalan.info>
2009-06-13 04:22:22 +08:00
unostar f15b4a5f35 Multi-byte safe function to support all other languages. 2009-06-12 10:39:35 -07:00
Tim Almdaland 1981c9bb09 Rearrange the code in sidebar_block to logically group the code for readability.
Signed-off-by:  <unostar@danalan.info>
2009-06-12 21:21:57 +08:00
Tim Almdaland 4bd82c1167 Changed rss_theme::sidebar_blocks to fire the event "request_feed_links" to
allow modules to contribute rss feed links to the rss sidebar block.
Ticket #388.

Signed-off-by:  <unostar@danalan.info>
2009-06-12 21:21:55 +08:00
Bharat Medirattaand f578906d33 Convert the filename to a sensible title to match the way that the simple uploader works.
Signed-off-by:  <unostar@danalan.info>
2009-06-12 21:21:02 +08:00
Bharat Medirattaand 35e5a7d69b Add /usr/local/bin to PATH before trying to detect binaries.
Signed-off-by:  <unostar@danalan.info>
2009-06-12 21:21:00 +08:00
unostar 9e348c51c1 Adding string to localizer 2009-06-11 17:38:54 -07:00
unostar 62a19227b2 Add string to localizer 2009-06-11 17:18:51 -07:00
Bharat Medirattaand 24bd873c4f Rename theme_details to theme_options. These changes got left out of
68fd196d66 leaving us in a temporarily
broken state.

Signed-off-by:  <unostar@danalan.info>
2009-06-12 06:55:21 +08:00
Bharat Medirattaand 1d60d8ee46 Trap exceptions from movie::create() and mark those movies as corrupt.
Signed-off-by:  <unostar@danalan.info>
2009-06-12 06:55:16 +08:00
Marc Poulhièsand dfa7ec6b0b fix init_embed. test was not correct
Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:53:32 +08:00
Marcand a5cc8076ce fix previous commit
Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:53:30 +08:00
Marcand 24a72aa819 fix gallery2 import with multisite config
Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:53:27 +08:00
Bharat Medirattaand b0ae9c02d9 Rename theme_details to theme_options everywhere.
Fixes ticket #317

Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:51:11 +08:00
Bharat Medirattaand 547a4c39d7 Actually save the url when editing user information.
Fixes ticket #363.

Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:51:08 +08:00
Bharat Medirattaand 5f2dca7a51 Provide a way for non-admins to authenticate and use the upgrader,
without using our regular code paths.

Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:51:06 +08:00
Bharat Medirattaand 8d4567f4cc Fix log links. html::anchor() implicitly calls url::site(), calling
it a second time mangles the urls.

Fixes ticket #360.

Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:51:03 +08:00
Bharat Medirattaand 323b1e6077 Improve our warning message to also mention that you need to have mod_rewrite installed.
Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:51:01 +08:00
unostar c7770140ae adding string to localizer 2009-06-10 14:12:40 -07:00
Tim Almdal 0c5cb026a7 Only add the comment rss feeds if the comment module is active. fix for #365 2009-06-10 08:26:40 -07:00
Bharat Mediratta 8c0d48b001 Add CLI sapi support 2009-06-10 01:23:44 -07:00
Bharat Mediratta 73de6eedd9 Rename package -> packager (it's a noun which has verbs on it).
Force a HTTP_HOST so that url::base() works.
2009-06-10 01:23:18 -07:00
Bharat Mediratta f20bf46868 Consider the CLI sapi the equivalent of an admin 2009-06-10 01:21:57 -07:00
Bharat Mediratta 0157ed4cfe Update test code to match the change made in 47810c9aec
where we adjust the site_domain in config.php
2009-06-10 00:53:16 -07:00
Bharat Mediratta fc64a55f2e Golden file update 2009-06-10 00:14:55 -07:00
Andy Staudacher 9ecd2ac0e9 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-09 22:07:57 -07:00
Bharat Mediratta f41a232730 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-09 21:28:08 -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 accce788d9 Fix a bug in set_version() where we were always forcing the value to 1. Oops! 2009-06-09 21:26:28 -07:00
Andy Staudacher 03e9cefa17 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-09 21:10:53 -07:00
jhilden dab0799b65 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-10 00:10:18 -04:00
Andy Staudacher 5f7dfc272e Remove double quotes from module.info (theme.info) attribute values.
(actually, we did that before: Now removing HTML element attributes since they were delimited by single quotes because PHP's ini parser can't
deal with double-quotes in values.)

Background:
Requiring all l10n messages a) to be well-formed HTML and b) to use double-quotes as HTML element attributes, since the l10n server side
validation normalizes all attribute delimiters to double-quotes). See ticket #254.
2009-06-09 21:05:33 -07:00
jhilden f1c91ab977 fixed that you couldn't copy and paste text from the admin dashboard
* made only the block headers draggable, so that the rest of the block could be normal
* this should fix bug #292
2009-06-09 23:54:02 -04:00
Bharat Mediratta f55686c7ef Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-09 20:33:31 -07:00
Bharat Mediratta a20246b738 Say hello to the new upgrader UI. 2009-06-09 20:33:06 -07:00
Bharat Mediratta 00b528afac Cache the available module list in module::$available. 2009-06-09 20:32:37 -07:00
Andy Staudacher 7e4fcb97cb Fix HTML bug in l10n message 2009-06-09 20:10:34 -07:00
Bharat Mediratta 5e6c8894e2 Use a reference in available() to avoid crappy looking dereferencing. 2009-06-09 20:08:48 -07:00
Andy Staudacher 86a32d412f Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-09 19:49:58 -07:00
Andy Staudacher 7ccb65ea9e Fix for fetching l10n plural messages. Need to cast from stdclass to array(), as I18n expects all messages to be either string or array. 2009-06-09 19:49:06 -07:00
Bharat Mediratta 798444f40b Replace login_page.html.php with the form, wrapped in our default page
type.
2009-06-09 19:45:15 -07:00
Bharat Mediratta e5d273e929 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-09 19:00:22 -07:00
Bharat Mediratta d0b2544511 Check in /usr/local/bin for ffmpeg, and create the setting even if its
empty (to make it easier for folks to change it in Admin > Settings >
Advanced)
2009-06-09 18:59:53 -07:00
Bharat Mediratta 79d526f1fa Put in a placeholder link to click on if there's no value for a setting. 2009-06-09 18:58:40 -07:00