Commit Graph
100 Commits
Author SHA1 Message Date
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
plegall 21bb14db42 feature #541, dark colors for menubar on admin clear theme 2016-10-17 10:36: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 2016-07-07 18:27:11 +02:00
plegall ee737aeed7 Merge branch '2.8' 2016-07-07 18:22:22 +02:00
plegall c72a414a48 cheery-pick 8 commits from translation
git log --reverse --oneline  translation ^master --pretty=format:"git cherry-pick --no-commit %H" c7465d6..39ad66c | bash
2016-07-05 14:02:01 +02:00
plegall cfb62ec79b fixes #270 add password reset form to smartpocket 2016-07-05 13:37:51 +02:00
plegall 1f0e95c22c bug #476, set http code to 401 only when not redirecting 2016-07-05 12:17:28 +02:00
plegall 724befb35d feature #478, improve performances
By reducing frequency of update on user_infos.last_visit. Instead of updating
on each page visit, we wait at least a session length, which is 30 minutes by
default.

@modus75 suggested to use function log_user instead, which is a better design.
Unfortunately it would lead to much less accuracy, because on many systems PHP
sessions are never purged (Debian with default settings). It would be possible
to come back everyday and never update the last_visit, as long as the web
browser is not closed.
2016-07-04 15:47:02 +02:00
plegall 27c2871ca2 Merge branch 'bug/452-image-tags-lastmodified' 2016-06-23 18:04:23 +02:00
plegall ba2b2ab574 Merge branch 'feature/478-last-visit' 2016-06-23 17:57:54 +02:00
plegall f9f077bb15 fixes #452, update images.lastmodified when changing tag list 2016-06-23 12:37:43 +02:00
plegall 3f1dbf19c5 typo fixed, missing comma 2016-05-31 16:11:19 +02:00
plegall 4560e2d824 fixes #478, add new column user_infos.last_visit
This will speed up user edit popin opening, by avoiding to search in history for the last user visit.

The column user_infos.last_visit_from_history true/false says if the last_visit has already been search in history (to avoid making it twice). I could have implemented the search of last_visit for all users in the migration task 149 but in case of many users and long history, it would have taken years to execute...
2016-05-31 16:00:03 +02:00
plegall db0e02b5d4 fixes #476, in case of guest_access=false, redirect_http instead of redirect_html 2016-05-30 10:53:29 +02:00
plegall bd0d2ae645 Merge branch '2.8' 2016-05-13 11:05:15 +02:00
plegall bf81ba0315 fixes #479, fallback on srand.php to generate random bytes
when random_compat does not find a suitable random generator.

srand.php comes from https://github.com/GeorgeArgyros/Secure-random-bytes-in-PHP
2016-05-13 10:25:03 +02:00
plegall a684afbdc3 fixes #415, even if non-picture file, force download with action.php 2016-05-10 11:37:35 +02:00
plegall 2543002c8b Merge branch '2.8' 2016-05-03 16:12:56 +02:00
plegall f0d29d9134 cherry-pick 50 commits from translation
git log --reverse --oneline  translation ^master --pretty=format:"git cherry-pick --no-commit %H" a452994..c7465d6 | bash
2016-05-03 15:55:16 +02:00
plegall 105ccb8d0f Merge branch '2.8' 2016-05-03 15:16:34 +02:00
plegall c5af8c4922 Merge branch 'bug/466-move-photos-on-new-album' into 2.8 2016-05-03 15:14:18 +02:00
plegall 3f96dc19f0 Merge branch '2.8' 2016-05-03 15:07:08 +02:00
plegall e4a3b92fa4 fixes #440, update search page on SmartPocket theme
... to include new features of Piwigo 2.7 and 2.8
2016-05-03 15:04:42 +02:00
plegall b544ee3948 fixes #440, update search page on SmartPocket theme
... to include new features of Piwigo 2.7 and 2.8
2016-05-03 15:02:29 +02:00
plegall d1cb1f86a8 bug #466 fixed, new album listed when moving photos
In the batch manager, merge action blocks "associate" and "move" because they
follow the same pattern (list of albums + create new).
2016-05-02 16:09:50 +02:00
plegall 7ea9cf9075 Merge branch '2.8' 2016-05-02 13:09:12 +02:00
Pierrick Le Gall cfa7bf2228 Merge pull request #444 from cstroe/fix_date_defaults
Fixes #443: Failure to create tables on fresh install with MySQL 5.7
2016-05-02 12:57:37 +02:00
plegall f51ee90c66 bug #470, use a dedicated lib to generate random bytes 2016-04-26 11:07:44 +02:00
plegall bffd582bf7 Merge branch '2.8' 2016-03-25 15:37:39 +01:00
plegall a3c46de751 fixes #439, describe multiple format in embedded doc 2016-03-25 15:32:10 +01:00
plegall 97f5d13ff3 Merge branch '2.8' 2016-03-24 09:54:45 +01:00
plegall c9c10bd524 fixes #442, forgot to include admin functions 2016-03-24 09:52:40 +01:00
plegall 8cfee1dbc5 Merge branch '2.8'
"git merge -s ours 2.8" won't really apply change on version number introduced in 9f15161b62
2016-03-10 20:42:18 +01:00
plegall 9f15161b62 next version is 2.8.1 2016-03-10 20:41:30 +01:00
plegall 4f60f4508c next version on master is 2.9.0beta1 2016-03-08 15:41:06 +01:00