Linty
bb8f3d5715
fixes #2287 switch language before sending the email
2024-12-04 15:07:06 +01:00
Linty
e2fbf45cd8
fixes #2288 display the correct mail after changed it
2024-12-04 14:54:56 +01:00
Linty
1525f9ced2
fixes #2283 reduce font-size for initials
...
...and add no wrap for username
2024-11-25 11:27:32 +01:00
Linty
24293ef7c8
issue #2234 continue colour updates for dark mode
2024-11-25 11:08:39 +01:00
Linty
465e6eced4
fixes #2281 rewording set and reset mail content
2024-11-25 11:06:43 +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
Linty
431cb4b7b4
fixes #1152 unset last_visit columns from default_user
2024-11-19 17:17:01 +01:00
Linty
0cee869971
fixes #2275 wrap the category name in another span
...
...with a plaintext style
2024-11-12 14:44:42 +01:00
Linty
25b919390e
fixes #2274 load node when moving album in another one
2024-11-12 11:16:26 +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
95e85f264e
fixes #2253 use only bulk_manager_filter category for album selection
...
I've also adapted the tpl and js files
2024-10-31 12:13:52 +01:00
Linty
78769be780
fixes #2259 order by activity_id instead of occured_on
2024-10-30 10:43:50 +01:00
Linty
99a3592eae
fixes #2258 add invalidate_user_cache in ws_images_deleteOrphans method
2024-10-30 10:27:11 +01:00
Linty
65dce73ef8
fixes #2254 adjust placement of int casting
...
...for SVG width and height values
2024-10-25 14:30:24 +02:00
Linty
29b1c32fbc
fixes #2252 add null check for parent_node
...
...before accessing properties
2024-10-25 11:43:47 +02:00
Linty
75da48dadd
fixes #2252 hide pencil icon during upload
...
...to prevent opening the album selector
2024-10-24 17:06:44 +02:00
Linty
3a9e5f7dff
fixes #2251 add en_UK and fr_FR translation
2024-10-24 16:00:58 +02:00
Linty
e53d7332de
fixes #2250 add tooltip on main user icon
2024-10-24 16:00:09 +02:00
Linty
4f07c75b89
fixes #2247 load child nodes and open the node
...
...before adding a new one
2024-10-24 15:10:55 +02:00
Linty
1d087ebefe
fixes #2158 refactor user data assignment
...
...with spread operator for cleaner code. This change also allows for compatibility with additional fields that may be returned by the API, such as those added by plugins, ensuring all elements are captured without explicitly defining each one.
2024-10-16 15:18:05 +02:00
Linty
6e964af343
issue #2234 continue colour updates for dark mode
...
courtesy of Alice
2024-10-16 15:01:42 +02:00
Linty
480522cca1
fixes #2244 add ignore to prevent errors from duplicate
2024-10-15 11:26:18 +02:00
Linty
65e29ab26d
fixes #2243 removed fixed height
2024-10-14 17:23:48 +02:00
Linty
c81e2b7f8b
issue #2234 standardize input focus colors
...
for input, select and textarea
2024-09-26 16:10:38 +02:00
Linty
1d8aa035fc
issue #2234 standardize datepicker colors
2024-09-26 15:52:51 +02:00
Linty
1634bcf5cf
fixes #2233 use .trigger('focus') instead of .focus()
...
because its deprecated
2024-09-25 14:54:05 +02:00
Linty
77c09413f0
fixes #2233 reset events on children node toggle
...
added preventDefault() to prevent page scroll to top caused by href attribute in `move-cat-add` events.
2024-09-25 14:43:37 +02:00
Linty
b0bd8e83ad
issue #2234 standardize user list and user popin colors
2024-09-24 16:30:18 +02:00
Linty
f23ca21102
add focus and Enter key trigger for first album modal
2024-09-23 15:34:02 +02:00
Linty
7424adbe07
fixes #2213 compatibility PHP 8
...
adding missing class properties
2024-09-23 15:05:39 +02:00
Linty
91bb79c893
fixes #2226 implement album selector in batch manager filter and action
2024-09-23 12:44:00 +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
Linty
2121386ed0
fixes #2231 merging album search into album manager
...
- Delete old files (cat_search.php and cat_search.tpl) and his tab un add_core_tabs.inc.php
- Add search field and result in albums.tpl
- Separate js code from template
- Reuse data of albums.tpl for jqtree for the search algorithm
2024-09-20 16:19:07 +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
Linty
2905623027
fixes #2214 initialize total_count before using it
2024-09-10 14:55:28 +02:00
Linty
c1ad552a86
fixes #2223 initialize groups_for_filter before using it
2024-09-10 10:26:18 +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
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
Linty
33f7849bf0
change button font size in album selector
2024-08-20 16:41:19 +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
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
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
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
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
Linty
fa92e9c3f7
fixes #2186 remove delete icon when a user is set as main user
2024-07-15 12:22:28 +02:00
Linty
31e12a4ab8
fixes #2185 remove underline and wrong color on hover buttons
...
button `Permissions` and `Visit history`
2024-07-15 12:20:59 +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
834b339860
issue #2158 reducing the slider-bar-wrapper
...
in User and Guest modal
2024-06-25 13:26:16 +02:00
Linty
cd8ba0a456
issue #2158 fix duplication of the icon crown and name when saving
2024-06-14 15:28:07 +02:00
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
Linty
badc7c76b9
fixes #2167 add max-width for storage tooltips
2024-06-11 17:23:33 +02:00
Linty
0fb7ee0523
fix #1854 add default values for theme_id and plugin_id
...
to handle undefined keys
2024-06-11 09:28:09 +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
0c53880707
fixes #2149 reset the create sub-albums button click event
...
After an ajax request we need to reset some button events
2024-04-17 11:52:34 +02:00
Linty
4d26c62470
issue #2132 album selector hierarchy added to search page
2024-03-08 15:55:43 +01:00
Linty
5da20bf1f1
fixes #2131 changing the icon prefix
2024-03-08 15:40:57 +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
0c2b0175dd
fixes #2119 issue #2120 uses nodes to update album UI
...
As we're using selectize.js to display the albums, we need to use the methods provided by selectize.js to update the data returned by the Piwigo API.
Bug correction: when moving an album, the "sub-albums" label disappeared.
2024-02-19 16:53:41 +01:00
Linty
91659fa848
fixes #2117 add a condition to the date-end onChange function
...
in the date-end OnChange event, before launching the function that will make the ajax request, we check that the `end` parameter is not "1899-12-31".
2024-02-19 12:53:31 +01:00
Linty
562170528c
turn code more robust by using sprintf instead of replace for a language key
2024-02-09 17:35:42 +01:00
Linty
d2e8d95d94
issue #2106 reorganize search details
...
Instead of `See details` we put `and x more` with the remaining details instead of putting everything
2024-02-09 17:10:19 +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
Linty
fe47d3e60a
fix #2105 replace link icon tree by icon home
...
and it becomes non-clickable
2024-02-02 11:10:54 +01:00
Willy "Linty
24bce3eb03
fix #2103 the modal is closed only if visible
2024-02-02 10:39:55 +01:00
Willy "Linty
4ecaa9153e
fix #2102 wrong value on reset
2024-02-02 10:17:06 +01:00
Willy "Linty
c485997162
issue #2086 change of default fontello file name in piwigo
...
Adapting piwigo's new default fontello file and changing the icon prefix in the code
2024-01-09 16:33:17 +01:00
Willy "Linty
215c6c785a
issue #2086 update fontello
...
Change file name (because it's linked to font-family) and icon prefix. To avoid conflicts.
2024-01-09 16:29:56 +01:00
Willy "Linty
5c90a44df9
fixes #2076 remove an unnecessary line
...
When clear is clicked in the "album" filter but the "tag" filter is activated, the clear action in the "album" filter does not work. Because of this line.
Clear action in the album filter was clearing both album and tag filters.
2023-12-26 10:22:50 +01:00
Willy "Linty
06e0b50043
issue #2073 add raw_name in tags property
...
We present the raw version in the input, and on the rendered version there's a small globe to show that there's a difference between the rendered and raw versions.
We have also modified the album title in the album edit page. The rendered version is now displayed, we keep the raw version in the input field.
2023-12-22 10:20:49 +01:00
Willy "Linty
dca43a71bc
issue #2072 Expand and Shrink album description field
2023-12-19 17:48:07 +01:00
Willy "Linty
dba18e3735
issue #2072 add icon-resize-full and icon-resize-small
2023-12-19 17:42:22 +01:00
Willy "Linty
fbae0b735c
fixes #2071 sorts users by date and username
2023-12-18 18:05:09 +01:00
Willy "Linty
a5be190ef2
issue #2071 update fontello
...
add icon-up and icon-down
2023-12-18 18:04:19 +01:00
Willy "Linty
c0e7e9c87f
fixes #1854 use new icons
...
After updating fontello I put the right icons as on the mockup for core and system
2023-12-12 17:29:57 +01:00
Willy "Linty
b33d4edecb
issue #1854 update fontello
...
add icon-robot-head and icon-piwigo
2023-12-12 17:29:13 +01:00
Willy "Linty
0ac1131e8c
Issue #1854 adding a new tab in maintenance page
2023-12-12 15:58:23 +01:00
Willy "Linty
4f5d7e6b91
issue #2060 mobile version of search filters added
...
In mobile mode, filters now occupy 100% of the page width. A small arrow is added when the filter is open.
2023-12-11 11:33:04 +01:00
Willy "Linty
38004d5d93
issue #1845 Theme SimpleNG requires str_ireplace php function
2023-12-11 11:26:00 +01:00
Willy "Linty
bd152ba00e
fixes #2054 avoid exceeding box limits for album directory name
2023-12-05 17:27:17 +01:00
Willy "Linty
d838ab3f17
Fixes #2053 Move script and add a user interaction
...
Now, to let the selectize plugin initialize, at onChange we check whether one of the inputs has been focused
2023-12-05 14:44:38 +01:00
Willy "Linty
8103c48461
Fixes #2051 Move the widget as space becomes available
...
I calculate the overflow and if it is too much we align the widget to the right of the filter and calculation takes place each time the window is resized
2023-11-27 18:35:06 +01:00
Willy "Linty
f98ba25555
Issue #2037 Display new icon-cone on dashboard and album manager
2023-11-10 17:53:52 +01:00
Willy "Linty
ee98f408a2
Issue #2037 update fontello icon-cone
2023-11-10 17:53:08 +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
Willy "Linty
9ca0b7bec0
Issue #1710 New storage bar tooltips
...
For each kind of files give the number and for each file extension give number of files and total files size
2023-11-08 12:30:21 +01:00
Willy "Linty
57f8dd5c36
Issue #2033 Redesign open in gallery buttons
2023-11-08 11:57:17 +01:00
Willy "Linty
d9ee5868fb
Merge branch 'master' of https://github.com/Piwigo/Piwigo
2023-11-06 12:39:29 +01:00
Willy "Linty
a907588cf3
Issue #2031 An admin can't set another user as an admin/webmaster. UIX
2023-11-06 12:39:20 +01:00
Willy "Linty
732c4b2a60
Issue #2001 Compatibility PHP 8.2
2023-11-06 11:37:34 +01:00