Commit graph

237 commits

Author SHA1 Message Date
Linty
a0ea91695b fixes #2323 switch language before generating the link 2025-02-14 12:07:11 +01:00
Linty
bb8f3d5715 fixes #2287 switch language before sending the email 2024-12-04 15:07:06 +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
plegall
7bb3994fc6 issue #2237 clean user input on custom tag_list 2024-11-11 12:37:24 +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
Linty
99a3592eae fixes #2258 add invalidate_user_cache in ws_images_deleteOrphans method 2024-10-30 10:27: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
Linty
480522cca1 fixes #2244 add ignore to prevent errors from duplicate 2024-10-15 11:26:18 +02:00
plegall
a3e9ed23ce issue #2227 like for date_posted, display all presets for date_created 2024-09-20 14:21:28 +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
Linty
2905623027 fixes #2214 initialize total_count before using it 2024-09-10 14:55:28 +02:00
HWFord
b3151e0129
fixes #2211 integrate new redesign for date posted filter
filter on date_posted custom values (specific years, months or days) along side last 7, 30 days, 3 and 6 months
following redesign by alice
2024-09-04 11:30:44 +02:00
Linty
40ca83d382 fixes #2221 use backticks instead of quotes
...because that's what backticks are for.
2024-09-03 16:19:06 +02:00
Linty
1de27871b3 fixes #2221 encase rank in quotes 2024-09-03 16:02:16 +02:00
mistic100
ce3214df1d Fix check "activate_comments" config in WS 2024-08-30 21:55:46 +02:00
mistic100
3f07808d7f Fix "total_count" type on some WS methods 2024-08-30 20:24:42 +02:00
plegall
8fc3c9cd0e issue #2114 calculate missing md5sum only once 2024-08-29 10:44:41 +02:00
marsooooo
12ca607727 issue #2164 updated & fixed bugs on batch manager
Added dark mode for unit mode
Templatized filter block for both unit and global mode
Optimized JS functions and added extensibility for unit mode
Modified images.setInfo method so unit mode could save orphan images
Fixed a bug where php would break if filter selection was empty in unit mode
2024-08-26 14:14:57 +02:00
plegall
08ae0304bb (cp 545e81e) Fix for #2114: Check for photos missing md5sum before trying to update md5sums 2024-08-21 15:20:05 +02:00
Linty
3826f355ae issue #2132 update ws_categories_getAdminList
add new params: cat_id and recursive
2024-07-31 11:36:43 +02:00
HWFord
6fe1d7db65 fixes #2193 [search] add 5 new widgets
add ratings, ratios, filesize, width and height widgets
- in functions_search add clauses according to each new filter
- in ws_functions add new api parameters
- in index.php add queries to get data for filters
- in admin.lang add missing translations for filters
- in css add basic style to work for modus newspaper
- in js add script for new filters
- in tpl combine script + CSS for double slider & jquery Ui. Add slider conf, template for new widgets

TODO
- adapt css to different themes and skins
2024-07-25 16:11:07 +02:00
plegall
6e6a74c348 fixes #2173 allow comma separated list for image_id in pwg.images.syncMetadata 2024-07-09 15:42:31 +02:00
Linty
c8d7503d4e related to #2165 new add user popin
- add field for add user
- in the `pwg.users.add` method, the params `send_password_by_mail` does nothing anymore. Because we no longer want to send passwords in clear text.
- in the `pwg.users.add` add a new `auto_password` parameter to generate a random password when a user is created
- use this parameter (`auto_password`) in user_list.js
- change mail content et password page on first login
2024-06-28 18:56:28 +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
Linty
4d26c62470 issue #2132 album selector hierarchy added to search page 2024-03-08 15:55:43 +01:00
Linty
4adf36f2e5 fixes #2120 add new return value to 'pwg.categories.move' method API
Added a new return value for API method 'pwg.categories.move': updated_cats . This value returns an array of albums whose values have been modified after an album has been moved (for the moment, the data is the id and the number of photos in its sub-albums).
2024-02-19 17:06:59 +01:00
Linty
1629cd9386 issue #2106 added details to search history
API method modification `ws_history_search`: Added a new property in API return `SEARCH_DETAILS` only for searches.
These details are displayed on the `History` page in the `Search` section.
2024-02-02 11:50:56 +01:00
plegall
08124d10f7 fixes #2100 do not send save_visits to PiwigoRemoteSync 2024-01-31 11:14:27 +01:00
Willy "Linty
fbae0b735c fixes #2071 sorts users by date and username 2023-12-18 18:05:09 +01:00
plegall
09d30129cd fixes #2050 provide a default user_name for pwg.history.search 2023-11-27 16:02:01 +01:00
plegall
eb0759ef12 fixes #2046 avoid strip_tags if pwg_token is provided
* pwg.categories.setInfo
* pwg.categories.add
* pwg.images.setInfo
2023-11-23 19:46:46 +01:00
Willy "Linty
a267cc022b Issue #2035 Declare new parameters
We change min and max format date, now we expect `YYYY` or `YYYY-mm`or `YYYY-mm-dd`
2023-11-10 14:40:08 +01:00
plegall
4c734bedd8 issue #1991 make sure requested albums exist on pwg.categories.getImages 2023-10-29 14:48:37 +01:00
Damien Sorel
85db5eb9d1 Fix warning in pwg.categories.php
"Undefined variable: total_images" message when request category does not exist
2023-10-29 14:25:43 +01:00
plegall
c904d536a5 fixes #2025 add author field in search by words filter 2023-10-18 18:19:30 +02:00
plegall
14e8ba664b fixes #1735 new API method pwg.images.setCategory to associate/dissociate/move a list of images 2023-10-11 16:58:14 +02:00
plegall
b5c9ca4819 issue #2016 save search in history 2023-10-02 12:31:33 +02:00
plegall
fdd2177e78 fixes #2007 no longer possible to update a filteredSearch
* Piwigo will create a new search for any modification in the filters
* we keep the "origin" of the new search with piwigo_search.forked_from field
2023-09-27 16:30:05 +02:00
plegall
e0a82909fa fixes #1968 new values for date_posted filter
* add 24h, 3m and yNNNN (year 2023 or 2022...)
* remove 1y
* provide labels from backend instead of managing it in javascript
2023-08-26 12:55:12 +02:00
plegall
ab111cdbe2 fixes #1967 POST/GET input are already escaped 2023-08-23 18:56:08 +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
d92986a13d fixes #1920 new output parameter save_visits for pwg.session.getStatus 2023-08-03 11:19:44 +02:00
plegall
7d73935323 issue #1917 add parameter is_download to pwg.history.log 2023-08-03 10:52:20 +02:00
MatthieuLP
b5dc413b40 related to #1931 & #1946 Added Posted date filter 2023-07-25 16:47:25 +02:00
plegall
87c4fad23e issue #1946 implement backend for search by date_posted 2023-07-24 16:49:53 +02:00
plegall
2d46924bf6 issue #1941 search, implement filter by file type 2023-07-10 15:17:46 +02:00
plegall
382884836a issue #916 and issue #1917 increment images.hit when calling pwg.history.log 2023-07-10 14:49:36 +02:00