Commit graph

9945 commits

Author SHA1 Message Date
steckbrief
12f8cec2e7 Using explicit flags while creating new directories instead of relying on default flags 2016-09-20 12:00:07 +02:00
steckbrief
be3ad3bd19 MKGETDIR_PROTECT_INDEX now adds an htaccess file blocking the directory index instead of adding an index.htm 2016-09-20 11:59:25 +02:00
steckbrief
2d09635500 Protect new directories via .htaccess instead of index.htm 2016-09-19 13:46:47 +02:00
steckbrief
8bd12356c6 default configuration changed
- 'original_url_protection' changed from '' to 'all'
- 'derivative_url_style' changed from 0 to 2 (auto to script)
2016-09-19 12:51:43 +02:00
steckbrief
9caf7e3c45 add access check to i.php for every file request 2016-09-19 12:48:23 +02:00
steckbrief
55e712bc43 Prevent error message in case of open basedir restrictions and non-existant directory 2016-09-19 12:47:25 +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
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
e580e7d31f Bug/430 placeholder (#494)
fixes #430 placeholder
2016-06-03 14:51:46 +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
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
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