Automated update of .build_number to 282 for branch master
Last update: d928064f0b7b4f12ce1371d7e0e61f6832f09a01 (2 commits ago)
Add a "can_add" permission bit similar to the "can_edit" bit to the RESTful array
representation of Item_Model.  Fixes #1903.
Automated update of .build_number to 283 for branch master
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (1 commits ago)
Update golden files after 80d6a895edb1cfc3dd0bcacd0d2c63b40c04670c
Merge branch 'master' of github.com:gallery/gallery3
Automated update of .build_number to 284 for branch master
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (3 commits ago)
Fix comment typo.
After finding a test in Item_Model_Test that didn't end in the string "_test" and
fixing it in 9ba9f3953132c5c5de9efb0a4724c7b9300dc9ea I decided to write a test to make
sure that we don't have any other overlooked tests.  We don't.
Merge branch 'master' of github.com:gallery/gallery3
Automated update of .build_number to 285 for branch master
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (6 commits ago)
Add a cache buster to all data_rest urls, add caching headers to all
data_rest responses, and check cache validity.  Fixes #1909.
Merge branch 'master' of github.com:gallery/gallery3
Automated update of .build_number to 286 for branch master
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (8 commits ago)
Extract reweighting logic out of Organize_Controller into
item::reweight_all_children as an API and write a test for it.  Work
in progress on #1914.
Merge branch 'master' of github.com:gallery/gallery3
Automated update of .build_number to 287 for branch master
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (10 commits ago)
#1960 - Add unit test to look for extra spaces at end of line
- Added no_extra_spaces_at_end_of_line_test to File_Structure_Test.
- Updated Gallery_Filters to exclude testing code that isn't ours.
- Removed existing extra spaces.  New test now passes.
#1955 - Make unit test photos unique.
- Added test::random_unique_photo and test::random_unique_photo_unsaved to uniquify test photos.
- Uniquified the black dot of test.jpg by coloring it with the six-digit hex code already used to name the random photos (e.g. "name_a48801.jpg").
- Modified four tests in Item_Model_Test that check photo file contents to use new functions to guarantee uniqueness.
#1946, 1947 - Make altered names/slugs more user-friendly, make conflict-finding code check filenames with no extensions
- Reduced from four places that alter names/slugs to two (one to populate empty slugs, one to handle conflicting names/slugs).
- For empty slugs, fill with generic human-readable name (e.g. "photo") instead of random value.
- For conflicting names/slugs, add suffix that's sequential (e.g. "-01"), only using random after 99 conflicts.
- Made conflict-finding code check filenames with no extensions.
- Renamed _randomize_name_or_slug_on_conflict to _check_and_fix_conflicts.
- Added unit tests.  Also cleaned up existing unit tests to reflect new logic and removed a redundant test.
- Added installer logic to correct existing items now considered in conflict.
Merge pull request #101 from shadlaws/fix_1960

#1960 - Add unit test to look for extra spaces at end of line