Commit graph

370 commits

Author SHA1 Message Date
plegall
fd5a73d676 fixes #2245 upgrade script to version 15 2024-10-17 11:40:15 +02:00
plegall
552499e053 fixes GHSA-hghg-37rg-7r42 increase security on secret_key 2024-10-17 11:11:59 +02:00
Linty
2121386ed0 fixes #2231 merging album search into album manager
- Delete old files (cat_search.php and cat_search.tpl) and his tab un add_core_tabs.inc.php
- Add search field and result in albums.tpl
- Separate js code from template
- Reuse data of albums.tpl for jqtree for the search algorithm
2024-09-20 16:19:07 +02:00
plegall
14678d28a9 fixes #942 IPv6 compatibility, increase length of history.IP 2024-09-05 10:45:34 +02:00
plegall
38951c9876 fixes #2208 reduce sessions.id length below 1000 bytes 2024-09-04 12:14:49 +02:00
Linty
27cd5cde9e related to #2158 update user and guest pop in
- Implementation of a new modal for modifying a user or guest
- Addition of a function to allow plugins to add a tab to the new user modal
- Fix bug: "badger-number" is updated when a user is added or deleted
- Fix bug: When the user who is editing has permissions to delete the user he is modifying, the delete icon is now displayed correctly
- Added a new api method for modifying the main user and generating a link to reset a password
- Passed $conf[‘webmaster_id’] in database configuration
2024-05-31 18:12:52 +02:00
plegall
d7aaf887d4 fixes #2089 hide search in this button, by default 2024-01-18 12:19:42 +01:00
Willy "Linty
c485997162 issue #2086 change of default fontello file name in piwigo
Adapting piwigo's new default fontello file and changing the icon prefix in the code
2024-01-09 16:33:17 +01:00
plegall
078f35e607 fixes #2058 upgrade script to 14 2023-12-08 18:23:36 +01:00
plegall
439f275d4e fixes #860 detect duplicates during upload 2023-10-15 13:11:10 +02:00
plegall
426c20d46b fixes #2016 remove search.last_seen, never really used 2023-10-02 14:55:33 +02:00
plegall
b5c9ca4819 issue #2016 save search in history 2023-10-02 12:31:33 +02:00
plegall
2c3b6ba6ec issue #1955 search in this set (an album or some tags) 2023-08-12 16:49:42 +02:00
plegall
3c5c62869a issue #1953 forgot to update db structure for install 2023-08-09 19:22:40 +02:00
plegall
b787dfd291 issue #1953 improved privacy on searches and associate each search to its creator
* remove temporary functions ws_gallery_getSearch and ws_gallery_updateSearch
* split get_search_array into sub-functions to use them in web API
* use search_uuid as search_id instead of the numeric search.id : better privacy
* only the creator of the search can update it
* if a visitors tries to open the search of another user, it (the search) gets forked into a new search
2023-08-09 19:18:30 +02:00
plegall
4b33001c15 fixes #1902 ability to set a specific group to notify user registrations 2023-04-22 17:21:29 +02:00
plegall
e8b8813e58 issue #1855 + issue #1872 obsolete files planned for removal 2023-02-24 10:27:22 +01:00
plegall
80b64e32fa issue #1836 related: delete any root obsolete.list file on major updates 2022-12-21 17:18:43 +01:00
plegall
240a8e1195 fixes #1744 upgrade script from 12 to 13 2022-10-10 16:01:17 +02:00
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