Commit Graph

78 Commits

Author SHA1 Message Date
plegall
8c4b3fb7db fixes #2198 smarter way to deal with filesize bounds 2024-08-02 17:47:45 +02:00
plegall
e848025f39 fixes #1257 avoid warning on PHP 7.4 2021-01-22 12:23:09 +01:00
plegall
6704632263 fixes #1291 change syntax to keep compatibility with PHP 5.3 (for now) 2021-01-21 11:01:18 +01:00
Louis
0fc87320af fixes #1253 progressbar new style
added the style of progress bar like when you upload a photos, from photos add direct tpl
also fixed a php error when calling count on empty var
2020-11-10 10:19:26 +01:00
plegall
fccb6caa75 fixes #1012 prevent SQL injection with a check on user input 2019-08-12 14:52:56 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
Teatek
b05241f508 Fixes #272 missing md5sum
* dashboard: add warning if missing checksums
* add a "compute all missing md5sum" option in batch manager (inspired by delete orphans)
* progress bar when computing md5sums
2019-01-22 10:26:52 +01:00
plegall
69345c06e2 fixes #847, CVE-2018-5692 protect a few user input variables 2018-07-11 11:22:31 +02:00
plegall
06f4252312 fixes #258, batch manager, check the session category still exists 2018-07-06 11:52:04 +02:00
plegall
686c2f7bdf fix #663, batch manager, avoid SQL error with duplicates
* when searching duplicates on md5sum, only consider md5sum not null
* in case the GROUP_CONCAT returns on truncated string, remove the trailing ","
* add a TODO to find a better algorithm, avoiding the GROUP_CONCAT limit to 1024 chars
2017-05-15 11:25:17 +02:00
plegall
a51fdb3cfd batch manager: ability to filter on a specific duplicates option
example : admin.php?page=batch_manager&filter=prefilter-duplicates-checksum

this is to prepare Tour of 2.9 new features
2017-03-16 15:33:38 +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
9dd92959f6 fixes #572, check $_GET['mode'] against hacking attempt 2016-12-19 11:33:09 +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
6a8e158206 fixes #529, protect delete_orphans against CSRF 2016-09-27 14:25:13 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
92224bcbf4 fix #357 make orphans photos more obvious
... and easy to delete them all in one click. The orpans, if any, is shown as an entry in the "Photos" menu (link on Batch Manager). In the Batch Manager, new action "delete_orphans" next to prefilter.
2015-10-09 20:17:27 +02:00
plegall
6de82cb36f bug 3202 fixed: additional input check for filter_level
git-svn-id: http://piwigo.org/svn/trunk@30952 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-12 14:39:09 +00:00
rvelices
c06d7bc2e5 bug 3148: quick search fix html special chars
git-svn-id: http://piwigo.org/svn/trunk@29852 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-30 21:07:59 +00:00
plegall
9a7c024805 typo fixed
git-svn-id: http://piwigo.org/svn/trunk@29609 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-17 21:28:18 +00:00
plegall
daa71d8c7e indentation with spaces
git-svn-id: http://piwigo.org/svn/trunk@29607 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-17 19:09:48 +00:00
plegall
209dc50461 indentation with spaces
git-svn-id: http://piwigo.org/svn/trunk@29606 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-17 19:09:22 +00:00
rvelices
0719b52874 - active search filter but empty string in batch manager does not change the results
- if the quick search engine drops a searched term, indicate it in the admin batch manager

git-svn-id: http://piwigo.org/svn/trunk@29600 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-17 18:33:52 +00:00
mistic100
0afaeeef55 featur 3130: change batch_manager_register_filters to trigger_change
git-svn-id: http://piwigo.org/svn/trunk@29598 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-17 17:21:26 +00:00
mistic100
f83e780249 add URL filter input for dimension and filesize + batch_manager_url_filter trigger + fixes in doubleSlider.js
git-svn-id: http://piwigo.org/svn/trunk@29505 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-12 11:35:32 +00:00
plegall
831629263c ability to set the filter-search by url (useful for TakeATour)
git-svn-id: http://piwigo.org/svn/trunk@29481 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-11 09:29:05 +00:00
plegall
4931295d78 feature 3130: new triggers batch_manager_register_filters and
batch_manager_perform_filters to simplify adding filters in
Batch Manager with a plugin.


