Bharat Mediratta
ff1d8aea2f
We use UTF-8 everywhere. Fixes ticket #1285 .
2010-08-15 01:59:54 -07:00
Bharat Mediratta
a1be33f6ab
Verified.
2010-08-15 00:46:02 -07:00
Bharat Mediratta
2dda8e22a7
Use the gallery helper date/time functions wherever we format date
...
time for the browser. Fixes ticket #1278 .
2010-08-08 16:54:31 -07:00
Bharat Mediratta
8da37d595c
Verified.
2010-08-08 15:25:21 -07:00
Bharat Mediratta
f5b7e207c8
Verified.
2010-08-08 15:02:58 -07:00
Bharat Mediratta
ab2e2d2d77
Add the $max_level param to all calls to _sanitize_for_dump()
2010-08-08 15:00:23 -07:00
Bharat Mediratta
dfb095a262
Add the ability to replace the source data file in Item_Model::save().
...
Refactor the rotate code in Quick_Controller to replace the data file,
and then have gallery_event::item_updated_data_file() pick up after
the change is saved, rebuild the image and handle album covers. This
is much more portable than before and it will allow any mechanism (eg:
REST) to replace the source image.
2010-08-07 22:18:28 -07:00
Bharat Mediratta
bf1e1d3d1f
Verified
2010-07-27 11:19:48 -07:00
Bharat Mediratta
f9137c756e
Updated
2010-07-27 10:53:31 -07:00
Tim Almdal
dbf3199e46
Fix for ticket #1181 . Use $.getJSON to retrieve the json contents of the dialog. Convert all the controllers
...
that create the data to go into a dialog to return the html as part of a json object.
2010-07-06 14:12:01 -07:00
Tim Almdal
9d66783f47
Update the xss golden file
2010-07-06 09:48:37 -07:00
Tim Almdal
eee8c27f26
Correct the controller auth golden file from when the simple_uploader was renamed to flash_uploader
2010-07-06 08:43:02 -07:00
Bharat Mediratta
0d424a635d
When we delete an item, make sure that we scrub it from any other
...
items that may have it in the album_cover_item_id column. Fixes ticket #1172 .
2010-07-03 14:25:33 -07:00
Bharat Mediratta
6ebbb4fbf5
Updated golden files.
2010-06-20 09:51:39 -07:00
Bharat Mediratta
2e01685553
Add "comments" relationship support.
2010-06-20 09:40:35 -07:00
Bharat Mediratta
ec052d7130
Assert how many files we analyze so that we can tell if we're suddenly
...
analzying too many or too few.
2010-06-20 09:36:56 -07:00
Bharat Mediratta
9f9d3866e8
Exclude the .git directory.
2010-06-20 09:28:36 -07:00
Bharat Mediratta
1a210dd270
Add "json" as a valid view suffix.
2010-06-20 09:03:23 -07:00
Bharat Mediratta
d86d1a32e8
Updated for comment REST relationships.
2010-06-19 15:12:58 -07:00
Tim Almdal
e82aa6dcd8
Update the xss gold file with changes to views in the last couple of commits.
2010-06-17 10:22:19 -07:00
Bharat Mediratta
e3535349ab
Revert "Add a "convert_ids" parameter to Item_Model::as_restful_array(), which"
...
This reverts commit 98fce83de5 .
Conflicts:
modules/gallery/tests/Item_Model_Test.php
2010-06-15 20:25:35 -07:00
Tim Almdal
58b21e909d
Change the pattern used to convert the file name to a title. Fixes ticket#1061
2010-06-10 18:49:29 -07:00
Bharat Mediratta
ab93767e4d
Update golden file
2010-06-09 21:26:36 -07:00
Bharat Mediratta
6556ca8833
In GalleryCodeFilterIterator::accept(), ignore . and .., and stop caring about .svn
2010-06-09 21:23:42 -07:00
Bharat Mediratta
aff0f6eca8
Fix get_ancestor_test() since the parameter was renamed to ancestors_for.
2010-06-09 20:55:39 -07:00
Bharat Mediratta
3dacafb718
Revert the "preserve_ids" global query parameter. We decided that it was a
...
bad idea.
This reverts commit 6425d41edd .
2010-06-09 20:49:32 -07:00
Bharat Mediratta
b40057283e
Add a "can_edit" field to the Item_Model's REST output. It's
...
applicable to the current user.
2010-06-08 20:59:24 -07:00
Bharat Mediratta
6425d41edd
Add a "preserve_ids" global query parameter for REST requests that
...
indicates that we shouldn't opportunistically convert ids into REST
urls.
2010-06-07 23:12:52 -07:00
Bharat Mediratta
98fce83de5
Add a "convert_ids" parameter to Item_Model::as_restful_array(), which
...
we can turn on with a query parameter.
2010-06-07 22:23:46 -07:00
Tim Almdal
fd437aec2b
Correct XSS Security Test golden file for recent changes. Update the controller_auth data file for the rename
...
of admin_comments to admin_manage_comments.
2010-06-04 14:05:26 -07:00
Tim Almdal
a600185b60
Allow the use of the type query parameter to filter the results of a rest/gallery/items?urls=... request. This allows the client to pass the entire list of member urls and have the rest server filter the results based on the specified types.
...
(cherry picked from commit 3fe10b15cf )
2010-06-04 14:05:24 -07:00
Tim Almdal
04b90c3bde
Remove the item id from the rest/gallery/items url as that was inconsistent. Add the query parameter ancestors_for=<url> to provide a restful way to retrieve the ancestors of an item.
...
(cherry picked from commit e9c8a8ae53 )
Conflicts:
modules/gallery/helpers/items_rest.php
2010-06-04 14:05:24 -07:00
Bharat Mediratta
9affa8ebbd
Pick a new album cover when the photo that's the current cover is
...
deleted. Fixes ticket #1083 .
2010-05-10 22:11:59 -07:00
Bharat Mediratta
4068e80f06
Update test to reflect slug change in 78db1bb339
2010-04-22 22:24:44 -07:00
Bharat Mediratta
af71df3d0f
Update tests to reflect recent changes to the REST API.
2010-04-17 15:35:09 -07:00
Bharat Mediratta
c9edb943f9
Fix a bug introduced when we patched the "disallowed global data"
...
security check. Not sure why the patch worked for some and not for
others, but this should resolve it either way. Fixes ticket #1123 .
2010-04-10 17:01:48 -07:00
Bharat Mediratta
78db1bb339
Fix a bug where if the file name is composed of entirely illegal
...
characters, we'll get an empty slug. Partial fix for #1086 .
2010-04-04 14:27:39 -07:00
Bharat Mediratta
d78ea4bc0a
Checkpoint
2010-03-30 13:18:03 -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
Andy Staudacher
d9707ae749
Fix for ticket #1036 - Don't echo any sensitive information such as passwords, hashes or personally identifiable information.
2010-02-27 02:37:39 -08:00
Bharat Mediratta
d4423eb349
Reset the active user to admin in all test cases where we change the
...
user to something else.
2010-02-23 13:50:57 -08:00
Bharat Mediratta
de1785d9fa
Merge branch 'master' of github.com:gallery/gallery3
2010-02-23 12:58:30 -08:00
Andy Staudacher
212da35cdc
Fix Cache tests for recent Cache/Database.php driver fix.
...
Cache::delete($arg) allows for scalars and arrays, but Cache drivers' delete($arg) function always expects an array.
2010-02-23 12:48:03 -08:00
Bharat Mediratta
8ab580cec1
Verified
2010-02-23 11:50:39 -08:00
Andy Staudacher
6c89bb8878
Update of reviewed XSS audit data.
2010-02-15 13:51:32 -08:00
Bharat Mediratta
8a8d8b4bc4
Rename item name and slug if necessary to avoid a conflict when we
...
move photos. Fixes ticket #957 .
2010-02-09 15:49:43 -08:00
Bharat Mediratta
e1c0877646
Add unit tests for item::move() in preparation for renaming when there
...
are conflicts (see ticket #957 )
2010-02-09 08:53:27 -08:00
Bharat Mediratta
adac97b537
Add prefix support for the target of RENAME TABLE.
2010-02-07 08:28:32 -08:00
Andy Staudacher
7099fc71f1
Fix for ticket 1004: Replace all uses of split with explode (none actually required regular expressions). Thanks to Brian Hartsock for providing a patch!
2010-02-06 13:05:44 -08:00
Tim Almdal
1c0e5eaa0d
use html::purify to cleans the additional content on the admin maintence page.
2010-02-02 15:00:05 -08:00