Linty
e6f17efdaa
issue #2158 check webmaster_id before load_conf_from_db
...
In Piwigo 15, configuration setting webmaster_id is moved from config files to database. It may be undefined at some point, with Piwigo 15+ scripts and a Piwigo 14 database schema not upgraded yet. Let's avoid any problem.
2024-06-12 12:45:06 +02:00
plegall
d0143e9259
issue #2166 remove debug code
2024-06-10 22:21:22 +02:00
plegall
71cd92c04d
fixes #2166 add feature to send anonymous stats to piwigo.org
2024-06-10 21:32:04 +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
158e99573b
Revert "issue #2155 more PHP functions {end, key} for SmartPocket"
...
This reverts commit d2941d71c2 .
Using end/key in Smarty template (SmartPocket navigation_bar.tpl) actually does not
work. SmartPocket now (14.4.0.2) uses a dedicated template variable to know the total
number of pages.
2024-05-31 11:12:52 +02:00
plegall
7fae203a83
fixes #2161 in search, do not consider dot character alone as a splitter
2024-05-17 12:28:31 +02:00
plegall
d2941d71c2
issue #2155 more PHP functions {end, key} for SmartPocket
2024-04-29 09:48:55 +02:00
plegall
ac98cfdcc2
fixes #2155 register more PHP functions for templates
2024-04-24 16:27:31 +02:00
plegall
e8090d4149
fixes #2150 move function strip_html_in_metadata outside get_exif_data
2024-04-18 14:21:04 +02:00
marsooooo
562fb6c0be
Fixes #2147 Add style elements to generated page
...
Updated generated html code so it fits the design
Added warning triangle icon as svg
Page now hides the login button in case user is already logged in
2024-04-12 15:49:09 +02:00
plegall
16953317d9
fixes #2146 trim search by words before anything else
2024-04-12 09:50:17 +02:00
plegall
49dadcecb3
fixes #2136 search for matching image_ids instead of tag_ids
...
Introduce an additional SQL query to find image_ids associated to matching tags instead of using directly the list of matching tags.
Same for matching albums.
Also, change the displayed list of matching tags/albums: do not take into account the OR/AND on the search by word. Do as if the search was always OR.
2024-04-10 17:12:25 +02:00
plegall
813d53b21f
fixes #2145 deal with array value in exif
2024-04-10 12:24:32 +02:00
plegall
929bd1bd73
fixes #2142 truncate tags_strings if longer than 50 chars
2024-03-31 17:08:54 +02:00
plegall
3af5594993
fixes #2140 PHP 8 issues
2024-03-27 15:00:21 +01:00
plegall
d69bc8b884
fixes #2134 make sure database is writeable before new version notification
2024-03-13 11:11:48 +01:00
Linty
4d26c62470
issue #2132 album selector hierarchy added to search page
2024-03-08 15:55:43 +01:00
plegall
1000ae868e
fixes #2118 add config setting animated_webp_compression_quality (default=70)
2024-02-19 17:17:36 +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
plegall
a75d4f866a
fixes #2112 more characters valid for search by word: ^~#$
2024-02-07 08:55:12 +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
plegall
e59b5282d5
fixes #2096 keep list of search filters in memory
2024-01-24 17:26:51 +01:00
plegall
62835f1804
fixes #2091 search for words, no longer remove _ and -
2024-01-24 13:47:55 +01:00
plegall
e3cda5108a
fixes #2088 case-insensitive check for history.section autofill
2024-01-18 11:26:10 +01:00
plegall
6bbf137e50
issue #2057 forgot to add a comment in the code
2024-01-10 14:23:22 +01:00
HWFord
9fd4026a97
issue #1845 register another PHP function(stristr)
...
Used in new PEM
2024-01-03 15:26:21 +01:00
Willy "Linty
fbae0b735c
fixes #2071 sorts users by date and username
2023-12-18 18:05:09 +01:00
plegall
bf9a48f63d
fixes #2066 keep Smarty compatible with PHP 7.0
2023-12-13 15:06:46 +01:00
Willy "Linty
38004d5d93
issue #1845 Theme SimpleNG requires str_ireplace php function
2023-12-11 11:26:00 +01:00
plegall
f41ae45b87
next release is 14.0.0
2023-12-08 18:25:22 +01:00
plegall
a01831b3d8
fixes #2057 register core autoupdate in system activities
2023-12-07 11:29:32 +01:00
plegall
85a6b11dec
fixes #1970 Undefined array key comments
2023-12-04 19:14:59 +01:00
plegall
9af2ba648f
next release will be 14.0.0RC2
2023-11-28 13:18:50 +01:00
plegall
09d30129cd
fixes #2050 provide a default user_name for pwg.history.search
2023-11-27 16:02:01 +01:00
plegall
445cc4ec14
fixes #1982 only fetch the list of albums we want to display
...
... not the full list. Makes huge difference when you have thousands of albums at the same level.
2023-11-24 18:08:52 +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
dfbe5b7e00
next release will be 14.0.0RC1
2023-11-06 15:17:01 +01:00
Willy "Linty
732c4b2a60
Issue #2001 Compatibility PHP 8.2
2023-11-06 11:37:34 +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
13ea43e2ef
[search] avoid errors when a filter returns no item
2023-10-28 18:35:20 +02:00
plegall
8aa597cd95
issue #2027 search with contextual values in filters
...
* valide for all filters, except "album" (for now)
2023-10-22 21:03:53 +02: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
d050573d83
fixes #1897 use preg_match instead of deprecated strptime
2023-10-05 15:37:48 +02:00
plegall
b01bf6ef3d
fixes #2018 prevent matching tags/albums to show private content
2023-10-05 12:12:41 +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