Commit Graph

106 Commits

Author SHA1 Message Date
Sam Wilson 8e9cb6de23 Quote 'rank' field name in SQL
Add backticks to reserved word 'rank' in SQL queries.

Bug: GH #919
2019-06-27 17:50:59 +02:00
plegall 9e629a2369 issue #1031 album manager, move breadcrumbs outside page title 2019-06-11 16:38:49 +02:00
plegall fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
Yann Le Boudec c9715d255d issue #1014 album manager redesign 2019-05-09 14:03:33 +02:00
Teatek 61b7974a8d ability to set album order with web API
* add method pwg.categories.setRank in Piwigo web API
2019-02-13 15:00:22 +01:00
plegall 48c4b88fec fixes #638, improve speed on finding sub-categories 2017-03-20 11:58:52 +01:00
plegall e59f69c3a5 fixes #300, album sort by date, make obvious we use photo dates 2017-03-09 11:58:06 +01:00
plegall 89fb9b1d64 fixes #231, add link to album edit page after create 2016-12-04 22:35:30 +01:00
plegall 7620b47309 feature #153, photo deletion mode when deleting album
Administrator can decide to delete all photos (even those associated to another
albums) or delete orphan photos or delete no photo at all.
2016-12-01 18:13:24 +01:00
plegall c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall f5561856a2 bug 3187: sort albums by names without accents
git-svn-id: http://piwigo.org/svn/trunk@30874 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-01-09 14:14:45 +00:00
mistic100 3217b14cc0 strict standards
git-svn-id: http://piwigo.org/svn/trunk@28939 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-04 10:30:54 +00:00
plegall f2704dcb62 feature 2809: sort albums by date
git-svn-id: http://piwigo.org/svn/trunk@28934 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-03 13:18:12 +00: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
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
plegall 5fb0ce9063 bug 3015 fixed: remove "manage album photos" from cat_list to avoid
misunderstanding with "photos sort order".

Add infos on album manager: number of photos and sub-albums


git-svn-id: http://piwigo.org/svn/trunk@26399 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-02 11:51:58 +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
mistic100 e6722ac1b4 delete replace_space function, modify get_cat_display_name_* functions
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 16:18:55 +00:00
mistic100 ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
plegall cd53c8fcd7 feature 2968 added: Add link to "edit this album" when managung sub-albums. Patch by msakik.
git-svn-id: http://piwigo.org/svn/trunk@24985 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-18 19:34:23 +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
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
plegall 39e9a1cdbd feature 2594: remove the Permissions link on the list of albums, because it is a tab on the Edit Album screen
git-svn-id: http://piwigo.org/svn/trunk@13666 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-23 10:27:54 +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 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
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
plegall ef19a77f6e merge r11040 from branch 2.2 to trunk
bug 1786 fixed: ability to prefilter the synchronize screen with a specific
album by clicking on the new "Synchronize" icon on album admin page or album
admin list.

This is not the solution proposed by Gotcha (ie a treeview to select the album
on the synchronize screen) but it solves the same problem.



git-svn-id: http://piwigo.org/svn/trunk@11041 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 09:18:32 +00:00
plegall 6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
plegall 38aad287eb feature 2089: finish removing element_set, now it's time for batch_manager
git-svn-id: http://piwigo.org/svn/trunk@8417 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 15:19:11 +00:00
plegall cfd6851c10 merge r8167 from branch 2.1 to trunk
bug 2031 fixed: redirection after category deletion preserves the current
node in the category tree.

+ the confirmation message is displayed after redirect, thanks to session



git-svn-id: http://piwigo.org/svn/trunk@8168 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-17 00:11:56 +00:00
patdenice e97974a42e feature 2060: Remove adviser from db structure.
Remove adviser from user_list page and some db queries.

git-svn-id: http://piwigo.org/svn/trunk@8131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 14:36:20 +00:00
patdenice 731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
rvelices 5ff171684e feature 1616: rename "category" into "album" (4th commit; almost there)
git-svn-id: http://piwigo.org/svn/trunk@6993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-21 21:14:54 +00:00
rvelices 7907d31a9c feature 1616: rename "category" into "album" (second commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6969 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-19 19:50:02 +00:00
plegall 1448b42df0 feature 408: ability to automatically sort sub-categories. The number of SQL
queries is constant, no matter the deepth of your tree.

+ refactor to avoid duplicate code (ascending/desceding should be only a
single parameter in a function, not 20 lines of duplicated code)


git-svn-id: http://piwigo.org/svn/trunk@6698 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-23 21:33:56 +00:00
nikrou 23cc91fcff Feature 1620 : add triggers on admin side for categories and batch mode.
git-svn-id: http://piwigo.org/svn/trunk@5933 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-21 12:51:48 +00:00
plegall 86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
plegall c695136e4d bug 1328: backport the pwg_token on trunk
bug 1329: backport the check_input_parameter on trunk

feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring
on this feature to make the code simpler and easier to maintain (I hope).

git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:25:39 +00:00
nikrou 7c6d4d7a0e remove picture delete displayed twice
redirect after delete to avoid errors

git-svn-id: http://piwigo.org/svn/trunk@5193 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 20:47:54 +00:00
Gotcha 7b4f21b997 Trunk merge r5076 from bug:1119
bug:1119


git-svn-id: http://piwigo.org/svn/trunk@5079 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-07 21:09:26 +00:00
nikrou 2e890e9597 Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02 14:54:22 +00:00
nikrou 924dd262ec Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20 14:17:04 +00:00
plegall 1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
vdigital fecb04f2ec Wigo becomes "goto".
Admin tpl files are moved.

git-svn-id: http://piwigo.org/svn/trunk@2530 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-14 07:16:15 +00:00
patdenice b7709eae0d Merge from branch-1_7 (r2432).
Add triggers for category name (render_category_name).
Add  strip_tags for ALT attribute on category thumbnail.

git-svn-id: http://piwigo.org/svn/trunk@2433 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-12 14:57:24 +00:00
rvelices 7942dccf9b - move #categories.date_last and nb_images to #user_cache_categories
git-svn-id: http://piwigo.org/svn/trunk@2324 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-01 01:12:34 +00:00
rvelices 23fcaf6b64 - merged function ordering() with update_global_rank() and also optimized the queries
git-svn-id: http://piwigo.org/svn/trunk@2306 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-20 22:20:20 +00:00
plegall 524011bfa6 Bug fixed: as rvelices notified me by email, my header replacement script was
bugged (r2297 was repeating new and old header).

By the way, I've also removed the replacement keywords. We were using them
because it was a common usage with CVS but it is advised not to use them with
Subversion. Personnaly, it is a problem when I search differences between 2
Piwigo installations outside Subversion.


git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05 14:14:07 +00:00
plegall 3f235497f3 Modification: new header on PHP files, PhpWebGallery renamed Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 22:57:23 +00:00