Commit Graph

2358 Commits

Author SHA1 Message Date
Linty ae740ba3af fixes #2355 implement API key management system
- Added API key get, creation, editing, and revocation methods.

- Updated the profile template to include API key management features.

- Updated the database schema to support the new API key system, including additional fields for key management.

- Added client-side JavaScript functionality to handle API key operations and display responses.

- Update tools/htm.ws with the new way to authenticate.

- Restriction of certain api methods when used with an api key

- Backward compatibility with older apps
2025-06-09 20:35:57 +02:00
Linty 9bcc2cfa02 fixes #2354 add profile standard page 2025-05-05 21:40:59 +02:00
Linty 7f850c2938 issue #2354 update pwg.users.setInfo
and add pwg.users.setMyInfo method
2025-05-05 20:24:05 +02:00
HWFord f88472fa9c fixes #2345 create piwigo standard pages
create new theme standard pages with tpl, css, js and images
update backend to handle pages
add config use_standard_pages
on update set config to false, on install set config to true
add standard pages to no be ingored in git
2025-03-18 16:46:41 +01:00
plegall d5431e9476 issue #2341 fatal error on first call to send_piwigo_infos() 2025-03-12 09:37:44 +01:00
plegall 43afd60d00 issue #2335 whatever the API method called from admin, do not rebuild user_cache 2025-03-10 16:05:14 +01:00
plegall 4488e9bf6c issue #2341 more logger 2025-03-07 15:04:40 +01:00
plegall c931118561 fixes #2341 force reload conf.send_piwigo_infos_last_notice to avoid double exec 2025-03-06 11:59:18 +01:00
plegall 789c062837 fixes #2336 more details in Logger (execution_uuid) 2025-03-01 14:20:11 +01:00
plegall daef1ed375 fixes #2335 do not rebuild user_cache for Batch Manager Unit Mode 2025-03-01 14:16:51 +01:00
plegall 33b57be509 fixes #2334 wait user_cache rebuild for 20 seconds instead of 10 2025-03-01 12:24:13 +01:00
plegall 5eacda0d76 fixes #2333 avoid deadlock while waiting for user_cache rebuild 2025-03-01 12:04:41 +01:00
Linty cc675b712b fixes #2327 standardize password masking length in emails 2025-02-24 13:48:38 +01:00
HWFord 7f24787b42 fixes #2322 set to 0 if null
some values being used in $result are null
2025-02-18 10:24:33 +01:00
Linty a0ea91695b fixes #2323 switch language before generating the link 2025-02-14 12:07:11 +01:00
plegall 28a676b2d9 fixes #2311 single instance of user_cache generation 2025-01-10 10:59:56 +01:00
HWFord 5b7fffe786 fixes #2308 remove html and use previous redirect
The previous way worked fine with the redirect, adding a html added an extra step for users. The access denied page was only supposed to be used for pages that we don't have access to once connected
2025-01-08 11:33:27 +01:00
Linty 8f721fcb8b fixes #2303 replace the password in clear text with asterisks 2025-01-06 16:21:41 +01:00
plegall a3833eab9b fixes #2300 search engine robots should not index/follow combined categories 2024-12-31 16:14:15 +01:00
plegall 547c8a9b94 issue #2296 for install.php, we always need class PwgSession defined 2024-12-20 11:05:46 +01:00
Linty 627aa045ed fixes #2296 include the correct class file depending on the version of php 2024-12-20 10:45:36 +01:00
Linty 0645372570 fixes #2287 add a new language key 2024-12-19 16:40:38 +01:00
plegall fc5bc47bc3 fixes #1960 custom pwg_nl2br to avoid warning on PHP 8.1+ 2024-12-18 12:29:31 +01:00
Linty 047a447585 issue #2294 compatibility with PHP 8.4+ for session handling
PHP7+ to PHP 9 compatibility
2024-12-17 12:16:11 +01:00
plegall 5081acda91 fixes #2295 send_piwigo_infos, add core updates 2024-12-16 16:47:09 +01:00
plegall ff5e8e6168 fixes #2292 distinguish auth methods 2024-12-06 16:18:04 +01:00
Linty bb8f3d5715 fixes #2287 switch language before sending the email 2024-12-04 15:07:06 +01:00
Linty 465e6eced4 fixes #2281 rewording set and reset mail content 2024-11-25 11:06:43 +01:00
Linty 6e45a8f426 fixes #2281 use template for reset/activation mail
and change is_first_connection to has_already_logged_in for better naming
2024-11-20 21:06:02 +01:00
Linty f6a3d0749f fixes #2281 rename function for better clarity
first_connexion to is_first_connection
2024-11-20 18:09:02 +01:00
Linty 34296598d4 fixes #2281 add two default conf for reset and activation link
When a password activation or reset link is generated, the link expiry time is now defined in two conf: $conf[’password_reset_duration‘] with a default time of one hour and $conf[’password_activation_duration‘] with a default time of 72 hours.
2024-11-20 17:09:26 +01:00
Linty 431cb4b7b4 fixes #1152 unset last_visit columns from default_user 2024-11-19 17:17:01 +01:00
HWFord 4124a858f6 fixes #2279 sort list of dates by array key
for creation and posted date
2024-11-15 15:26:55 +01:00
plegall 7bb3994fc6 issue #2237 clean user input on custom tag_list 2024-11-11 12:37:24 +01:00
HWFord bf3beb9bdd fixes #2268 add whats new popin
set popin display in user pref, if user closes don't display again
keep bell notification displayed for 30 days so user can reopen modal
for next version add user pref to install
Add css for template
when close popin call api method to update user pref to hide popin
2024-11-08 16:35:27 +01:00
plegall 3fd287ac22 fixes #2270 compatibility PHP 7.2 2024-11-07 17:45:39 +01:00
Linty bc0a4bb107 fixes #2237 added a temporary parameter to pwg.images.setInfo
it's also adapted in the batch manager unit js file
2024-11-05 18:20:42 +01:00
plegall a6446be4be fixes #2265 no longer truncate IP at 15 chars 2024-11-04 20:03:23 +01:00
Linty 99a3592eae fixes #2258 add invalidate_user_cache in ws_images_deleteOrphans method 2024-10-30 10:27:11 +01:00
plegall 05f70930eb fixes #2256 make search on deleted albums more robust
* old links search.php?cat_id=123 will now check the album id
* existing search including a filter on an album will check the album is still available
2024-10-28 19:41:11 +01:00
plegall 724a40f316 fixes #2197 pwg.users.getList check user input min_register/max_register 2024-10-28 18:45:04 +01:00
plegall c2ebea027c next release is 16.0.0beta1 2024-10-21 15:31:53 +02:00
Linty 480522cca1 fixes #2244 add ignore to prevent errors from duplicate 2024-10-15 11:26:18 +02:00
plegall b0a5c404e7 default configuration: specific instructions for SVG support 2024-09-27 17:21:58 +02:00
Linty 7424adbe07 fixes #2213 compatibility PHP 8
adding missing class properties
2024-09-23 15:05:39 +02:00
plegall 46dba55d60 next release will be 15.0.0RC1 2024-09-23 14:37:08 +02:00
plegall a3e9ed23ce issue #2227 like for date_posted, display all presets for date_created 2024-09-20 14:21:28 +02:00
plegall 40947217ac fixes #2230 search filters, always display all date_posted presets 2024-09-19 18:21:53 +02:00
HWFord 2d2baa7052 fixes #2227 add creation date filter
Same logic as date posted
2024-09-17 16:50:38 +02:00
HWFord 921f679bca fixes ##2195 if conf['rate'] show rating filter
only allow rating filter if gallery uses rating
update api, mcs.js and tpl to check if rating
search_filters.inc.php update indentation due to extra if
2024-09-16 10:21:49 +02:00