Commit Graph

663 Commits

Author SHA1 Message Date
plegall
8fe4305d35 during upgrade, use the new default Piwigo theme (modus) instead of hardcoded "elegant"
... and make sure the default Piwigo theme is active before that.
2019-10-08 12:23:54 +02:00
plegall
fa8996e10f issue #1073 prevents from making uploaded file executable
* for the name of the file in buffer directory, do not use the name given by the user, but the md5 of the name without extension
* function add_uploaded_file deletes uploaded file if not expected
2019-09-20 16:26:21 +02:00
plegall
fdcb6f50f6 fixes #1055 prevents XSS on original resize fields 2019-08-09 15:52:04 +02:00
plegall
c1eecab364 fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8 2019-06-28 18:07:53 +02:00
plegall
3999bff326 fixes #1042 set Modus as default theme 2019-06-28 11:21:18 +02:00
plegall
5436c48ead fixes #1041 no longer activate TakeATour by default 2019-06-28 10:35:43 +02:00
Sam Wilson
8e9cb6de23 Quote 'rank' field name in SQL
Add backticks to reserved word 'rank' in SQL queries.

Bug: GH #919
2019-06-27 17:50:59 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
b150774bc9 issue #1019 do not display album selection if coming from a "add photos to album" link 2019-05-28 16:08:11 +02:00
Yann Le Boudec
038a42dd46 issue #1019 photo upload redesign
* Hide album selection after creation
* Correctly center the welcome box
* Better alignment for select files info
* Remove summary for select files info, always display details
* Fix dynamic margins in album popin
* Simplify show/hide blocks when no album available
* Make file selection button secondary when files added to queue
2019-05-28 15:00:03 +02:00
Yann Le Boudec
c9715d255d issue #1014 album manager redesign 2019-05-09 14:03:33 +02:00
plegall
940d1d2e8c issue #552
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
27a6504284 issue #552 new table activity and log add/edit/delete on albums 2019-03-25 16:50:45 +01:00
plegall
9f6e3e9080 fixes #979 derivative cache generation works even for file with representative picture
Cache medium size, instead of thumbnail.
2019-03-08 15:16:08 +01:00
Teatek
61b7974a8d ability to set album order with web API
* add method pwg.categories.setRank in Piwigo web API
2019-02-13 15:00:22 +01:00
Teatek
2cf5c63ca1 fixes #854 adding trigger on tag deletion 2019-02-01 14:07:56 +01: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
063711240a Squashed commit of the following:
commit 7190866ccf15033f27095d635546e46dacbb755e
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:33 2018 +0200

    Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin"

    This reverts commit c8b12a2ed0.

commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:24 2018 +0200

    Revert "Update Smarty to 3.1.3"

    This reverts commit db684f6151.

commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383
Merge: d1c2e71 8d58256
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:50:43 2018 +0200

    Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72

commit 8d58256c45
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:40:36 2018 +0100

    new feedcreator version for PHP7

commit bb0fcc3a30
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:26:27 2018 +0100

    php72 fixes, replaces each() function

commit 3db22c0d33
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:02:46 2018 +0100

    More fixes for PHP7.2

commit 50d8aafc77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 23:55:21 2018 +0100

    Some more replacements of create_function

commit 8263335c42
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 22:54:54 2018 +0100

    Fixed indents

commit 8d58b637c6
Merge: c8b12a2 8a57d77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Tue Feb 27 13:51:32 2018 +0100

    Merge remote-tracking branch 'upstream/master' into php72

commit c8b12a2ed0
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:32:46 2018 +0100

    Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin

commit db684f6151
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:23:24 2018 +0100

    Update Smarty to 3.1.3

commit 6a3f8f3e76
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Jan 17 23:40:27 2018 +0100

    Initial work to support PHP 7.2
2018-07-12 10:52:55 +02:00
flop25
08cce48d4b Fixes #755 Never thow '0000-00-00 00:00:00' as value but Null instead
only for exif ; iptc is ok
2017-09-04 18:57:22 +02:00
plegall
f520f82736 fixes #726, add trigger in create_virtual_category 2017-07-03 15:56:21 +02:00
plegall
b5fc14700a give error details on permalink creation 2017-07-03 13:56:10 +02:00
plegall
d542de77c3 fixes #713, use the default language to send email
and not only to build the email body message
2017-06-21 11:44:12 +02:00
plegall
346f5c3849 fixes #707, hide decimal for "158.0 pages seen" 2017-06-14 19:42:21 +02:00
plegall
4581f3e2ba fixes #693, pclzip compatibility with PHP 7.1 2017-06-12 13:50:28 +02:00
plegall
6b88073449 function get_fs is no longer used (since 2.4) 2017-04-07 15:28:17 +02:00
plegall
2ea5a359fe fixes #506, additional checks before deleting files
During upgrade of theme/plugin/language, we add some more test to prevent
transversal path
2017-03-31 14:45:30 +02:00
plegall
d50aa7476c fixes #191, auto reset $_SESSION['need_update'] on new version
To avoid saying the user a new version is available after a manual upgrade
(which didn't reset the $_SESSION['need_update'] variable)
2017-03-30 11:41:01 +02:00
plegall
0a85001ae8 feature #471, bug fixed (wrong variable in condition) 2017-03-29 18:55:14 +02:00
plegall
3371ef1734 only versions x.y.z can be checked against new version, not x.y.zbetaN 2017-03-29 18:54:08 +02:00
plegall
ae34f3859a feature #471, new method notify_piwigo_new_versions
to detect if there are new versions to notify (and if notification should be done at all)
2017-03-29 15:41:42 +02:00
plegall
609a3f1c1a feature #471, move check new versions in updates class 2017-03-27 12:17:50 +02: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
6ec3f2d0fa fixes #600, avoid html in web uploaded filenames 2017-01-27 11:13:00 +01:00
plegall
ce8b99bda0 add icons on Batch Manager 2017-01-25 14:19:00 +01:00
plegall
a93dba2f52 feature #606, make sure we delete oldest images first 2017-01-24 15:12:13 +01:00
plegall
b5c036ebfb fixes #589, hide Guest Settings config page 2016-12-22 15:02:15 +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
42d56b658d fixes #584, better check and error for image_id on edition 2016-12-21 14:01:54 +01:00
modus75
95eb808857 Merge pull request #468 from juillerat/master
fixing #467 and correcting image sharpening on PHP 7.0 with GD
2016-12-11 21:04:38 +01:00
plegall
102e0f0608 Merge branch 'jeremydurand-bug/403-configuration-new-album-position' 2016-12-05 15:36:50 +01:00
Tobias Vollmer
5d4ff90cef fixes #513 include functions to delete theme (#514) 2016-11-29 15:08:43 +01:00
plegall
ef02933d57 feature #554, add tabs on tag manager 2016-11-28 13:35:40 +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
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
5dbc6c85a9 feature #534, modernize admin homepage {wip}
* add tab
* display the pending comments as a "message" (new blue box)
* remove anything related to environment #532
* display stats as big icon + big number + caption
* new stat "storage used"
2016-10-07 14:30:54 +02:00
plegall
f9f077bb15 fixes #452, update images.lastmodified when changing tag list 2016-06-23 12:37:43 +02:00
jeremydurand
ba940dd503 fixes #403 configuration of new album position 2016-06-13 17:37:55 +02:00
jeremydurand
43ecfbf60a fixes #488 make user input watermark filename safe (#492) 2016-06-02 11:17:57 +02:00