Commit Graph

73 Commits

Author SHA1 Message Date
plegall
6704632263 fixes #1291 change syntax to keep compatibility with PHP 5.3 (for now) 2021-01-21 11:01:18 +01:00
plegall
246f6fdf40 stats: l10n everything and use existing keys as much as possible 2021-01-06 10:11:50 +01:00
Zacharie
380129c051 Correction of a mistake on commit fd8394d : add history_summarize in stat.php 2020-06-18 14:24:22 +02:00
Zacharie
fd8394df07 Bug fixes on statistic page
* Statistic page is now more clean with 0 or 1 values (for new Piwigos)
 * Rectification of a mistake in functions_mysqli.inc.php (replace 'groups' by 'rank')
2020-06-17 14:31:15 +02:00
Zacharie
2e70ebf777 Several bug fixes
* Batch Manager no longer have a php error
 * Intro Graph display the actual week when it's monday
 * fix the "groups" reserved word
 * History is now summarize on the stats pag access
 * New piwigo no longer have PHP error due to stats.php
2020-06-16 12:20:04 +02:00
Zacharie
67647080ea Issue #1189 : Bug fix : graph now display last values even if they are null values 2020-06-12 15:33:35 +02:00
Zacharie
96d09f1f1a Issue #1189 : Bug and graphic problems fixes 2020-06-12 15:33:35 +02:00
Zacharie
5d24541dca Issue #1189 : Add a compare mode on years and month in the statistic page.
* Number of years compared is a configuration variable (default 5)
 * Months compared are the actual, the last and the actual month the last year (you can also visualize the average last 12 months)
2020-06-12 15:33:35 +02:00
Zacharie
d3df6cd731 Issue #1189 : Dark mode fix and clean code 2020-06-12 15:33:35 +02:00
Zacharie
b32daddafe Issue #1189 : Statistic page redesign
* Statistic page totally redesign, replace by a single graphic which display for last hours, days, months and years
 * Add Chart.js plugin for graphic representation
 * Add Moment.js plugin for time operations
2020-06-12 15:33:35 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
5fb18eda36 feature #509 summarize history more often
Every 1000 log entry inserted, Piwigo performs an history summarize.

The summarize process has also been optimized: no longer used column
history.summarized (no longer need to update it, which took a lot in time),
we now save the history_id_from and history_id_to in history_summary table.
This way we know from where to start on next summarize.

For now, for a simple performance reason, we keep column history.summarized,
because removing it may take a long time on huge tables. Once we will have
automatic purge on history, it will be safer to drop this column.
2016-11-18 15:08:03 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01: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
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
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
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
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
nikrou
5a677f1151 Bug 1738 fixed : hour function doesn't exists for database other than mysql.
git-svn-id: http://piwigo.org/svn/trunk@6578 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22 21:01:05 +00:00
nikrou
fd0f465c59 Fix bug 1717 : SQLite: access failure on Admin > Tools > History
hour function doesn't exists

