Commit Graph

351 Commits

Author SHA1 Message Date
Matthieu Leproux
3d69c6b093 creating user agent column for activities 2022-06-21 13:56:34 +02:00
plegall
ee10a42a52 issue #1640 forgotten to update database schema during install 2022-05-10 17:02:09 +02:00
plegall
c2f8238e16 issue #1640 user preferences 2022-03-31 18:16:23 +02:00
plegall
7f895d7c4a fixes #1544 upgrade script from 11 to 12 2021-11-02 16:51:20 +01:00
plegall
8e2f12fdf0 fixes #1529 rewrite list of filter users for activities
* migration task to update activity.performed_by (with object_id) for logout action (was always user guest instead of the real user)
* activities: use the actual regrouped lines to list filter users (instead of performing a separate SQL query)
2021-10-19 16:28:52 +02:00
Matthieu Leproux
599c5ec3c3 related to #1432 Add migration task to remove duplicated activities 2021-06-18 11:25:16 +02:00
plegall
ac0d1a5b47 fixes #1419 add photos in a lounge as a temporary space
* at the end of the upload of after a maximum duration, move the photos from the lounge to their actual categories.
* do not invalidate user cache when photos are added in the lounge, thus avoiding to rebuild cache on every photo uploaded
* the lounge system activates itself only beyond 50k (by default) photo
2021-06-11 16:42:48 +02:00
plegall
8ba76fd406 issue #1272 forgot to create index during install 2021-01-18 17:30:43 +01:00
plegall
684347691b fixes #1276 upgrade script from 2.10 to 11 2020-12-22 16:35:54 +01:00
plegall
498fb5e85d fixes #1272 add index on images.path to speed up i.php 2020-12-18 15:35:35 +01:00
plegall
4bb4071a8a fixes #670 change default date to 1970 instead of year 0000
It was already this default value for Piwigo installed on version 2.9+. This upgrade script is for Piwigo installed previously. The 0000 default year might cause issues with MySQL 5.7+
2020-10-30 11:10:40 +01:00
plegall
c2040f6243 issue #1069 forgot to set new settings at install 2020-10-02 10:10:10 +02:00
plegall
b24c6c48f1 fixes #1069 config settings to promote mobile app (iOS only for now) 2020-09-29 15:12:19 +02:00
plegall
01e593fde2 fixes #1063 upgrade script to 2.10 2019-08-14 16:50:19 +02:00
plegall
3999bff326 fixes #1042 set Modus as default theme 2019-06-28 11:21:18 +02:00
plegall
af85a62199 fixes #1038 deactivate user comments by default 2019-06-26 16:05:42 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
c202897a72 issue #552 change activity.occured_on to TIMESTAMP instead of DATETIME to make it work on old MySQL versions 2019-04-10 16:49:03 +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
Teatek
339c54fa23 issue #273 improve labels 2019-02-04 10:46:16 +01:00
Teatek
1907e678b8 Fixes #273 (Add ui option to display or not the date of an album) 2019-02-04 10:46:16 +01:00
flop25
011b12cfaa fixes #751, missing DROP statements at install 2017-09-01 15:29:51 +02:00
plegall
b56832c873 fixes #658, upgrade script to 2.9 2017-04-24 16:03:25 +02:00
plegall
1c5b36f734 fixes #235, show/hide edit/caddie/representative icons on index.php or picture.php 2017-04-07 14:20:19 +02:00
plegall
b0ae23e34d fixes #428, ability to hide "sizes" icon on index.php or picture.php 2017-04-06 15:55:23 +02: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
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
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
Cosmin Stroe
c7bedefa30 Dates start from 1970 onward. 2016-03-21 03:24:24 -05:00
plegall
90be0782ff feature #423, upgrade script to 2.8 2016-02-23 10:44:32 +01:00
plegall
4914643559 bug #404 fixed, database changes for auth keys
... applied during install: table user_auth_keys and column history.auth_key_id
2016-01-18 14:02:40 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
f2f9e5ecb7 feature #392, authentication keys, history log
When a user successfully performs an authentication with an auth_key, Piwigo
registers it in the history table.

For now, it is not shown/searchable in the history screen, but we can add it
in the future and we can provide a plugin with specific details about
authentication keys usage.
2016-01-04 15:04:02 +01:00
plegall
eee57a5d2e feature #392, authentication key, new table 2015-12-31 19:53:38 +01:00
plegall
c3b748ecbf feature #379 multiple format, step 2: download formats
* if formats are available, replace the download link on picture.php by a switchBox with all formats
* register format in the history table for future statistics
2015-12-07 10:54:18 +01:00
plegall
8e098d502a feature #379 multiple format, step 1: add formats
* new table piwigo_image_format (each photo can have 0 to many formats)
* only compatible with synchronization for now. Formats must be in sub-directory pwg_format
* formats are visible on edition page only for now
2015-12-03 16:04:02 +01:00
plegall
b5de5c7658 feature 3225: add elapsed time on each upgrade
git-svn-id: http://piwigo.org/svn/trunk@31183 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-05-28 13:10:31 +00:00
plegall
f98dd75868 bug 3141 fixed: forget to change piwigo_structure-mysql.sql in r29111 for feature 3050
git-svn-id: http://piwigo.org/svn/trunk@29666 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-20 11:52:45 +00:00
plegall
b0cc8f1bc2 * feature 3142: upgrade script to Piwigo 2.7
* link to Tour 2_7_0 at the end of upgrade

* activate plugin Take a Tour by default


git-svn-id: http://piwigo.org/svn/trunk@29665 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-20 11:43:01 +00:00
plegall
87a30ff064 bug 3050: increase security on reset password algorithm.
* reset key has a 1-hour life
* reset key is automatically deleted once used
* reset key is stored as a hash

Thank you effigies for code suggestions


git-svn-id: http://piwigo.org/svn/trunk@29111 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-28 19:27:50 +00:00
plegall
30fa11fb9a feature 3103: enlarge users.id (and foreign keys user_id, added_by or author_id) from smallint (max 30k) to mediumint unsigned (max 16M)
git-svn-id: http://piwigo.org/svn/trunk@29072 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-24 08:34:02 +00:00
mistic100
b4b1797530 feature 3095: add "comments_enable_website" param + GUI
git-svn-id: http://piwigo.org/svn/trunk@28764 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-22 11:41:47 +00:00
mistic100
aa3d38b431 feature 3088: set AdminTools as default plugin, set admin_multi_view as obsolete
git-svn-id: http://piwigo.org/svn/trunk@28695 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-13 19:56:13 +00:00
mistic100
fea2a4efd1 feature 3077 : improve cache invalidation
- add "lastmodified" automatic field for categories, groups, users, tags and images tables
- provide a "server key" to the client cache manager

git-svn-id: http://piwigo.org/svn/trunk@28532 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-24 14:18:04 +00:00
rvelices
2c3eb75ee9 bug 3070 make tag names case insesitive in the db
git-svn-id: http://piwigo.org/svn/trunk@28143 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-09 21:21:43 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
plegall
104b93e80d feature 3016: upgrade script to Piwigo 2.6
git-svn-id: http://piwigo.org/svn/trunk@26401 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-02 15:04:16 +00:00