Commit Graph

776 Commits

Author SHA1 Message Date
Linty 9ac99be1de fixes GHSA-9986-w7jf-33f6 and fixes GHSA-9986-w7jf-33f6
* Introduces a verification code step before generating password reset links.
* New configuration "password_reset_code_duration".
* Adds Base32, TOTP and PHPQRCode classes .
* New section is required in password.tpl: code verification won't work on themes not updated yet.
* 5 new language strings were added.
2025-10-17 15:38:21 +02:00
HWFord 416dbe2d24 issue #2414 change single tag display 2025-10-07 16:47:11 +02:00
HWFord b6312b5015 issue #2414 update css and tag sort order 2025-10-07 16:26:14 +02:00
HWFord ac15835422 issue #2414 remove config and update css 2025-10-03 17:43:35 +02:00
HWFord b682fd0cd3 fixes #2414 change related tags display
Add conf to display or not the related tag options by default
Add templates and css for new display
2025-10-03 15:43:29 +02:00
HWFord f930b6b524 issue #2409 Update icons used 2025-10-02 16:45:29 +02:00
HWFord 7bd298e107 issue #2409 update fontello
Add 2 icons
2025-10-02 16:42:13 +02:00
Linty 1be0527523 issue #2405 update smarty
and made Piwigo compatible with smarty 5.x
2025-09-17 12:05:48 +02:00
Linty 46837567cb issue #2225 fix text color in darkmode 2025-09-16 14:06:19 +02:00
plegall b167a327e3 issue #2409 add search engine filter : expert mode
* new access system not implemented yet
* dark mode handled but needs review
2025-09-15 15:10:17 +02:00
Linty 77c1fdd138 fixes #2225 redesign quick search help popin 2025-09-11 16:54:52 +02:00
Linty 5221527e04 fixes #2407 allow clicking on section header to expand/collapse
and hide “Show/Hide expired keys” when the user has no expired keys
2025-09-08 14:55:41 +02:00
Linty 5a9ac7a950 fixes #2397 update language selection handling in profile
Change how user language selection is managed and displayed in the profile page. The selected language is now updated in the user profile (in db) and template variable names have been standardized for consistency.
2025-08-29 18:18:06 +02:00
Linty 93cc0e72a8 update toaster template class and fix toast timeout 2025-08-26 14:30:24 +02:00
Linty 2502a44832 issue #2355 hide api keys warning block by default 2025-08-11 10:57:12 +02:00
Perrom 2465654752 fixes #2362 add gallery filters options in admin (#2395)
Add a config page in admin for the search filters in the gallery. Privacy and default filters can be selected. Needs a database update.
2025-08-08 15:07:02 +02:00
Linty eec9a919a5 issue #2355 enforce ui context for API key management
...and improve profile JS. Replaces can_manage_api_key() with connected_with_pwg_ui() to ensure API key management is only allowed from UI logins, and sets 'connected_with' in session during auto-login. Refactors profile.js to respect canUpdatePreferences and canUpdatePassword, moves user state initialization to template, and improves preference reset/default logic. Also adjusts script loading and minor UI details in profile.tpl.
2025-07-07 08:58:27 +02:00
HWFord 8f3adbda79 fixes #2379 add shadow to toast 2025-06-26 12:32:34 +02:00
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 2624be1c90 issue #2355 update gallery fontello
add hash and skull icon
2025-06-09 19:34:23 +02:00
HWFord 13880d5727 fixes #2373 include open sans font & add to css
add font-face to css and use it for font-family
2025-06-03 12:12:07 +02:00
Linty 9bcc2cfa02 fixes #2354 add profile standard page 2025-05-05 21:40:59 +02:00
Linty 6c609e5da6 issue #2354 move css content into theme.css 2025-05-05 20:20:39 +02:00
Linty e9b2d64dcf issue #2354 update css 2025-05-05 20:19:07 +02:00
Linty 3b951a0e37 issue #2354 rename common css and js files
reorganisation of common files before adding the standard profile page
2025-04-16 14:26:37 +02:00
HWFord ee0d29a0e9 relates #2345 small fixes
change autofill colors, automatically set dark or light mode depending on browser preference
2025-03-26 16:20:17 +01:00
HWFord acdd4320df fixes #2347 update favicon
file created from svg favicon used in admin
2025-03-24 14:37:04 +01:00
HWFord 4a539bdfb7 relates #2345 small fixes image & trad
translation for admin moved to correct file
set min-width on logo to avoid some browsers not displaying it
2025-03-20 10:44:39 +01: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
HWFord d44ac01a48 relates #2345 update fontello 2025-03-18 15:15:43 +01:00
Linty e985ba5183 fixes #2315 adjust password page for first login 2025-01-27 15:08:50 +01:00
HWFord 38bce29b33 fixes #2313 remove privacy level from gallery
and anything related to having this configuration here
2025-01-21 15:27:28 +01:00
HWFord 0cce9ef09d fixes #2309 stop ratings redisplaying
change condition for show_filter_ratings
2025-01-08 16:38:07 +01:00
plegall a3833eab9b fixes #2300 search engine robots should not index/follow combined categories 2024-12-31 16:14:15 +01:00
HWFord 634509ce43 fixe #2241 add message to filter
let users know that the filters has no compatible results
2024-10-10 16:17:47 +02:00
HWFord 270a84ecff issue #2211 missing translation
Change string from custom to custom dates, and add translation
2024-09-23 14:59:01 +02:00
Linty 9a46f14f1c issue #2226 refactor album selector to class-based structure
- Update existing album selectors to new instantiation method
2024-09-23 12:40:33 +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 49b2ab3855 issue #2211 missing alternating lines
for months of even years the background colour now alternates
2024-09-20 11:10:44 +02:00
plegall 40947217ac fixes #2230 search filters, always display all date_posted presets 2024-09-19 18:21:53 +02:00
Linty 634711ca3a fixes #2229 created date filter, handle parent and child dates
Add and outline check for parent date and grey check for child dates
2024-09-19 18:00:07 +02:00
Linty 874db88b5d fixes #2229 date posted filter, handle parent and child dates
Add and outline check for parent date and grey check for child dates
2024-09-19 17:37:46 +02:00
Linty 9462c7aa09 issue #2229 update fontello icon
remove list check
add gallery-icon-check-outline
2024-09-19 17:34:08 +02:00
HWFord 2d2baa7052 fixes #2227 add creation date filter
Same logic as date posted
2024-09-17 16:50:38 +02:00
HWFord 2783a8b848 issue #2211 update fontello add list check
used in posted date and creation date for gallery filters
2024-09-16 15:10:02 +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
HWFord d0b3227ed4 issue #2211 empty filters fix
since date posted filter update empty filters stopped working, this is due to PS_params.date_posted_custom not being reset properly
2024-09-06 10:22:03 +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