git-svn-id: http://piwigo.org/svn/trunk@6463 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-04 19:36:56 +00:00
nikrou
94d40c0eab Bug 1617 fixed : help page is displayed in current theme in public or admin pages
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 18:59:37 +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
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
nikrou
1040cae210 Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements
git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-15 12:26:09 +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
rvelices
5dbad41e2e - remove some unnecessary db columns (#history_summary.id, #history.year, month, day and hour)
git-svn-id: http://piwigo.org/svn/trunk@2333 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-06 01:04:58 +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
rvelices
7688a7cbb6 - history, stats and redirect go smarty
- lang correction
- small change in calling check_server_plugins (use by ref param instead of global)

git-svn-id: http://piwigo.org/svn/trunk@2245 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-03 12:50:54 +00:00
ddtddt
8ead4c5b8d code's cleaning thank you rub
git-svn-id: http://piwigo.org/svn/trunk@2187 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-20 20:22:33 +00:00
ddtddt
b0a987880a Correction of the bug 779.
File history.hrml in French


git-svn-id: http://piwigo.org/svn/trunk@2184 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-20 12:33:11 +00:00
rvelices
3013832c4b - remove unused css for IE7
- fix admin view plugin (due to a recent change elsewhere)
- remove an echo from admin/stats.php

git-svn-id: http://piwigo.org/svn/trunk@2108 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-28 02:22:57 +00:00
rub
f266c3b4cb Add tabsheet on administration pages.
Step 3: Tabsheet for configuration & history
        Change css tabsheet to do like p0w0 for all themes


git-svn-id: http://piwigo.org/svn/trunk@1881 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-08 22:14:14 +00:00
rvelices
9e71c703d3 history: removed some php warnings and reduced some annoying language warnings
git-svn-id: http://piwigo.org/svn/trunk@1782 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06 01:10:59 +00:00
plegall
3f04afc12a Bug fixed: infinite loop in history statistics summary when no data to
display.


git-svn-id: http://piwigo.org/svn/trunk@1733 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 09:05:39 +00:00
plegall
8e43a0fec1 Modification: the history summary graph does not use a true image anymore,
CSS divs are faster and don't require GD library.


git-svn-id: http://piwigo.org/svn/trunk@1729 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-17 23:06:24 +00:00
plegall
5d9a865fe1 Modification: new data model for history, more compact, more efficient. A
summary table is used as cache for history stats display.

New: a Perl script fill_history.pl was added to simulate a high load on
history table (making the efficiency of the new data model obvious).

Modification: function prepend_append_array_items moved from
include/functions_search.inc.php to include/functions_search.inc.php since
this function is used in new file admin/history.php

Modification: admin/images/*_stats.img.php replaced by a simpler and more
generic admin/images/stats.img.php unique file.

New: a history detail search page was added. Currently, only start and end
dates can be modified, it's just a beginning.


git-svn-id: http://piwigo.org/svn/trunk@1727 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-16 23:39:39 +00:00
nikrou
57a108d957 bug 423 fixed: & non encoded in image url
svn merge -r1356:1357 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1358 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-16 18:47:25 +00:00
plegall
5980db248a bug fixed: create_navigation_bar take into account clean URL if requested.
deletion: argument link_class (HTML class of links) in function
create_navigation_bar was removed, useless since branch 1.5.

bug fixed: rate_items are now a configuration parameter (set in config file)

modification: new functions library functions_rate.inc.php to reduce
picture.php length.

bug fixed: categories were never expanded in the menu since clean URLs.

bug fixed: changing pictures sorting order in main page was always
rederecting to root category.


git-svn-id: http://piwigo.org/svn/trunk@1084 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-16 22:34:45 +00:00
rub
31d9ce1604 Step 2 improvement issue 0000301:
o Add and use Functions Check of status
  o Restricted Access for user generic

git-svn-id: http://piwigo.org/svn/trunk@1072 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09 22:46:28 +00:00
plegall
1e904aeca4 merge -r1036:1037 from branches/branch-1_5 into trunk (bug 276 fixed)
git-svn-id: http://piwigo.org/svn/trunk@1038 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-02-13 21:44:17 +00:00
nikrou
c3397a2c73 Improve security of sessions:
- use only cookies to store session id on client side
- use default php session system with database handler to store sessions on server side

git-svn-id: http://piwigo.org/svn/trunk@1004 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-01-15 13:45:42 +00:00
volcom
7b9d91a8e6 2005-10-30 volcom
* bug 190 fixed: issue in stats.tpl display
	* bug fixed: labels of monthly, daily graph fixed


git-svn-id: http://piwigo.org/svn/trunk@918 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-30 20:35:39 +00:00
plegall
fdd92368c3 - bug fixed: link on a single day in Administration>General>History was
missing


git-svn-id: http://piwigo.org/svn/trunk@909 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-22 13:42:23 +00:00
plegall
f223675e5d - warning fixed: $_GET['year'] and $_GET['month'] are not always defined to
create navigation bar in admin/stats. $_GET['day'] does not exist


git-svn-id: http://piwigo.org/svn/trunk@904 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-19 21:59:14 +00:00
volcom
889b1240cd * new: history details by month,day
git-svn-id: http://piwigo.org/svn/trunk@894 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-10-17 07:21:30 +00:00
plegall
e624f27b5f - bug 163 fixed: link error when cookies disabled in admin/stats
git-svn-id: http://piwigo.org/svn/trunk@877 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-25 20:50:14 +00:00
plegall
b1c5e25b5e - bug 107 fixed: crash when logging visit on a category containing "'"
character. Correction reported from branch 1.4

- bug fixed: in admin/stats, incorrect SQL queries gave no result.


git-svn-id: http://piwigo.org/svn/trunk@868 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-18 21:56:56 +00:00
plegall
a32a5a7d36 - DATE() is available only since MySQL 4.1.1, replaced by DAYOFMONTH()
- array_fill function available only with PHP >= 4.2.0, replaced by a for
  loop


git-svn-id: http://piwigo.org/svn/trunk@775 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-26 20:47:16 +00:00