Commit Graph
100 Commits
Author SHA1 Message Date
plegall 4d800292c2 fixes #178, hide menu identification on identification page
+ redirect to gallery root when opening idenfication page while identified
2017-03-02 14:25:01 +01:00
plegall ea7e6d76e6 fixes #291, add function categories_integrity
to check and repair integrity on categories. For example,
image_category.category_id should always be linked to a categorie.id,
if not we delete the orphan line.
2017-03-02 12:27:31 +01:00
plegall c594112746 fixes #424, update mdetect.php to version 2015.05.13 2017-03-02 11:15:52 +01:00
plegall 58ccafd443 fixes a few issues on alignement/color with dataTables 1.10 2017-02-10 19:59:59 +01:00
plegall 370bc6e8f4 bug fixed: no blank space under admin menu separator for plugins 2017-02-10 15:39:42 +01:00
plegall 812892e6be next version is 2.9.0beta2 2017-01-28 19:52:47 +01:00
plegall 4c475174d3 fixes #591, add links on dashboard items 2017-01-27 17:11:40 +01:00
plegall 32ca0a088d fixes #590, "history" menu goes to current month 2017-01-27 16:49:40 +01:00
plegall 6ec3f2d0fa fixes #600, avoid html in web uploaded filenames 2017-01-27 11:13:00 +01:00
plegall 746c796d9d add language strings for new dashboard 2017-01-25 14:20:47 +01:00
plegall ce8b99bda0 add icons on Batch Manager 2017-01-25 14:19:00 +01:00
plegall a793a35f09 add 2 icons for Batch Manager tabs (global/unit) 2017-01-25 14:16:06 +01:00
plegall 309b2f4476 feature #606, check pwg_token and display error (if any) 2017-01-24 17:29:28 +01:00
plegall 446b616eea Merge branch 'feature/606-delete-orphans-by-block' 2017-01-24 15:18:48 +01:00
plegall c43a73c3a0 feature #606, add new language string 2017-01-24 15:17:36 +01:00
plegall 53ebd7a663 feature #606, deletion of orphans managed on frontend
recursive loop on pwg.images.deleteOrphans as long as there are orphans
remaining.
2017-01-24 15:13:10 +01:00
plegall a93dba2f52 feature #606, make sure we delete oldest images first 2017-01-24 15:12:13 +01:00
plegall 3466c432e1 feature #606, backend API method pwg.images.deleteOrphans
This method will delete a block of orphans and return the number of remaining orphans.
2017-01-24 15:09:52 +01:00
plegall a5afce8af0 replace tabs by space for indentation 2017-01-12 14:35:13 +01:00
plegall 50860ffdb6 feature #593, send image_ids as a coma separated string
... as in 3fb5651143
2017-01-12 14:33:56 +01:00
plegall bf5b50c979 Merge branch 'feature/593-delete-by-blocks' 2017-01-10 16:15:11 +01:00
plegall 743bbb61f4 feature #593, simplify detailed output for pwg.images.delete 2017-01-09 14:33:26 +01:00
plegall edff7540eb feature #593, dynamic bloc size instead of fixed at 100.
1000 by default or half of the element list. The action should alway require at
least 2 ajax calls, even for 2 photos to delete (exception for 1 photo, of
course)
2017-01-09 14:10:39 +01:00
plegall 3fb5651143 feature #593, send image_ids as a coma separated string
... instead of a list, because default behavior of web servers is to limit
the number of input fields and we don't want such a limit.
2017-01-09 14:07:47 +01:00
plegall ba3ddf01ff feature #593, use the standard pwg_token available in the form 2017-01-09 14:07:03 +01:00
plegall f93a312e08 bug #602, less strict check on section url parameter 2017-01-04 14:12:36 +01:00
plegall 9004fdfc0b fixes #574, new checks on plugin section in URL 2017-01-01 19:40:53 +01:00
plegall e6e7465b9d fixes #593, delete by blocks of 100 photos, with a progress bar 2016-12-26 23:24:29 +01:00
plegall 3a8b26726f fixes #592, typo on new button id prevent ajax action from working 2016-12-26 17:11:53 +01:00
plegall 7df3830c81 fixes #575, sanitize user input before display on die() 2016-12-24 19:53:49 +01:00
plegall b5c036ebfb fixes #589, hide Guest Settings config page 2016-12-22 15:02:15 +01:00
plegall 497e6ec54f fixes #588, add JS to handle show/hide parameters 2016-12-22 14:38:13 +01:00
plegall 222cd8c5b6 fixes #587 modernize menubar manager
- #567 add icon on button
- font-icon checkboxes
- #554 add tab
- #528 remove borders
- remove action "reset" which was actually "restore default settings" and was not really useful, so let's simplify
2016-12-22 11:10:40 +01:00
plegall 8212257dc0 darker border on watermark image for dark admin theme 2016-12-21 14:27:06 +01:00
plegall 812c2350cb fixes #585, darker grey for watermark positions box 2016-12-21 14:25:42 +01:00
plegall 42d56b658d fixes #584, better check and error for image_id on edition 2016-12-21 14:01:54 +01:00
plegall 4b33a0fd19 fixes #573, check $_GET['tab'] against hacking attempt 2016-12-19 11:52:28 +01:00
plegall 9dd92959f6 fixes #572, check $_GET['mode'] against hacking attempt 2016-12-19 11:33:09 +01:00
plegall 5473f057b0 on album list, replace "|" by · to separate actions 2016-12-15 19:07:20 +01:00
plegall b8cd5912c9 feature #561, use font icons for checkbox 2016-12-15 19:05:46 +01:00
plegall c2da5ccc67 feature #561, use font icons for radio 2016-12-15 19:03:25 +01:00
plegall d6f7f9f295 feature #567, add icons on buttons 2016-12-15 19:02:05 +01:00
plegall e9c3534f7c add icon-sort-number-up (for sorting actions) 2016-12-15 18:20:21 +01:00
plegall 1781477f95 feature #561, font-checkbox (radio/checkbox) on photos sort order 2016-12-15 15:10:01 +01:00
plegall 417a5cacce remove useless specific CSS rule (no common to all pages) 2016-12-15 15:09:05 +01:00
plegall cb964ad340 feature #561, font-checkbox (radio/checkbox) on album permission 2016-12-15 14:21:15 +01:00
plegall 9063ebc57d feature #561, font-icons radio for album notification 2016-12-15 14:02:36 +01:00
plegall 2039904345 feature #569, modernize text fields on admin clear theme
* white background
* more padding
* thicker borders, but clearer

