Commit Graph

3624 Commits

Author SHA1 Message Date
Bharat Mediratta
3e71a44a96 Add a closing </b> to the warning. 2009-06-12 23:04:34 -07:00
Bharat Mediratta
26314d0ef8 Create gallery::date_time(), gallery::date() and gallery::time()
functions that format a unix timestamp into a date+time/date/time
string.

Partial fix for ticket #347.
2009-06-12 22:44:51 -07:00
Bharat Mediratta
4166fbcd67 Don't count the root as an album in the stats block. It'll just confuse our users.
Fixes ticket #369
2009-06-12 21:42:01 -07:00
Bharat Mediratta
8a089310ce Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-12 18:08:37 -07:00
Bharat Mediratta
e076433383 Support imports from multisite G2 installs. 2009-06-12 18:08:14 -07:00
unostar
878d82cb46 Multi-byte safe function to support all other languages.
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-13 08:14:21 +08:00
Tim Almdal
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 Almdal
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 Almdal
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 Almdal
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
Bharat Mediratta
1406cb7c0f Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-12 12:00:20 -07:00
Bharat Mediratta
6749a835e7 Work around different initialization code in earlier versions of Gallery 2. 2009-06-12 12:00:09 -07:00
Tim Almdal
30bdaa8123 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
2009-06-12 11:48:13 -07:00
unostar
f15b4a5f35 Multi-byte safe function to support all other languages. 2009-06-12 10:39:35 -07:00
Tim Almdal
dc6c75cd05 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.
2009-06-12 08:52:03 -07:00
Tim Almdal
d4d145a443 Change from an event driven model to a call driven model similiar to the task
api.
2009-06-12 07:46:42 -07:00
Tim Almdal
e5793b5b26 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.
2009-06-12 06:58:53 -07:00
Tim Almdal
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 Almdal
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 Mediratta
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 Mediratta
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
Tim Almdal
fcddeefa59 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-12 06:08:14 -07:00
Bharat Mediratta
67c8108713 Convert the filename to a sensible title to match the way that the simple uploader works. 2009-06-12 02:13:12 -07:00
Bharat Mediratta
e6ce12e1d3 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-12 01:00:44 -07:00
Bharat Mediratta
b70623118a Add /usr/local/bin to PATH before trying to detect binaries. 2009-06-12 00:58:34 -07:00
unostar
5dcbc3898d adding string to localizer
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-12 15:39:16 +08:00
unostar
e9e61d51bc Add string to localizer
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-12 15:38:41 +08:00
Tim Almdal
f369b8fabf Merge branch 'master' of git@github.com:talmdal/gallery3 2009-06-11 21:19:13 -07: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 Mediratta
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 Mediratta
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
Bharat Mediratta
0b23433d94 Rename theme_details to theme_options. These changes got left out of
68fd196d66 leaving us in a temporarily
broken state.
2009-06-11 12:50:50 -07:00
Bharat Mediratta
ae2fb806c7 Trap exceptions from movie::create() and mark those movies as corrupt. 2009-06-11 12:48:36 -07:00
Marc Poulhiès
dfa7ec6b0b fix init_embed. test was not correct
Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:53:32 +08:00
Marc
a5cc8076ce fix previous commit
Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:53:30 +08:00
Marc
24a72aa819 fix gallery2 import with multisite config
Signed-off-by:  <unostar@danalan.info>
2009-06-11 15:53:27 +08:00
Bharat Mediratta
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 Mediratta
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 Mediratta
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 Mediratta
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 Mediratta
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
Tim Almdal
4877f968b4 Rearrange the code in sidebar_block to logically group the code for readability. 2009-06-11 00:48:32 -07:00
Tim Almdal
1272d0837e 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.
2009-06-11 00:44:34 -07:00
Bharat Mediratta
68fd196d66 Rename theme_details to theme_options everywhere.
Fixes ticket #317
2009-06-10 21:23:57 -07:00
Bharat Mediratta
cf9e3db32e Actually save the url when editing user information.
Fixes ticket #363.
2009-06-10 21:13:34 -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
0d5826ab9f Fix log links. html::anchor() implicitly calls url::site(), calling
it a second time mangles the urls.

Fixes ticket #360.
2009-06-10 20:37:38 -07:00
Bharat Mediratta
d7df3e1681 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-10 20:22:19 -07:00
Bharat Mediratta
5a6fc93496 Improve our warning message to also mention that you need to have mod_rewrite installed. 2009-06-10 20:22:10 -07:00