1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: NBC_UserAdvManager |
---|
4 | ** Change log ** |
---|
5 | *************************************** |
---|
6 | ***** Plugin history (branch 2.10)***** |
---|
7 | *************************************** |
---|
8 | |
---|
9 | -- 2.10.0-beta : Initial beta release for Piwigo compatibility |
---|
10 | -- 2.10.1-beta : Small correction on generated path |
---|
11 | -- 2.10.2-beta : Bug resolved on register validation page |
---|
12 | |
---|
13 | -- 2.10.3 : Final and fully functional release |
---|
14 | Bug resolved on plugin activation |
---|
15 | |
---|
16 | -- 2.10.4 : Bug fixed on profiles update |
---|
17 | |
---|
18 | -- 2.10.5 : Improved code on profiles update |
---|
19 | |
---|
20 | -- 2.10.6 : Old language packs (iso) deleted (forget from PWG 1.7.x version) |
---|
21 | |
---|
22 | -- 2.10.7 : Bug fixed on user's validation email sending |
---|
23 | |
---|
24 | -- 2.10.8 : ConfirmMail page looks better (Sylvia theme only) |
---|
25 | Improved code for checking author on guest comments |
---|
26 | |
---|
27 | -- 2.10.9 : Bug fixed - Missing english translation |
---|
28 | Bug fixed - Notice on forbidden characters function use |
---|
29 | Bug fixed - Audit on forbidden characters in username didn't work |
---|
30 | Adding of email provider exclusion (like *@hotmail.com) - Warning ! -> Known bug : This feature doesn't work on user profile page. So, already registered users can change their email address to a forbiden one. |
---|
31 | |
---|
32 | -- 2.10.9a : Email provider exclusion is no longer case sensitive |
---|
33 | |
---|
34 | -- 2.10.9b : Bug fixed - Home icon wasn't linked to gallery url in ConfirmMail page. If GALLERY_URL is not set, Home icon gets the pwg root path. |
---|
35 | |
---|
36 | -- 2.10.9c : Bug fixed - If Email provider exclusion is set off, new registered user will have a PHP notice on "Undefined variable: ncsemail" |
---|
37 | |
---|
38 | -- 2.10.9d : Code simplification - need no more ""template"" sub-directory in plugin directory for enhance "back link" icon in ConfirMail.tpl |
---|
39 | |
---|
40 | -- 2.10.9e : Compatibility improvement with PHP 5.3 - Some old functions will be deprecated like : |
---|
41 | ereg replaced by preg_match |
---|
42 | eregi replace by preg_match with "i" moderator |
---|
43 | split replace by preg_split |
---|
44 | |
---|
45 | -- 2.10.9f : Compatibility bug fixed when used with DynamicRecentPeriod plugin |
---|
46 | |
---|
47 | |
---|
48 | ***** Plugin history (branch 2.11)***** |
---|
49 | |
---|
50 | -- 2.11.0 : New tabsheet menu to manage ConfirMail functions (setting a timeout without validation, Cleanup expired user's accounts, Force confirmation, Renew validation key, list unvalidated users,...) |
---|
51 | Beautify plugin's main admin panel |
---|
52 | |
---|
53 | -- 2.11.1 : Bug fixed with install and upgrade functions |
---|
54 | Language files correction |
---|
55 | |
---|
56 | -- 2.11.2 : Bug fixed on bad query for unvalidated users display in unvalidated users list |
---|
57 | Bug fixed : Sql syntax error on plugin activation |
---|
58 | |
---|
59 | -- 2.11.3 : On Patricia's request (french forum and bug 1173), the unvalidated users management tab shows users according with the settings of unvalidated group and / or unvalidated status. |
---|
60 | Feature 1172 added : Email providers exclusion list can be set with CR/LF between each entry. The comma seperator (,) is still mandatory. |
---|
61 | Bug 1175 fixed : Bad translation tag in french language file. |
---|
62 | Improvement of unvalidated users management tab (feature 1174)- Expired users are displayed in red color text. |
---|
63 | |
---|
64 | -- 2.11.4 : Bug 1177 fixed : Width of excluded email providers list reset to ancient value (80 col) |
---|
65 | Bug 1179 fixed : Adding a notice in plugin inline documentation for use of validation groups and status. A default group must be set in Piwigo's groups settings and the "Guest" (or another user) must be set as default for status values. |
---|
66 | Bug 1182 fixed : Language tag missing in confirmation email generation |
---|
67 | |
---|
68 | -- 2.11.5 : Bug 1195 fixed : Registration displays the good title |
---|
69 | |
---|
70 | |
---|
71 | *************************************** |
---|
72 | ***** Plugin history (branch 2.12)***** |
---|
73 | *************************************** |
---|
74 | |
---|
75 | -- 2.12.0 : Bug 1206 fixed : All plugin functionnalities work in user's profile page |
---|
76 | Plugin's core code and admin panel refactoring |
---|
77 | Password control and enforcement : A complexity score is computed on user registration. If this score is less than the goal set by admin, the password choosen is rejected. |
---|
78 | Feature 1194 "Ghost Tracker" added : New plugin tab displays users who don't comes back to the gallery since x days. Ability to send email reminders and to delete reminded but "dead" users. It's the reason why this feature is called "Ghost Tracker". |
---|
79 | |
---|
80 | -- 2.12.1 : Rollback on admin panel improvement (it was a bad idea) |
---|
81 | |
---|
82 | -- 2.12.2 : Bug 1221 fixed - Adding of a new funtion to populate the lastvisit table on Ghost Tracker activation |
---|
83 | Bug 1224 fixed - Error in database after plugin activation |
---|
84 | Bug 1225 fixed - "Reminder" status don't change from "false" to "true" after the sent of a reminder email |
---|
85 | Some code beautify (SQL requests and HTML 4 strict for tpl) |
---|
86 | |
---|
87 | -- 2.12.3 : Bug 1226 fixed - "duplicate key error" when lastvisit table is not empty and on using Ghost Tracker init function |
---|
88 | |
---|
89 | -- 2.12.4 : Adding a password field control for SendMail2User - Neighborhood plugin compatibility improvement |
---|
90 | Bug 1229 fixed - Email was no longer mandatory when plugin was active, even if Piwigo's email madatory option was set. |
---|
91 | |
---|
92 | -- 2.12.5 : Bug 1233 fixed - "duplicate key error" when a user wants to register with an existing username. In fact, all standard Piwigo's register controls didn't work when plugin was activated. That fixes this too. |
---|
93 | Adding DE, ES and IT languages. All translations are not finalized and could be improved. |
---|
94 | Adding of description.txt file in language directories. |
---|
95 | |
---|
96 | -- 2.12.6 : Bug 1236 fixed - Admins was unable to add a new user in the user_list page. |
---|
97 | Beginning of IT translations |
---|
98 | |
---|
99 | -- 2.12.7 : Bug 1238 fixed - Simple custom email text wasn't send when Extended Description plugin wasn't set |
---|
100 | Bug 1245 fixed - Semicolons (;) are no longer allowed in text areas (mail info text, ConfirmMail text, reminder text,...). They'll be replaced by dots (.). |
---|
101 | Bug 1248 fixed - Php notice on user registration with a forbidden email domain |
---|
102 | Bug 1250 fixed - Email provider didn't work after the third exclusion in list |
---|
103 | Escaping all special characters typed in login name and recover them |
---|
104 | |
---|
105 | |
---|
106 | *************************************** |
---|
107 | ***** Plugin history (branch 2.13)***** |
---|
108 | *************************************** |
---|
109 | |
---|
110 | -- 2.13.0 : Bug 1246 fixed - Extended Description tags are working again ! Caution : The language used and saved in database is the one configured by default in the visitor's browser and not the language given by Language Switch. |
---|
111 | Evolution 1239 - New option to add a new tab that shows the number of days since their last visit for each registered user. |
---|
112 | Bug 1257 fixed - If email exclusion list begins with a CR-LF, an informative warning message is displayed (I was unable to delete automatically this CR-LF). |
---|
113 | Bug 1259 fixed - PHP notice on user addition by admin in user_list page. |
---|
114 | Bug 1260 fixed - Username case sensitivity is now fully functionnal in all users entries (user registration and admin panel) |
---|
115 | Evolution 1273 - Adding of reminder field in advanced user management tab. This allows to see if a reminder have already been send. |
---|
116 | Evolution 1292 - Adding of navigation bar in tabs where users are listed (when more than 1 page is needed to display users). |
---|
117 | Code refactory and improvements. |
---|
118 | Translations improvements. |
---|
119 | |
---|
120 | -- 2.13.1 : Bug 1302 fixed - Re-coded double email check on registration. |
---|
121 | Bug 1304 fixed - Adding of plugin version in plugin admin panel title. |
---|
122 | |
---|
123 | -- 2.13.2 : Bug 1308 fixed - Reminder emails have the good translated subject. |
---|
124 | |
---|
125 | -- 2.13.3 : Bug 1309 fixed - Forbidden characters in login name work fine again. |
---|
126 | Bug 1340 fixed - Explanation improvement for option "Nickname is mandatory for comments" |
---|
127 | Bug 1342 fixed - Calculation between last visit and today is ok and displays the good color in user list. |
---|
128 | Italian language improvement (thx to Rio) |
---|
129 | |
---|
130 | -- 2.13.4 : Add of obsolete files management |
---|
131 | Bug 1303 and 1387 fixed - Due to a bug in Piwigo's 2.0.8 switch_lang() function, the email contents using Extended Description tags wasn't taking user's language in account. A first fix is now set for the current 2.0.8 Piwigo's version and another one is ready to work for the next Piwigo's release. |
---|
132 | Bug 1444 fixed |
---|
133 | Bug 1445 fixed - The plugin's administration panel have been all reviewed and improved with text simplification and display enhancement. |
---|
134 | Bug 1463 fixed |
---|
135 | |
---|
136 | *** Feature temporarily postponed in a later version due to problems with ";" in text fields *** Add compatibility with FCK Editor plugin for email text fields |
---|
137 | |
---|
138 | |
---|
139 | *************************************** |
---|
140 | ***** Plugin history (branch 2.14)***** |
---|
141 | *************************************** |
---|
142 | |
---|
143 | -- 2.14.0 : Bug 1308 refixed - Piwigo 2.0.9 fixes the bug on switch_lang() function so the initial UAM fix is no longer needed |
---|
144 | Evolution 1392 - No more confirmation email for admins profile changing |
---|
145 | Evolution 1465 - Plugin's configuration data are now serialized in database |
---|
146 | Bug 1466 fixed - The plugin version is correctly displayed on Ghost Tracker tab |
---|
147 | Bug 1468 fixed - Java error (thx to cljosse) |
---|
148 | Evolution 1485 - The admin's can choose if the validation of registration have to be sent to users created by them |
---|
149 | Improving obsolete files cleaning |
---|
150 | Evolution 1488 - When an admin creates an account an information email is always sent to created user |
---|
151 | Code simplification - All variables are changed from "UserAdvManager" to "UAM" |
---|
152 | |
---|
153 | -- 2.14.1 : Bug 1497 fixed - Using users tracker without Ghost Tracker is now OK |
---|
154 | */ |
---|
155 | ?> |
---|