In beta test only on album edition page for now.
2016-12-15 12:34:51 +01:00
plegall 357ab963e3 fixes #568, modernize Batch Manager
Fieldset legend now have a grey background.

Beta test for now. We will see what users think before applying on every page.
2016-12-15 12:30:56 +01:00
plegall 5f5aff1a04 feature #567, icons on batch manager buttons 2016-12-15 12:12:29 +01:00
plegall c9058956c7 feature #567, admin theme clear, square buttons
... with more padding + prepare for clean icons
2016-12-15 12:07:49 +01:00
plegall c65e8e279c fixes #566, modernize submit buttons on roma
* white on pink when mouse is over the button
* padding 5px instead of 1px 15px
2016-12-12 16:25:11 +01:00
plegall 4df36903b9 feature #565, check the checkbox state
...before we apply the appropriate checked/unchecked icon. This problem was
obvious when using the shoft-click selection feature on Batch Manager.
2016-12-12 15:53:17 +01:00
plegall 31bc360f7c feature #656, make shift-click compliant
... with font-icon checkboxes on Batch Manager
2016-12-12 15:53:17 +01:00
plegall ed0d053699 feature #565, Batch Manager, font-icons checkboxes
For each photo.

And we use full colors for "hover" thumbnails, ie orange on "clear" theme and pink on "dark" theme.
2016-12-12 15:53:17 +01:00
plegall b6442677eb fixes #210, filter duplicates on checksum
But it only works for images having their md5sum filled in database. Which is
never the case for photos added by synchronization.
2016-12-11 19:51:20 +01:00
plegall 16e41e6434 use font-icons for duplicate options on batch manager 2016-12-11 19:07:45 +01:00
plegall 11bf464e77 feature #561, use font icon radio on config pages 2016-12-11 18:17:50 +01:00
plegall e64f282a58 feature #561, make font icon radio work with any name
Like input name like "w[position]"
2016-12-10 20:05:12 +01:00
plegall 806a3b7ae7 feature #378, bug fixed on draw() call
The oTable javascript variable is built with jQuery('#userList').dataTable(),
which returns a jQuery object, while jQuery(...).Datatable() would directly
return a DataTables API object. So now, to access the draw() function, we need
to get the api() first from the jQuery object.

https://datatables.net/manual/api#Accessing-the-API
2016-12-09 15:04:48 +01:00
plegall a4bb90c2e4 feature #416, return a structured list
... instead of string with comma separated values
2016-12-09 09:49:26 +01:00
plegall 88c0ff76c5 fixes #507, avoid error when guest_access is false
On identification.php, do not show the "... not authorized..." error message
on redirection to when guest_access is false. This is "on purpose" and users
don't need to get this message.
2016-12-08 19:15:20 +01:00
plegall 5c8528afec fixes #416, returns available_sizes in pwg.session.getStatus 2016-12-06 19:28:22 +01:00
plegall 102e0f0608 Merge branch 'jeremydurand-bug/403-configuration-new-album-position' 2016-12-05 15:36:50 +01:00
plegall 89fb9b1d64 fixes #231, add link to album edit page after create 2016-12-04 22:35:30 +01:00
plegall 90a0e8c26c fixes #512, set session garbage collector probability 2016-12-03 20:07:14 +01:00
plegall 3959df9d45 modernize admin design, save icon on button 2016-12-02 15:10:47 +01:00
plegall b2fba913e6 #561 font icon radio/checkbox everywhere on cat_modify 2016-12-02 15:10:25 +01:00
plegall cda81bbad2 feature #561, use radio font icons on album edition page 2016-12-02 14:46:13 +01:00
plegall 9113490ad7 fixes #561, font icons for radio buttons
Use the following syntax in HTML:

