Commit Graph

9978 Commits

Author SHA1 Message Date
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
flop25 5dcd1b276d fixes #546 get_root_url() instead of get_gallery_home_url() 2016-11-17 16:08:38 +01:00
plegall 9ee15b6760 Merge branch '2.8' 2016-11-17 14:28:13 +01:00
Marc Poulhiès e35a560759 fix single_insert when a field is null (#477)
fix #449

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-11-17 14:26:46 +01:00
Marc Poulhiès 9b9ec600ea fix single_insert when a field is null (#477)
fix #449

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-11-17 14:20:50 +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
flop25 a215b0371a fixes #546 get_root_url() instead of get_gallery_home_url() 2016-11-10 16:31:10 +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
plegall 21bb14db42 feature #541, dark colors for menubar on admin clear theme 2016-10-17 10:36:08 +02:00
Matthew Petroff 7fcfc33d04 Fix typos in default config file comments. (#540) 2016-10-15 11:12:08 +02:00
plegall 0320a29dce fixes #536, no longer use resizable 2016-10-14 11:52:20 +02:00
plegall ff476fe7d3 add icons icon-television (for dashboard) and icon-chart-bar 2016-10-14 11:09:28 +02:00
plegall c6b45f1772 feature #535, modernize admin header/footer
* [header] replace the color switcher by a light/dark (sun/moon) action link
* [footer] add icons for piwigo.org doc & forum
* [footer] replace Piwigo logo with a clean SVG version, created by @mistic100
* [header/footer] remove "|" separators
* [header] limit title display to 50% of page width (with ellipsis on overflow)
* [header] media query to hide link labels below 800px
* [header] switch color of home icon on hover
* on clear theme, change header/footer background color to #333 (dark grey) like on current Piwigo.org
2016-10-13 11:53:34 +02:00
plegall 733833ce45 Add a few admin icons in Fontello
* icon-ccw (restore plugin)
* icon-eye-off (hide details)
* replace icon-user
* icon-moon-inv (switch to roma dark admin theme)
* icon-sun-inv (switch to clear admin theme)
* icon-book (piwigo.org doc)
* icon-lifebuoy (piwigo.org forum)
2016-10-13 11:17:27 +02:00
plegall 5d6b4915bd feature #534, modernize admin home
* make stat boxes conditionnal
2016-10-07 19:41:21 +02:00
plegall 2629ea51c8 feature #534, modernize admin home
* move "check upgrade" as action link (but to be removed later)
* move "subscribe to newsletter" as action link (but to be redesigned later)
2016-10-07 17:12:47 +02:00
plegall 56339a0601 feature #534, modernize admin home
* convert the big button "Quick Local Sync" into a simpler action link
* simplify the "quick sync" as a specific action on site_update.php
2016-10-07 16:11:20 +02: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 41fe517590 feature #532, also move Piwigo version to Admin>Tools>Maintenance 2016-10-06 15:56:29 +02:00
plegall c1d2733378 add icons, back-in-time (for first added photo), hdd (storage space used), right (arrow) 2016-10-06 15:56:06 +02:00
plegall 0a753a9162 fixes #532, "environment" infos moved to "maintenance" page 2016-10-06 12:23:19 +02:00
plegall 4e24768989 fixes #533, add a "messages" box (blue colorscheme) 2016-10-06 11:46:42 +02:00
plegall 6a8e158206 fixes #529, protect delete_orphans against CSRF 2016-09-27 14:25:13 +02:00
plegall 18791eb440 bug #529, protect batch manager against CSRF 2016-09-27 14:21:55 +02:00
plegall 83a30a9e23 feature #528, less borders! 2016-09-26 15:18:55 +02:00
plegall 43ab69002e feature #526 : hide the bullet on infos/errors/warnings
... unless we have several items to display in the box
2016-09-26 13:43:04 +02:00
plegall b1f13e3657 fixes #526, cleaner and more modern infos/errors/warnings boxes 2016-09-26 12:46:24 +02:00
plegall af1c0c69d9 feature #526, add icon-attention for warnings 2016-09-26 12:45:16 +02:00
plegall 843ccb89c1 Merge branch '2.8' 2016-08-29 14:15:12 +02:00
plegall a09d6e0623 Merge branch 'bug/376-mysql-5.7-order_by' into 2.8 2016-08-29 14:14:35 +02:00
plegall ba627eeca8 Merge branch 2.8, which is a "fake" merge
git merge -s ours 2.8 : to avoid merging version number change
2016-08-29 13:55:28 +02:00
plegall 10da5801ef next version is 2.8.3 2016-08-29 13:55:03 +02:00
plegall 78bf53f45a typo fixed in comment 2016-07-26 16:02:01 +02:00
plegall b87094ac2f fixes #376, remove option ONLY_FULL_GROUP_BY in sql_mode
based on solution provided by Mercury_LABBS on piwigo.org forums
2016-07-26 15:54:22 +02:00
plegall 80f5523892 fixes #469, add download link on photo edit/admin page 2016-07-18 23:08:31 +02:00
plegall e47568b087 fixes #490, less visible borders on tags by letter 2016-07-13 19:28:15 +02:00
plegall 6932344e72 Merge branch 2.8, which is a "fake" merge
git merge -s ours 2.8 : to avoid merging version number change
2016-07-07 18:29:30 +02:00
plegall 374f341d0b next release is 2.8.2 2.8.2 2016-07-07 18:27:11 +02:00
plegall ee737aeed7 Merge branch '2.8' 2016-07-07 18:22:22 +02:00