Commit graph

184 commits

Author SHA1 Message Date
HWFord
bf3beb9bdd fixes #2268 add whats new popin
set popin display in user pref, if user closes don't display again
keep bell notification displayed for 30 days so user can reopen modal
for next version add user pref to install
Add css for template
when close popin call api method to update user pref to hide popin
2024-11-08 16:35:27 +01:00
plegall
09890487cd fixes #1830 faster way to calculate number of orphans
* store count result in config table, as a cache
* resets this cache on invalidate_user_cache
* instead of a costly SQL query with a LEFT JOIN, use 2 simple COUNT in the 2 tables, and compare
2023-10-06 15:03:22 +02:00
plegall
f4de473db8 issue #1852 ability to disable core/extensions updates 2023-01-21 11:54:51 +01:00
Matthieu Leproux
f4a4473f37 Issue #1704 New album edition page
* Front end development according to the mockup
* Save changes in ajax
* Implement the delete album behaviour with Jconfirm in ajax
* Adding a new Css component : infos (factorized in the tag page)
* Add a new general admin template variable : ADMIN_PAGE_OBJECT_ID (adding the id of an object on the page)
* Modify the pwg.categories.setInfo api method to fit the need of the album edition pages
* Slightly change the method time_since, add a parameter to display only the greates time unit
* Popin to change parent album, and changed it as a re-usable component
* Dropdown to replace the checkbox for comments
2023-01-02 16:24:41 +01:00
plegall
97b665d8f3 issue #1827 new check on filesystem compared to what is listed in the database
While not fixing issue #1827 it helps users to detect if they have been
affected by the problem.
2022-12-16 15:11:58 +01:00
plegall
6278be093a fixes #1801 for big galleries, only compute number of orphans on the dashboard 2022-11-22 12:23:12 +01:00
Matthieu Leproux
425467e15f related to #1609 Renamed 'cat_move' to 'albums' and linked variables so it works with new name 2022-05-04 15:17:28 +02:00
plegall
c4f0727176 issue #1641 make admin_theme related to user instead of config 2022-03-31 18:23:26 +02:00
plegall
4acfca116b fixes #1591 specific processing for piwigo-openstreetmap and piwigo-videojs 2021-12-30 16:57:30 +01:00
Ana Els
65acb988db A couple of minor PHP 8 fixes that can be applied now 2021-08-03 10:54:52 +02:00
Matthieu Leproux
b9394d967c fixes #1440 if allow notation isn't checked the notation tab is hidden 2021-07-23 15:12:00 +02:00
Matthieu Leproux
157ab47bec fixes #1454 the template tab is hiden with a configuration variable 2021-07-21 15:57:16 +02:00
Zacharie
d527c47023 Add a new tab to manage album page : search album (based on Hannah mock up), minor changes in button behaviour on add photo page 2020-09-03 15:18:44 +02:00
Zacharie
1dff9fa9b7 Issue #1200 : Add "Move Album" link in direct menu of albums, remove it from "Album List" tabsheet, design fixes 2020-08-13 11:43:56 +02:00
Zacharieg
0a268bcce1
issue #1175 redesign plugin manager
* design based on Samuel's mockup + Hannah's adaptations
* on each plugin actions shown as buttons in a single column (better compatibility with verbose languages such as German)
* description always shown (no more need of the "show details" action)
* filter based on plugin title/description (javascript, no page reload)
* hide inactive plugins if they are 8 or more
* plugins no longer shown in the admin left menu, they instead get a "settings" action if relevant. Compatible with the old trigger get_admin_plugin_menu_links but new method is to simply add a "Has Setting : true" in the main.inc.php header
2020-04-22 14:41:52 +02:00
plegall
72094c5f88 fixes #1090 move warning about missing checksums from dashboard to sync page
* avoid scaring users for a minor issue
* convert the warning message into a simple info
* simplify algorithm for detection and only search on relevant pages (batch manager + sync page)
2019-10-14 14:14:54 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
692120cd07 issue #987 set a title on pages 2019-05-28 16:05:09 +02:00
Teatek
b05241f508 Fixes #272 missing md5sum
* dashboard: add warning if missing checksums
* add a "compute all missing md5sum" option in batch manager (inspired by delete orphans)
* progress bar when computing md5sums
2019-01-22 10:26:52 +01:00
plegall
69345c06e2 fixes #847, CVE-2018-5692 protect a few user input variables 2018-07-11 11:22:31 +02:00
MaximeBOURMAUD
943ab9d189 Issue/747 php notice when changing admin page theme (#774)
* Fixes#747 Only variables should be passed by reference

* Fixes syntax
2017-09-19 11:25:00 +02:00
plegall
4310fe7a55 fixes #667, check $_GET['page'] to avoid XSS
This can be an issue only on Internet Explorer
2017-06-12 11:36:28 +02:00
plegall
3ae62ce118 fixes #699, make sure $_GET['tab'] does not include unexpected chars 2017-06-02 10:10:50 +02:00
plegall
32ca0a088d fixes #590, "history" menu goes to current month 2017-01-27 16:49:40 +01:00
plegall
5dbc6c85a9 feature #534, modernize admin homepage {wip}
* add tab
* display the pending comments as a "message" (new blue box)
* remove anything related to environment #532
* display stats as big icon + big number + caption
* new stat "storage used"
2016-10-07 14:30:54 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
92224bcbf4 fix #357 make orphans photos more obvious
... and easy to delete them all in one click. The orpans, if any, is shown as an entry in the "Photos" menu (link on Batch Manager). In the Batch Manager, new action "delete_orphans" next to prefilter.
2015-10-09 20:17:27 +02:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
99ea8d67d4 - dont't invalidate_user_cache on batch manager refresh photo set or add/remove caddie or generate/delete derivatives
- removed double sql query from batch_manager_global

git-svn-id: http://piwigo.org/svn/trunk@28490 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-17 05:58:07 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
rvelices
29433f1db4 invalidate_user_cache fix in web service method + do not invalidate user cache on every page hit on album list, photo etc ...
git-svn-id: http://piwigo.org/svn/trunk@25975 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-16 20:18:56 +00:00
plegall
04230f0547 bug 2953 fixed: ['QUERY_STRING'] is not alway set
git-svn-id: http://piwigo.org/svn/trunk@25930 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-12 10:40:39 +00:00
plegall
fac62f863d feature 2920 added: change admin screen "pending comments" to "all comments".
Now the administrator can filter on "all" or "pending" with a single click.

In the admin menu, we display the number of pending comments.


git-svn-id: http://piwigo.org/svn/trunk@25084 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22 20:39:10 +00:00
mistic100
cfdfeb989d feature 2969: Unified Batch Manager URL
git-svn-id: http://piwigo.org/svn/trunk@24834 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 11:07:45 +00:00
rvelices
ec50a59f75 replaced page_messages.php with a function to call
git-svn-id: http://piwigo.org/svn/trunk@20609 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-07 21:17:08 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
rvelices
5a061cb37d - remove unsed code; shorten existing code and improve readability ...
git-svn-id: http://piwigo.org/svn/trunk@18628 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12 19:56:12 +00:00
mistic100
b3e71e424c feature 2761: Pass all kind of messages through session on admin
git-svn-id: http://piwigo.org/svn/trunk@18463 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04 16:03:25 +00:00
plegall
6c2fad0dd3 merge r17008 from branch 2.4 to trunk
feature 2693 added: automatically show link to caddie if caddie not empty



git-svn-id: http://piwigo.org/svn/trunk@17009 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 11:45:08 +00:00
mistic100
9a4a9d846e feature 2703: make it easy for plugins to add tabs in admin screens
centralize all core tabs in one file

git-svn-id: http://piwigo.org/svn/trunk@16928 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 11:50:41 +00:00
plegall
6225137c99 feature 2606: remove original multiple size configuration screen
git-svn-id: http://piwigo.org/svn/trunk@15230 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-21 20:23:48 +00:00
plegall
12bf0f72bb feature 2581: new design on albums list management.
icons removed, replaced by text links visible on :hover

better ergonomy for automatic order: the "save manual order" submit button
only appears when a change is detected in the album ordering. The "automatic
sort order" becomes a dedicated fieldset, hidden by default, displayed "on
user demand".

new virtual album form displayed only "on user demand"

cat_list, cat_move and permalinks are 3 tabs for the "Albums > Manage" link
in the menubar.

permalinks admin page slightly redesign: fieldsets instead of centered h3,
"on user demand" form to add/modify permalinks.


git-svn-id: http://piwigo.org/svn/trunk@13282 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-20 19:28:43 +00:00
plegall
25200e2c25 convert tabulations into 2-spaces for indentation (introduced in r13240)
git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-19 19:59:22 +00:00
rvelices
a893882789 - multisize thumb longest side can be smaller than the square size
- remove unused css, shorten/optimize php called very often (at least theoretically should be faster)

git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18 20:46:46 +00:00
plegall
bea45c89b6 feature 2564: redesign on photo administration screen.
* one screen with several tabs (for now: properties + coi)

* double select boxes for album associations and representation have been
  converted to simple multiple select boxes with jQuery Chosen

* more details about the photo in an introduction text


git-svn-id: http://piwigo.org/svn/trunk@13077 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 10:52:07 +00:00
plegall
14f3e134e7 feature 2561: fix links on album administration screens
git-svn-id: http://piwigo.org/svn/trunk@13025 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-03 21:33:47 +00:00
plegall
ae6a63bee0 feature 2561: redesign on album administration screen.
* only one form on the screen and several tabs

* simpler URL pattern : page=album-123-properties / page=album-123-sort_order
  / page=album-123-permissions

* action to associate all photos of an album to another (new) virtual album
  was removed. This can be easily done with the new Batch Manager

* notification by email on an album still has to be moved on a new dedicated tab

* action icons (jump to album, manage photos, manage sub-albums, delete album...)
  replaced by plain text links


git-svn-id: http://piwigo.org/svn/trunk@13013 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-01 23:03:35 +00:00
rvelices
b7fff52095 feature 2548 multisize
- comments thumbnails + no more hard coded thumbnail sizes in css 
- removed admin thumbnail page + language cleanup

git-svn-id: http://piwigo.org/svn/trunk@12930 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-20 05:36:58 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
mistic100
c501688dbc feature:2549 Allow to disable comments for everybody
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14 22:29:10 +00:00