Tim Almdal
f2ed1eeab2
Merge branch 'master' into talmdal_dev
...
Conflicts:
modules/rest/controllers/rest.php
2010-03-31 07:14:06 -07:00
Bharat Mediratta
ca977dce51
Rename "access_token" to "access_key" in the code for consistency.
2010-03-30 14:01:40 -07:00
Bharat Mediratta
59b6cd30e6
Rename "user_access_tokens" table to "user_access_keys" as step 1 of a
...
multi step process to refer to REST access keys as "access_key"
everywhere. Bump the rest module to version 2.
2010-03-30 13:53:14 -07:00
Bharat Mediratta
7f175ea87e
Move G2_Import_Exception into libraries because it's not a helper class.
2010-03-30 13:18:05 -07:00
Bharat Mediratta
d78ea4bc0a
Checkpoint
2010-03-30 13:18:03 -07:00
Tim Almdal
e56473c5d7
Checkpoint the organize flex source. Not production ready, but worth checkpointing.
2010-03-30 08:08:30 -07:00
Tim Almdal
7c84ee1b33
Organize now has the add album functionality.
2010-03-30 07:55:56 -07:00
Tim Almdal
91f27bf32f
add a controller method to return the translated labels for the add album dialog.
2010-03-30 06:33:42 -07:00
Tim Almdal
f5490ddcb0
Merge branch 'master' into talmdal_dev
2010-03-29 09:03:53 -07:00
Bharat Mediratta
ea43c5f06f
Merge branch 'master' of github.com:gallery/gallery3
2010-03-28 21:04:44 -07:00
Tim Almdal
0c1595d7e8
Clean up the organize_dialog file of some cruft and add the organize.swf file to the organize module.
2010-03-27 15:55:42 -07:00
Tim Almdal
67a8ef4277
Convert the old organize to the new flex based organize
2010-03-27 11:16:41 -07:00
Tim Almdal
7e9eca7f67
Merge branch 'master' into talmdal_dev
2010-03-21 20:45:57 -07:00
Tim Almdal
7b35091b47
If the access token is not set, then look in the post data.
2010-03-21 20:45:22 -07:00
Chad Kieffer
e8eb23db42
Increase specificity for .g-item width to ensure it overrides the wind theme's default width when thumbnails are something other than the default. Fixes ticket #1053 .
2010-03-20 14:55:41 -06:00
Tim Almdal
846a835e13
Merge branch 'master' into talmdal_dev
2010-03-17 14:25:20 -07:00
Chad Kieffer
0e9c626684
Add more padding to the top of the add-photos-canvas to avoid overlap with selected photos.
2010-03-16 23:10:15 -06:00
Tim Almdal
99c1c2a6b1
Changes to the example client to test updating the members of an album.
2010-03-13 23:12:40 -08:00
Tim Almdal
48b8b4f689
Merge branch 'master' into talmdal_dev
2010-03-13 23:11:53 -08:00
Tim Almdal
13f5d3aa33
Whitespace correction
2010-03-13 23:11:33 -08:00
Tim Almdal
582765ca2f
Merge branch 'talmdal_dev' of git@github.com:gallery/gallery3 into talmdal_dev
2010-03-13 08:43:16 -08:00
Tim Almdal
b2bb817214
Merge branch 'master' into talmdal_dev
2010-03-13 08:40:57 -08:00
Tim Almdal
50a3ae7d0c
Synchronize line endings
2010-03-13 08:39:53 -08:00
Tim Almdal
5467e21e8b
Changes to support updating the child elements within an album. In this change the urls of the children are sent up asan array of post fields children[0].... children[n]. If an existing child is not included it is deleted. Including a url to an child in another album will move the child. Changing the order of the children will respect the order of the children, if the sort column is 'weight'
2010-03-13 08:39:06 -08:00
Bharat Mediratta and Tim Almdal
9314533048
Update tests to reflect the fact that you have to be logged in to do anything.
2010-03-13 08:39:05 -08:00
Bharat Mediratta and Tim Almdal
c69f5f4906
Guests don't get access to the REST API.
2010-03-13 08:39:05 -08:00
Florent Paterno and Tim Almdal
08f11ce90e
Fix bug #1015 : repeated ids are prohibited
2010-03-13 08:39:04 -08:00
Tim Almdal
995994b93a
Synchronize the line endings with the vendor branch.
2010-03-13 08:30:08 -08:00
Tim Almdal
b7786fe9a3
Changes to support updating the child elements within an album. In this change the urls of the children are sent up asan array of post fields children[0].... children[n]. If an existing child is not included it is deleted. Including a url to an child in another album will move the child. Changing the order of the children will respect the order of the children, if the sort column is 'weight'
2010-03-13 08:16:37 -08:00
Tim Almdal
8715f602bd
Merge branch 'master' into talmdal_dev
2010-03-08 09:46:13 -08:00
Bharat Mediratta
be580c9554
Update tests to reflect the fact that you have to be logged in to do anything.
2010-03-05 21:42:39 -08:00
Bharat Mediratta
6429110cd0
Merge branch 'master' of git://github.com/fpaterno/gallery3
2010-03-05 21:25:22 -08:00
Tim Almdal
1c022a5c84
Merge branch 'master' into talmdal_dev
2010-03-05 06:54:12 -08:00
Bharat Mediratta
05d345e16d
Guests don't get access to the REST API.
2010-03-03 10:17:48 -08: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
Tim Almdal
fd82bcfc0a
Merge branch 'master' into talmdal_dev
2010-03-03 08:47:54 -08:00
Andy Staudacher
109c390f25
Ignore fetchItemViewCount errors during import and default to 0. The error is still logged to the G3 syslog.
2010-03-02 13:53:09 -08:00
Romain LE DISEZ and Andy Staudacher
06d0ed57a7
Fix a typo.
2010-03-03 02:32:49 +08:00
Tim Almdal
d1b8589ea4
Merge branch 'master' into talmdal_dev
2010-03-02 07:10:22 -08:00
Florent Paterno
e4ed7e983d
Fix bug #1015 : repeated ids are prohibited
2010-03-01 17:23:56 +01:00
Chad Kieffer
aff40d2d78
Merge branch 'master' of github.com:gallery/gallery3
2010-02-28 22:10:30 -07:00
Chad Kieffer
dc00373404
Apply ui-helper-clearfix to the breadcrumb in the upload dialog to ensure it clears the upload canvas in webkit-based browsers.
2010-02-28 22:09:40 -07:00
Andy Staudacher
b0ef46b5fa
Merge commit 'upstream/master'
2010-02-28 19:31:55 -08:00
Andy Staudacher
1077477a90
G2 importer stability improvements:
...
- Log which validation rule was violated if there's an ORM validation error.
- Add more try / catch blocks to avoid abortion where possible.
2010-02-28 19:29:41 -08:00
Chad Kieffer
5f985b3e2a
Updates to upload CSS to make it themeable and RTL compatible. Use absolute positioning to handle upload button positioning. Remove color definitions to allow jQuery UI theme to set button colors. Consolidate upload dialog CSS to modules/css/gallery.css. Closes #885 .
2010-02-28 18:46:43 -07:00
Tim Almdal
835027bdb6
The vendor branch is being updated, so this reverts the revert of
...
commit c91408d4a8 .
2010-02-28 16:06:36 -08:00
Tim Almdal
c91408d4a8
Its not apppropriate to make changes to the Kohana system files. Please find another way.
...
Revert "Fix Kohana's internal cache for Gallery's usage pattern. Instead of deleting the whole find_files cache when ever include_paths (=core.modules) change, keep a separate find_files cache for each set of include_paths."
This reverts commit fd94f4bec2 .
2010-02-28 15:39:39 -08:00
Tim Almdal
e3e72ca4da
Merge branch 'master' into talmdal_dev
2010-02-28 15:38:39 -08:00
Andy Staudacher
fd94f4bec2
Fix Kohana's internal cache for Gallery's usage pattern. Instead of deleting the whole find_files cache when ever include_paths (=core.modules) change, keep a separate find_files cache for each set of include_paths.
...
Benefits for Gallery:
- There are about 3000 is_file() invocations for a photo / album page in a vanilla Gallery installation. These are mostly triggered by Kohana::find_file().
- Enabling internal_cache doesn't help at all (see explanation below). The number of is_file() invocations is about the same with or without this cache.
- With this patch, more than 95% of these invocations are gone. The cache works as intended.
Kohana's internal_cache for find_file wasn't working in Gallery because
the cache would be emptied on each request after reading it from disk and
before most lookups would run.
1. Bootstrap sets initial core.modules (= include path): forge, kohana23_compat, gallery.
2. Kohana::setup() loads find_file cache from disk.
3. Gallery loads list of active modules and themes, and updates the core.modules value (=include path), which forces the internal find_file cache to be empties (which makes sense).
4. Request processing starts, and thus 80+% of all Kohana::find_file() triggered is_file() invocations start off with an empty find_file cache.
The patch doesn't have a significant impact on performance for Kohana applications which don't change their include paths at runtime (after Kohana::setup). And the patch should benefit all Kohana applications which have modules / extensions, i.e. which first need to bootstrap Kohana before they can load a list of all active modules from the database.
2010-02-28 13:51:18 -08:00
Andy Staudacher
a19b97f8d6
First step towards fixing ticket #1038 : Allowing for custom page <title> in admin pages, just like in non-admin pages.
...
TODO: Set $view->page_title in the many admin controllers we have. I just set it for admin_maintenance.php to show how it's intended to be used. I copied the title from views/admin_maintenance.html.php to the controller.
2010-02-28 13:35:58 -08:00