Commit graph

105 commits

Author SHA1 Message Date
rub
aed45457d7 little corrections
Merge branch-1_7 2219:2220 into BSF


git-svn-id: http://piwigo.org/svn/trunk@2221 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27 22:00:13 +00:00
rub
89623393d4 Resolved issue 0000784: Mail notification disabled on register user
Merge branch-1_7 2176:2177 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2178 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-12-11 06:10:38 +00:00
vdigital
65dbaa60c2 Add is_generic function
git-svn-id: http://piwigo.org/svn/trunk@2163 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-19 20:12:22 +00:00
vdigital
51e3d211c8 New: Language Switch plugin support
git-svn-id: http://piwigo.org/svn/trunk@2161 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-18 19:59:33 +00:00
rvelices
5aafffb22b - RSS feed is PWG charset
- iptc are now converted from iso-8859-1 or utf-8 (automatic detection) to pwg charset
- remove function get_language_filepath
- load_language also checks for the default language


git-svn-id: http://piwigo.org/svn/trunk@2132 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 22:43:09 +00:00
rvelices
e9becfa669 - PWG_CHARSET, DB_CHARSET and DB_COLLATE... utf-8 ready
git-svn-id: http://piwigo.org/svn/trunk@2127 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09 01:43:29 +00:00
rub
5132cc1f87 Resolved 0000759: email unique for each user
Fix bug of last commit 2115

git-svn-id: http://piwigo.org/svn/trunk@2124 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-06 06:41:18 +00:00
rub
f7196c793a Resolved 0000759: email unique for each user
git-svn-id: http://piwigo.org/svn/trunk@2115 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-01 22:07:47 +00:00
rvelices
92f80e5d79 feature 731: permissions at image level
- this is the first version - I wait for feedback before changing help files

git-svn-id: http://piwigo.org/svn/trunk@2084 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-11 02:24:51 +00:00
rub
f3b1fed9c6 Resolved issue 0000717: guest must be guest
git-svn-id: http://piwigo.org/svn/trunk@2055 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-07 09:23:04 +00:00
rub
843d56e38e Error on my last commit 2038
git-svn-id: http://piwigo.org/svn/trunk@2039 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-21 20:55:49 +00:00
rub
ebf2bba815 Resolved issue 0000708: Error on synchronization
Resolved issue 0000709: Error with $conf['default_admin_layout']



git-svn-id: http://piwigo.org/svn/trunk@2038 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-21 20:49:45 +00:00
rub
e8c396c06b Resolved issue 0000489: Mail address obligatory
git-svn-id: http://piwigo.org/svn/trunk@2032 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-10 22:01:18 +00:00
rub
182fb00f8f Resolved issue 0000697: with generic user a author name is necessary to comment picture.
+ Change way to determinate if user is a guest (use functions like is_admin)


git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-05 22:01:15 +00:00
rub
a0295117fe Issue 0000682: Error on user registration
On register page when the 2 passwords are not the same, an error occurs but user is also created.

=> Just error must be raised.

git-svn-id: http://piwigo.org/svn/trunk@1985 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-27 05:22:17 +00:00
rub
4001c9164e remove forgotten debug line
git-svn-id: http://piwigo.org/svn/trunk@1933 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-30 18:23:22 +00:00
rub
69b26ddc47 Issue 578
User guest must be real user

Step 2: Installation finished, guest must be used on list and group, corrections


git-svn-id: http://piwigo.org/svn/trunk@1930 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 22:30:04 +00:00
rub
7c43a3c62d Issue 578
User guest must be real user

Step 1: guest is a real user

On next commit, I finish installation and use of guest of user list and group

git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-28 19:57:00 +00:00
rub
c5da19e536 Fix bad default value for language on table user_info
Improve mail send (Undisclosed-recipients, switch language, ...)
Improve send an email to group members (Use Bcc, template, multi-language, ...) (But need more improvements)