<label class="font-checkbox">
  <span class="icon-dot-circled"></span>
  <input type="radio" name="radio-name" value="my-value"{if template condition} checked="checked"{/if}>
  A nice label
</label>
2016-12-02 14:40:25 +01:00
plegall e07b4688cc add icons {floppy, circle-empty, dot-circled} 2016-12-02 14:37:16 +01:00
plegall 7a369b2299 feature #153, l10n 2016-12-01 18:30:44 +01:00
plegall 7620b47309 feature #153, photo deletion mode when deleting album
Administrator can decide to delete all photos (even those associated to another
albums) or delete orphan photos or delete no photo at all.
2016-12-01 18:13:24 +01:00
plegall 7b2315a88b fixes #559, escape quick search chars before display 2016-11-29 14:39:42 +01:00
plegall 309a079e39 tag manager, no top links if sub-form active on page edit/merge/duplicate 2016-11-29 14:03:11 +01:00
plegall 7fb3010262 Merge branch 'feature/redesign-tag-manager' 2016-11-29 13:38:01 +01:00
plegall 6b919f06ab feature #556, add new language strings 2016-11-29 13:33:35 +01:00
plegall 7c3c6701d8 fixes #558, tag manager selection mode
By default, we're in "view mode", with the showInfo icon on each tag. We can
switch to the "selection mode" and the showInfo icon is replaced by a
font-checkbox.
2016-11-29 13:26:17 +01:00
plegall 8670a83031 remove debug code in javascript 2016-11-29 11:27:32 +01:00
plegall 7dcbe20a8e feature #556, adapt checks to new design 2016-11-29 11:26:04 +01:00
plegall 6d2812cf24 fixes #557, on-demand tag creation form 2016-11-29 11:17:18 +01:00
plegall c5725f3108 fixes #556, tag manager actions in a list, not buttons
The actions are no longer displayed a individual submit buttons, but as a
select, like on other managers (users, photos, groups).

The edit/duplicate/merge forms are still displayed only after a first submit.
To be improved to be available right after the action selection.

When we display an action form edit/duplicate/merge, we don't show other
fieldsets on the page to focus on the important action.
2016-11-29 10:51:11 +01:00
plegall ef02933d57 feature #554, add tabs on tag manager 2016-11-28 13:35:40 +01:00
plegall 9d913e3c3d fixes #555, add icon on delete orphan tags link 2016-11-28 13:25:49 +01:00
plegall c6ec8b87ab fixes #206, password generator on user creation form 2016-11-28 12:00:54 +01:00
plegall a2e6a2670a Merge branch 'feature/optimize-history' 2016-11-25 18:38:56 +01:00
plegall 8564f1e773 fixes #537, do not consider new tags as orphan
Wait a least 1 day before!
2016-11-25 18:31:58 +01:00
plegall e43d48f296 Merge branch '2.8' 2016-11-21 15:22:27 +01:00
plegall 906f8d57b8 fixes #306, operator precedence issue in load_language 2016-11-21 15:20:36 +01:00
plegall 419bb72802 feature #370, details on config setting 2016-11-21 15:01:43 +01:00
plegall eef8a27f5e feature #370, automatic purge on history 2016-11-21 12:13:21 +01:00
plegall 5fb18eda36 feature #509 summarize history more often
Every 1000 log entry inserted, Piwigo performs an history summarize.

The summarize process has also been optimized: no longer used column
history.summarized (no longer need to update it, which took a lot in time),
we now save the history_id_from and history_id_to in history_summary table.
This way we know from where to start on next summarize.

For now, for a simple performance reason, we keep column history.summarized,
because removing it may take a long time on huge tables. Once we will have
automatic purge on history, it will be safer to drop this column.
2016-11-18 15:08:03 +01:00
plegall 9ee15b6760 Merge branch '2.8' 2016-11-17 14:28:13 +01:00
plegall dde2426bbf Merge branch '2.8' 2016-11-17 14:14:16 +01:00
plegall 9a93d1f44b fixes #548, escape HTML chars from search expression
before sending them to HTML comment on frontend
2016-11-17 14:10:27 +01:00
plegall b3157cbfd8 fixes #547, strong checks on url format 2016-11-17 13:43:40 +01:00
plegall 419538a149 fixes #545, add dimensions/filesize on batch manager thumbnail tooltips 2016-11-10 11:51:07 +01:00
plegall ef25e72486 fixes #515 adds check on mysql extension loaded
Especially on PHP 7 where only mysqli can be available.
2016-11-07 14:43:37 +01:00
plegall a9fa61adfe Merge branch '2.8' 2016-10-20 10:43:41 +02:00
plegall 25d2305839 fixes #542, do not always use browser language on register 2016-10-20 10:14:28 +02:00