792 Commits

Author SHA1 Message Date
HWFord f12323d1c9 fixes #2557 use pwg_get_cookie_var
-Update cookie to use pwg_lang to avoid conflicts with other potential apps.
-Add cookie path to the pwg_lang cookie to help with conflicts also.
-Be less restrictive in load_cookie_language function
-We can't use pwg_set_cookie because it is set in js not PHP so we force it to be called pwg_lang
2026-05-06 08:53:44 +02:00
Linty 9196732341 fixes #2478 add created_on tooltip and responsive tooltip styles
JS: add mouseenter handler to toggle a tooltip-flip class for elements with data-tooltip so tooltips flip when they would overflow the right edge; set data-tooltip on API creation timestamp. CSS: constrain tooltip max width to 250px (or viewport margin), allow multiline content (max-content/word-wrap), and position flipped tooltips from the right. These changes prevent tooltip overflow on narrow viewports and improve readability.
2026-04-29 15:15:34 +02:00
HWFord 1441831e9d fixes #2528 add icon class 2026-02-23 17:59:24 +01:00
Linty b26ca3e08a fixes #2522 use privacy-preserving verification message
Replace the explicit "An email has been sent with a verification code" message with a privacy-preserving wording: "If your account exists, a verification code has been sent to your email address." This avoids account enumeration. Updated language entries in en_UK and fr_FR, the server-side message in password.php, and the password reset template.
2026-02-12 17:25:50 +01:00
HWFord 186378e4f3 fixes #2518 add viewport meta & adjust responsive css 2026-01-29 09:20:45 +01:00
HWFord ce3fcd61e4 fixes #2517 set max height and scroll for lang switch 2026-01-28 14:38:14 +01:00
HWFord d9fce8a309 fixes #2508 add header.tpl to standard pages
duplicate header.tpl from themes/default remove anything that isn't needed, load jQuery in header instead of footer
2026-01-14 14:18:27 +01:00
plegall c614efd33c fixes #2507 add conditions before trying to display an image in the email 2026-01-13 15:08:52 +01:00
HWFord 27caef885e fixes #2486 add stdPgs config tab in admin
add skins and screenshots for skins
add admin tpl and css
update stdPgs tpl to have dynamic header section
2025-12-19 16:05:24 +01:00
HWFord 9f72b3bb12 fixes #2456 use same style as choose filters popin 2025-11-24 14:03:31 +01:00
Linty 56a48aa76b fixes #2442 remove "Customize" and related strings from language files
Deleted the "Customize" and "customize the appareance of the gallery" translation strings from all language files. Added a new string for "edit user preferences" in en_UK and fr_FR. This streamlines user preference terminology and removes redundant or outdated translation keys.
2025-11-14 19:44:47 +01:00
HWFord 146c694c6f issue #2437 update standard pages
change how required inputs are handled
change js to display error message for inputs only with data-required
for register handle mandatory or not email
update success message css
2025-11-14 10:34:43 +01:00
HWFord 7ccaa573f5 fixes #2437 add missing redirect input 2025-11-12 09:44:52 +01:00
Linty 443e86aec2 fixes #2428 change language keys for api_key
Replaces 'Public key' references with 'ID' and updates related copy messages in English and French language files and profile template. Also changes key icon to 'icon-user-secret' for better clarity and consistency in the API key generation UI.
2025-10-31 17:08:38 +01:00
Linty 615867a857 fixes #2427 add styles for infos banner
Introduced .infos-message class with specific background, text color, and border styles for both light and dark themes in standard pages.
2025-10-31 14:47:51 +01:00
plegall b416bdb7c9 fixes #2417 ability to hide the new filter "expert mode"
... and removes 2 other duplicates of the filters_views configuration
2025-10-28 18:39:18 +01:00
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