Commit Graph

216 Commits

Author SHA1 Message Date
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
b24c6c48f1 fixes #1069 config settings to promote mobile app (iOS only for now) 2020-09-29 15:12:19 +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
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
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
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
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
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
mistic100
94e948b2ac feature 3009: "!= NULL" is invalid, use "IS NOT NULL" instead
git-svn-id: http://piwigo.org/svn/trunk@25816 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-07 16:52:04 +00:00
mistic100
02620af958 feature 3009: Don't delete 'lat' and 'lon' fields in case users try to delete an old plugin using them (SQL crash)
git-svn-id: http://piwigo.org/svn/trunk@25802 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-06 20:21:53 +00:00
mistic100
4fca6a259e feature 3009: Add 'latitude' and 'longitude' fields in images table
git-svn-id: http://piwigo.org/svn/trunk@25801 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-06 19:14:44 +00:00
mistic100
29db7f60f7 feature 2995 missing migration task in r25372
git-svn-id: http://piwigo.org/svn/trunk@25373 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 17:54:31 +00:00
mistic100
29e2ed6b91 bug 2931: revert r23675 & r23721, make element_set_ranks.php uses ASC keyword (+ migration task)
git-svn-id: http://piwigo.org/svn/trunk@23813 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-06 18:31:14 +00:00
rvelices
c121640b6d bug 2097: wrong number of sub-albums
bug 2098: make number of direct sub-albums available for each user

git-svn-id: http://piwigo.org/svn/trunk@22879 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-26 19:56:31 +00:00
rvelices
19d831bfe1 db changes for feature 2836 display # of comments/tags in menubar and feature 2557 recent photos should never be empty
git-svn-id: http://piwigo.org/svn/trunk@21801 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-23 10:02:04 +00:00
mistic100
6f04aba061 feature:65 Add support for PHP mysqli extension, activated by default, remove returns of link_identifier
git-svn-id: http://piwigo.org/svn/trunk@20462 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-30 11:12:22 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
rvelices
b6328fcb70 bug 2794: Virtual albums are displayed in physical albums list in synchronization tool
git-svn-id: http://piwigo.org/svn/trunk@19548 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-24 10:16:33 +00:00
plegall
94f17094cb feature 2614: on a upgraded gallery, nb_categories_page is set to 50 instead
of the default value 12 for a new installation.


git-svn-id: http://piwigo.org/svn/trunk@19281 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-04 12:47:45 +00:00
plegall
a73846717f feature 2727: improve password security with the use of PasswordHash class.
This class performs salt and multiple iterations. Already used in Wordpress,
Drupal, phpBB and many other web applications.

$conf['pass_convert'] is replaced by $conf['password_hash'] + $conf['password_verify']


git-svn-id: http://piwigo.org/svn/trunk@18889 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-02 13:59:07 +00:00
mistic100
4e65d9af46 feature 2614: pagination on albums
git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23 11:19:26 +00:00
mistic100
7e33b84e77 feature 2754: Add "Email" field for user comments + mandatory "Author"
git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23 09:34:30 +00:00
mistic100
d7bf41b3ef feature 2380: add URL for user comment
git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-03 17:02:24 +00:00
mistic100
f99f5c1e67 bug 2669: cancel migration task 121
git-svn-id: http://piwigo.org/svn/trunk@16275 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-02 10:53:18 +00:00
mistic100
d39aaff5bc bug 2660: check guest IP on insert_user_comment (same system as rate_picture)
git-svn-id: http://piwigo.org/svn/trunk@15983 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-24 01:24:55 +00:00
plegall
b9ea235bd3 feature 2656: rename language no_NO into nb_NO
git-svn-id: http://piwigo.org/svn/trunk@15841 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-19 20:42:35 +00:00
plegall
cf24bfa32e feature 2650: rename language sl_SL into sl_SI according to ISO 3166-1 codes
git-svn-id: http://piwigo.org/svn/trunk@15609 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-08 22:08:50 +00:00
plegall
32ca509d17 feature 2632: derivatives: search and replace hotlinks inside Piwigo
(page_banner, covers also plugins Additional Pages and PWG Stuffs)


git-svn-id: http://piwigo.org/svn/trunk@15608 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-08 21:42:37 +00:00
plegall
4689cce333 feature 2632: derivatives: clean the database. Remove useless configuration
settings and useless columns in "images" table.


git-svn-id: http://piwigo.org/svn/trunk@15450 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-31 14:09:48 +00:00
plegall
49c61dde90 feature 2632: convert 2.3 thumbnails/websize/hd settings into 2.4 derivatives settings
git-svn-id: http://piwigo.org/svn/trunk@15449 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-31 13:46:22 +00:00
plegall
8088cf1d37 feature 2632: multiple size, upgrade task for new organization of "upload"
and "galleries" directories


git-svn-id: http://piwigo.org/svn/trunk@15288 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-24 11:35:00 +00:00
mistic100
2b5ce2b8d9 multisize hotlinks and upgrade, add <IfModule mod_rewrite.c> to htaccess content
git-svn-id: http://piwigo.org/svn/trunk@15178 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-21 10:33:43 +00:00
mistic100
ee2f6c414d prefix_thumbnail and dir_thumbnail are planned for removal, must redefine a default value for htaccess
git-svn-id: http://piwigo.org/svn/trunk@15128 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-19 13:34:51 +00:00
mistic100
bb408cee7b confusion in previous commit
git-svn-id: http://piwigo.org/svn/trunk@15127 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-19 13:18:27 +00:00