git-svn-id: http://piwigo.org/svn/trunk@29377 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-01 18:45:00 +00:00
mistic100
78d95a8a14 create a mini jquery plugin for sliders on batch manager + async load
git-svn-id: http://piwigo.org/svn/trunk@29249 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-23 10:24:55 +00:00
plegall
9c9f8548fc use filter_var for checking int/float values from user input instead of preg_match (PHP 5.2+)
git-svn-id: http://piwigo.org/svn/trunk@29245 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-22 09:09:17 +00:00
plegall
3d362a235f feature 2810: for duplicates filter, add "date & time" (checked by default) and "width & height" as options.
Change algorithm for a single SQL query with GROUP_CONCAT instead of 2 queries.


git-svn-id: http://piwigo.org/svn/trunk@29244 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-22 08:56:51 +00:00
plegall
83ed6f8009 feature 2791: batch manager, filter by filesize
git-svn-id: http://piwigo.org/svn/trunk@29238 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-21 17:10:15 +00:00
plegall
b1c6c56249 bug 2810: use filename+date_creation to find duplicates and not only filename.
When using several camera, you quickly have the same filenames with totally
different photos.


git-svn-id: http://piwigo.org/svn/trunk@29237 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-21 12:50:50 +00:00
plegall
cacdce6474 feature 2904: add a link "empty caddie" in the Batch Manager.
git-svn-id: http://piwigo.org/svn/trunk@29076 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-25 13:28:16 +00:00
rvelices
ddbe02d7e0 remove tag query from batch manager (not required since selectize uses web service) + query2array
git-svn-id: http://piwigo.org/svn/trunk@29065 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-21 19:15:53 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
f2c42c791e bug 3056: quick search - cache results for 5 minutes + comments + small fix
git-svn-id: http://piwigo.org/svn/trunk@28459 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-13 20:09:04 +00:00
rvelices
5e1cf61f20 batch manager prefilter all does not make a sql query if there is also another filter
git-svn-id: http://piwigo.org/svn/trunk@28318 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-30 18:43:45 +00:00
rvelices
1f3f5ff73f bug 3069: add quick search as filter in batch manager
git-svn-id: http://piwigo.org/svn/trunk@28087 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05 19:24:27 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
plegall
42d65801a8 merge r25223 from branch 2.5 to trunk
bug 2992 fixed: escape all file names before searching them as duplicates in batch manager.



git-svn-id: http://piwigo.org/svn/trunk@25224 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-29 22:38:54 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
mistic100
1824570368 bug 2970: Division by zero on batch manager
git-svn-id: http://piwigo.org/svn/trunk@24835 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 11:09:51 +00:00
mistic100
cfdfeb989d feature 2969: Unified Batch Manager URL
git-svn-id: http://piwigo.org/svn/trunk@24834 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 11:07:45 +00:00
flop25
46040738d8 bug:2808
add "Your Favorites" to the filters of the Batch Manager 

git-svn-id: http://piwigo.org/svn/trunk@23746 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-02 19:59:34 +00:00
mistic100
4813bb8443 feature:2718 errors when no photo on the gallery, use arbitrary values instead
git-svn-id: http://piwigo.org/svn/trunk@19920 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-06 18:09:37 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
ad4c9f96a5 feature:2718 Add batch manager filters for photo dimensions, small cleaning in the code
git-svn-id: http://piwigo.org/svn/trunk@19121 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-21 14:28:55 +00:00
plegall
ae13fca74e feature 2718: Batch Manager filter on dimensions, only display existing values
improved colors on ui-slider


git-svn-id: http://piwigo.org/svn/trunk@19069 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-19 18:26:37 +00:00
mistic100
c81093b0e9 feature:2718 Add batch manager filters for photo dimensions, redesign with sliders
git-svn-id: http://piwigo.org/svn/trunk@18988 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-10 20:10:01 +00:00
mistic100
41c8a69ca2 feature:2718 Add batch manager filters for photo dimensions, redisgn
git-svn-id: http://piwigo.org/svn/trunk@18758 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-27 10:59:31 +00:00