git-svn-id: http://piwigo.org/svn/trunk@1904 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-13 23:01:16 +00:00
rvelices
bfb4b15d2f - bug 654: sql error on user comment (since my commit 1849)
- languages: english corrections + keep lang files sorted by key
- admin multi view correction: language was not always properly changed
- refactor function get_computed_categories (with rub's blessing)

git-svn-id: http://piwigo.org/svn/trunk@1860 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-26 23:52:22 +00:00
rub
027db797b2 Fix bug on my revision 1851.
git-svn-id: http://piwigo.org/svn/trunk@1854 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-23 23:50:26 +00:00
rub
6f03e29735 o Proposition: improved display of 'x images in y sub-categories' or 'x images in this category' for cases when categories contain both images and sub-categories
o Good idea of this new way for way conf['guest_access'], but I kept last implementation for access methods (Could be useful on future development)

git-svn-id: http://piwigo.org/svn/trunk@1851 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22 20:20:30 +00:00
rvelices
20ba76b753 - change the way conf['guest_access'] is handled so that web services work correctly (and also nbm.php and feed.php)
git-svn-id: http://piwigo.org/svn/trunk@1850 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22 05:31:08 +00:00
plegall
aabdb3e929 New: history logs high quality access via action.php. A new column
#history.is_high was added. Filter was added on administration history
detail view.

Modification: function get_sql_condition_FandF was slightly refactored for
presentation improvement.


git-svn-id: http://piwigo.org/svn/trunk@1817 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 22:53:02 +00:00
vdigital
7ee3f5579a Issue 0000614: Display hits under thumbnails like comments counter
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-28 20:56:10 +00:00
rvelices
e90aaffbd5 - revert feature 564: log the login of each user; but add the possibility to be
done by a plugin
- create a "standard" way to define PHP functions that we use but might not be
available in the current php version
- when a comment is rejected (spam, anti-flood etc), put the content back to the
browser in case there is a real user behind it
- now a comment can be entered only if the page was retrieved between 2 seconds
ago and 1 hour ago

git-svn-id: http://piwigo.org/svn/trunk@1744 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23 01:22:52 +00:00
rub
4489066c98 Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php
Add some plugin triggers:
  o for help
  o for language
  o for site manager
  o for advanced features

Allow to launch directly plugin page (without section key)

Add add_index plugin, available on site manager and advanced features

Configuration page and best help must be coming soon.



git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-08 00:16:10 +00:00
rub
cab8f98c4a Feature Issue ID 0000601: Filter all public pages with only recent elements
It's a finalized version.
Obsolete code of draft are removed.

You can filter categories and images with recent date period on your screen selection.
In the future, filter could be easy done on other type data (plugin?)

You can flat categories and sub-categories with a recent date period of your choice.

Next, perhaps, a panel to choice recent date for the 2 features.

On draft, there have problem with MySql 5, be careful!

Css problem not resolved:
  - Menu "Categories" is bad centered
  - Icon on dark too on the top


git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21 21:38:20 +00:00
rub
5046b3c210 Feature Issue ID 0000601: Filter all public pages with only recent elements
Last draft before final development.
There a icon for global mode and one other for local mode.

Counters are not good, filter on images are not everywhere applied, moment to update cache are not optimized, ...

Go to http://forum.phpwebgallery.net/viewtopic.php?id=9490


git-svn-id: http://piwigo.org/svn/trunk@1651 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-13 00:05:16 +00:00
rvelices
961640b8d6 - remove #user_cache_categories.is_child_date_last
- optimize code in get_icon
- correct css font-wigth:italic to font-style:italic
- aditionnal check on $conf['authorize_remembering'] before allowing auto_login

git-svn-id: http://piwigo.org/svn/trunk@1641 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 23:21:54 +00:00
rub
fd4d057426 Function compute_branch_cat_data was an internal function of update_user_cache_categorie
Move to global because function be redeclare when it's internal
 

git-svn-id: http://piwigo.org/svn/trunk@1640 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-07 23:10:21 +00:00
rub
63638b9b6d Resolved Issue ID 0000299:
o Add (new) icon of parent category with children categories including new images
  o Improved display text for images count
  o Improved (a little) mass_* functions

More explications on the forum.
You must call directly upgrade_feep.php (http://127.0.0.1/BSF/upgrade_feed.php for example)

git-svn-id: http://piwigo.org/svn/trunk@1624 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-01 23:31:19 +00:00
rvelices
7111d867b9 get rid of #users.auto_login_key
git-svn-id: http://piwigo.org/svn/trunk@1622 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-01 00:48:49 +00:00
rvelices
998385c48d plugins: added actions for register_user, delete_categories, delete_elements
and delete_user

git-svn-id: http://piwigo.org/svn/trunk@1605 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-14 00:51:15 +00:00
rub
9c3e182268 Resolved Issue ID 0000526:
o Add default group to new user

Allow to have n default groups.
Property are save on table #_group and can be modified on administration group screen.


git-svn-id: http://piwigo.org/svn/trunk@1583 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-30 23:34:31 +00:00
rub
a0e981198d Resolved Issue ID 0000526:
o Add default group to new user

Change default value and $conf name.


git-svn-id: http://piwigo.org/svn/trunk@1582 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-29 13:42:19 +00:00
rub
2433a7cb54 Resolved Issue ID 0000526:
o Add default group to new user




git-svn-id: http://piwigo.org/svn/trunk@1581 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-29 10:36:54 +00:00
rvelices
eaacbc7b2d - put back config['session_length'] disappeared in r1493 but has always been
used in the code (generates mysql errors on session garbage collector)
- fix auto_login (die mysql when session timed out, but user has remember)
- when a user reconnects from identification.php, the remember cookie was not
deleted
- fix all redirect warnings/errors (many changes - mainly in common.inc.php
and user.inc.php)
- reduced $conf['remember_me_length'] to 60 days, because now at each auto 
login the 60 days countdown restarts

git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-20 02:17:53 +00:00
rvelices
dbadd4defb put back the redirect function as it was in branch 1.6 (still not working perfectly with the auto_login)
git-svn-id: http://piwigo.org/svn/trunk@1567 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-19 21:53:18 +00:00
nikrou
e37424d1c1 line (error_log('...')) not wanted: debug
git-svn-id: http://piwigo.org/svn/trunk@1527 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-08 06:54:57 +00:00
nikrou
5ae82cf8d4 bug 451 fixed: in auto_login function slashes must be remove
before unserializing data contains in remember cookie


git-svn-id: http://piwigo.org/svn/trunk@1526 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-07 13:39:19 +00:00
nikrou
1873dbd062 Fix bug 451: improvement
small problem with reconnexion after session timeout
add auto-login function
all staff for session (connexion, auto-login and logout) 
is now in include/user.inc.php


git-svn-id: http://piwigo.org/svn/trunk@1511 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 09:34:27 +00:00
nikrou
5d06d43541 bug 451 fixed: problem with auto login
- add an auto_login_key in users_table
- $conf['session_length'] is no more useful 
    and sessions length will be 0 (until browser closed)
- add $conf['remember_me_name'] for cookie remember name


git-svn-id: http://piwigo.org/svn/trunk@1493 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-23 15:25:49 +00:00
rub
f9147af63c Reopened and Resolved Issue ID 0000459:
o get_email_address_as_display_text could be improve in order to display '' for null email value.




git-svn-id: http://piwigo.org/svn/trunk@1462 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-13 20:58:01 +00:00
rub
8a7fff22b0 Resolved Issue ID 0000456, 0000457, 0000459, 0000465:
o Fix bugs adviser mode



git-svn-id: http://piwigo.org/svn/trunk@1458 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-11 20:51:24 +00:00
plegall
cfbadffe5f merge -r1329:1330 from branch 1.5 to trunk (bug 378 fixed).
git-svn-id: http://piwigo.org/svn/trunk@1331 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-31 21:44:46 +00:00
plegall
b0751afea2 merge -r1281:1283 from branch 1.6 to trunk (bug 228 fixed one more time, and
other little things)


git-svn-id: http://piwigo.org/svn/trunk@1284 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-27 21:08:50 +00:00
rvelices
4d73790a1b merge r1230 from branch-1_6 into trunk
bugs 344 and 308: broken user id in $_SESSION due to php.ini register_globals

git-svn-id: http://piwigo.org/svn/trunk@1231 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-21 02:11:29 +00:00
plegall
42abf4c576 improvement: tags replace keywords. Better data model, less
limitations. Each image can be associated to as many tag as needed. Tags can
contain non ASCII characters. Oriented navigation with tags by association.


git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-02 22:26:19 +00:00
rvelices
7b4a6232ca fix: allow adviser message was not allowing cookies to be sent
fix: cookie deletion on logout uses ini_get (on some systems
ini_set(cookie_path) is ignored)

bug 322: locked category is visible to all the users/groups that have been
assigned the permissions

git-svn-id: http://piwigo.org/svn/trunk@1117 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-01 01:24:21 +00:00