Commit graph

11605 commits

Author SHA1 Message Date
marsooooo
3d36978f84 issue #2164 optimize batchmanager JS
Added more verification to saveChanges Ajax call
optimized batchManagerFilter.js variables
2024-09-05 11:37:39 +02:00
plegall
a8a5e515a2 next version is 15.0.0beta3 2024-09-05 11:23:44 +02:00
plegall
d8859f549a move search filters generation in a dedicated file to include 2024-09-05 11:18:49 +02:00
plegall
14678d28a9 fixes #942 IPv6 compatibility, increase length of history.IP 2024-09-05 10:45:34 +02:00
plegall
960e8479cb issue #2211 optimize date_posted filter values generation 2024-09-04 21:57:38 +02:00
plegall
38951c9876 fixes #2208 reduce sessions.id length below 1000 bytes 2024-09-04 12:14:49 +02:00
HWFord
9d4b2a6693 [mcs] disable filesize input on filter
temporarily disable input, committed by accident when not finished
keep input but disable them for now
2024-09-04 11:50:23 +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
plegall
b6789d4de9 fixes #2218 avoid search engines to index search pages 2024-09-03 21:05:57 +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
Linty
3133552405 fixes #2220 change scope of function get_resize_result
also changed the required php version to 7.1.0
2024-09-02 18:23:52 +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
c27d166d46 fixes #2210 add links to the new documentation in help pages 2024-08-26 13:55:44 +02:00
Linty
815a0221aa [albums] fixed warning messages in album edit page 2024-08-23 19:39:59 +02:00
Linty
d0eeb2852c fixes #2209 high-volume optimization
- Sub-albums in the album manager now load their html content progressively
- Scrolling on album focus corrected
2024-08-23 17:50:02 +02:00
Linty
149b29607b [users] changing height of group select in edit user modal 2024-08-22 15:44:12 +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
plegall
3ee277f8e0 fixes #171 ability to filter user list on a specific user 2024-08-21 12:11:27 +02:00
Linty
33f7849bf0 change button font size in album selector 2024-08-20 16:41:19 +02:00
plegall
3bb697c017 [search] bug fixed when a filter intersection is empty 2024-08-20 15:55:00 +02:00
plegall
542910cb6d bug fixed in get_available_tags: do not always use persistent_cache
... also optimize tag name fetching
2024-08-20 15:47:32 +02:00
plegall
0cf2a57357 [search] incoherent search results Vs search filters 2024-08-20 14:38:40 +02:00
Linty
7bd8b7e274 fixes #2206 add album selector on the add photo page
- replace older selector with the new album selector
- moving javascript to a js file
- changed the logic for the first album (now its work with api)
- changed labels in album selector and also added an escape event (to close modal)
2024-08-19 16:09:50 +02:00
plegall
067010db7b issue #2202 optimize filters construction with persistent_cache 2024-08-14 11:32:35 +02:00
HWFord
f2e07e460d fixes #2205 set object-fit contain
also center svgs to square
2024-08-12 14:26:04 +02:00
plegall
179ccd274f fixes #2203 purge persistent cache in invalidate_user_cache 2024-08-07 22:15:13 +02:00
plegall
c0d1245f19 issue #2202 search filter, always display all filetypes 2024-08-07 22:15:13 +02:00
plegall
dd6d1a91d7 issue #2202 factorize (and use cache) to build filters 2024-08-07 22:15:13 +02:00
Linty
bfe1e85801 fixes #2201 better implementation for the number of associated users
removed the javascript part to directly manage disabling an option via the tpl in a foreach and data in php
2024-08-07 12:41:52 +02:00
plegall
adf45edb2d compatiblity PHP 7 (array_intersect need at least 2 parameters)x 2024-08-06 17:36:17 +02:00
plegall
81bf18cbdb fixes #2202 smarter filters for gallery search
To be able to compute values of filter "added_by" by only taking into account
results of other filters, we need to distinct results filter by filter. So
instead of generating a single complex SQL query, we use one (or maybe more)
SQL query for each filter in action.

First commit for this new way to perform a regular search. To be improved
(many duplication of codes for now)
2024-08-06 17:04:31 +02:00
Linty
316c20e5bd fixes #2201 for each filter we add the number of associated users
and the select is deactivated if no users are associated.
2024-08-05 17:50:10 +02:00
plegall
8c4b3fb7db fixes #2198 smarter way to deal with filesize bounds 2024-08-02 17:47:45 +02:00
plegall
6fb86d25bf fixes #2162 update link to Shotwell 2024-08-02 16:18:43 +02:00
plegall
7850d85e8b link to documentation on Github instead of obsolete documentation on piwigo.org 2024-08-02 16:13:59 +02:00
plegall
e7332a144c next version is 15.0.0beta2 2024-07-31 16:07:27 +02:00
Linty
8cff72906d fixes #2132 remove unused console.log 2024-07-31 11:55:57 +02:00
Linty
653b03aacc fixes #2132 implementing and improving new album selector
- Moved all related logic into album_selector.js for better maintainability and separation of concerns.

- Removed duplicates in TPL and CSS files, consolidating them into a single CSS file and a single TPL file for better organization and efficiency.

- Implementation of the album selector in the pages: photo editing, album editing and batch manager unit.

- Improved the album selector by adding a creation mode to create and select an album (only in admin pages).
2024-07-31 11:49:44 +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
plegall
e5e84e07e6 issue #2194 change data organization 2024-07-30 23:05:03 +02:00
plegall
db08d32d6f fixes #2194 more details about files in send_piwigo_infos
new function to handle unique_exec (can be used in other places as well)
2024-07-29 23:39:40 +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
HWFord
08357f59eb related #2193 add new icons
icons used for new search widgets
2024-07-25 12:04:46 +02:00
HWFord
aac54ba1f0 fixes #2192 set max-height and overflow
remove height from outer container of options, set max height and overflow for options container
2024-07-24 09:42:11 +02:00
Linty
2f89bf6726 fixes #2189 remove password link input text when email is sent
I've also modified the messages
2024-07-16 10:15:59 +02:00
Linty
d1cd5b11ef fixes #2187 resize activity tooltips
...when the tooltip extends beyond the page.
I've also added the tooltips (for both storage and activity) logic to a js file `intro_tooltips.js` and imported it into `intro.tpl`
2024-07-15 17:41:18 +02:00