Commit Graph

9923 Commits

Author SHA1 Message Date
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
jeremydurand 1c7b673e4c fixes #496 deactivate rating by default (#500)
* fixes #496 deactivate rating by default

* fixes #496 rate_anonymous true
2016-06-23 17:43:28 +02:00
plegall f9f077bb15 fixes #452, update images.lastmodified when changing tag list 2016-06-23 12:37:43 +02:00
jeremydurand 4d75cf35b5 fixes #450 enlarge size text field for adding a permalink (#501)
fixes #450 enlarge size text field for adding a permalink
2016-06-09 15:57:23 +02:00
jeremydurand e81bb9d273 incorrect translation in french (#497) 2016-06-06 17:13:14 +02:00
jeremydurand 6c342689d9 fixes #429 upgrade message (#495)
fixes #429 link to Take a Tour with core string
2016-06-06 16:39:29 +02:00
jeremydurand 43ecfbf60a fixes #488 make user input watermark filename safe (#492) 2016-06-02 11:17:57 +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
jeremydurand 022bfd2493 fixes #487 replace "Invalid password" by "Invalid username or password" (#489)
* fixes #487 replace "Invalid password" by "Invalid username or password"

* missing space before exclamation mark
2016-05-30 14:35:24 +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
2.8.1
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
Cosmin Stroe 89e0eed10a Dates start from 1970 onward. 2016-05-02 13:09:38 +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
Cosmin Stroe c7bedefa30 Dates start from 1970 onward. 2016-03-21 03:24:24 -05: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
mistic100 a32c643cf2 Merge branch '2.8' 2016-03-10 19:36:29 +01:00
mistic100 eb1fb63128 Fix #436 Call to undefined method Logger::warning in i.php
Change log_lvl for release branch
2016-03-10 19:33:57 +01:00
mistic100 40dd6bc2ff Merge branch '2.8' 2016-03-09 22:08:31 +01:00
mistic100 de99e91b40 Fix #434 Deprecated constructor for LocalSiteReader 2016-03-09 22:07:32 +01:00
modus75 8c1a4a181c issue #378 upgrade datatables to 1.10.11 2016-03-09 22:01:25 +01:00
modus75 7dd5029fc6 Merge branch 'feature/378-upgrade-datatables' 2016-03-09 21:54:47 +01:00
plegall 4f60f4508c next version on master is 2.9.0beta1 2016-03-08 15:41:06 +01:00
plegall f0ac27292e Merge branch '2.8'
"git merge -s ours 2.8" suggested by @moy, with only commits d72e825 + 507c932.
On next merge from 2.8 to master, these 2 commits won't be merged.
2016-03-08 15:34:51 +01:00
plegall 507c932db9 next version is 2.8.0 2.8.0 2016-03-08 15:32:30 +01:00
plegall d72e8256a1 change default configuration settings for a stable branch. Developers who need previous configuration settings can modify them in their local configuration
git cherry-pick 39d3c6883b
2016-03-08 15:31:07 +01:00
plegall 234c132a1f cherry-pick 5 commits from translation
git log --reverse --oneline  translation ^master --pretty=format:"git cherry-pick --no-commit %H" f9fecd0..a452994 | bash
2016-03-08 15:27:52 +01:00
plegall 2e071ba4a1 merge --squash from translation up to f9fecd0be0
git merge --squash is simpler for the first time, then we plan to do cherry-pick
2016-03-08 10:51:10 +01:00
plegall d80d853a23 fixes #431, all themes/languages get version "auto" 2016-03-08 10:13:13 +01:00
plegall 7f672711a0 new release script, which sets versions for extensions 2016-03-07 20:59:19 +01:00
plegall e2bf31e482 bug fixed, escape language string before insert 2016-03-04 15:26:16 +01:00
plegall 91276709b4 bug fixed: wrong version number at the end of upgrade 2016-03-04 14:27:20 +01:00