Project

General

Profile

« Previous | Next » 

Revision 549

Added by doc almost 17 years ago

fixed bug in frontend login and multiple groups (in conjunction with error_reporting = E_ALL)

View differences:

trunk/CHANGELOG
1
Change Log
2
===============================================================================
3
Please note: This change log may not be accurate
4

  
5
$Id$
6

  
7
Legend:
8
+ = Added
9
- = Removed
10
# = Bugfix
11
! = Update/Change
12

  
13
------------------------------------- 2.7.0 -------------------------------------
14
17-Jan-2008 Matthias Gallas
15
#	Reintroduced changes from changeset 520 and 540 wich where overwritten 
16
	by changeset 546
17
#	Revoked changeset 541 end removed all PAGE_EXTENSION variables and the related
18
	option in WB settings as this function only works on Apache Servers
19
	together with .htaccess and mod_rewrite
20
+	Added keywords to file menu_link/uninstall.php and new admintools files
21
17-Jan-2008 Christian Sommer
22
!	added the "users in multiple groups" feature (closes parts of ticket #546)
23
16-Jan-2008 Thomas Hornik
24
!	changed admin/pages/save.php to allow hidden config-elements in table search.
25
!	changed module menu_link: added table mod_menu_link, fixed page-deleting-bug,
26
	fixed odd behavior in case of menu_link as default-page.
27
#	changing PHP-error-level within website baker does not work - fixed (fixed ticket 532)
28
14-Jan-2008 Matthias Gallas
29
#	Replaced hardcoded .php with the variable PAGE_EXTENSION for the use in pagenames.
30
	(!!Attention!! To get extenions other than .php working additional fixes are necessary!)
31
#	Replaced the variable PAGE_EXTENSION with hardcoded .php on all places where the
32
	pathes points to WB Corefiles with the page extension .php
33
#	Replaced hardcoded text in login.php with language variables (fixes ticket 386)
34
14-Jan-2008 Christian Sommer
35
!	added a missing </tr> tag
36
#	re-introduced bugfix of Changeset 472 (fixes ticket 402) accidentally 
37
	removed by Changeset 529 (enhanced pages admin)
38
13-Jan-2008 Christian Sommer
39
#	moved administration tools from Settings to the new section Admin-Tools
40
#	this bugfix closes the ticket 529 (WB upgrades modules with identical version)	
41
!	increased redirection time after success message, corrected HOME link of the login panel
42
!	updated PHPMailer framework to version 2.0.0 (/include/phpmailer)
43
#	this bugfix closes ticket 412 (direct call of admin/settings/save.php clears database)
44
#	fixed error with redirection to admin panel after installation
45
12-Jan-2008 Christian Sommer
46
!	introduced smart URL detection for the 'View' menu in the WB backend
47
	(if page_id is set, redirect to this page instead of the root)
48
!	introduced the enhanced pages admin dialogue (thanks to icouto)
49
11-Jan-2008 Christian Sommer
50
+	added the FCKEditor module files missing in Changeset 527 (/modules/fckeditor)
51
-	removed the hmtlarea files in /modules/htmlarea
52
!	set the fckeditor as the new default editor /install/save.php
53
!	Updated function: register_frontend_modfiles in /framework/frontend.functions.php
54
	(added constants MOD_FRONTEND_CSS_REGISTERED, MOD_FRONTEND_JAVASCRIPT_REGISTERED)
55
11-Jan-2008 Matthias Gallas
56
!	Update codepress to Version 0.9.6
57
!	Update phplib to Version 7.4a
58
09-Jan-2008 Matthias Gallas
59
!	Upgrade pclzip to the newer more php5 complaint version 2.6, see ticket #526
60
#	Fixed ticket #542 (Thanks to Thorn)
61
23-Dec-2007 Matthias Gallas
62
!	Changed all copyright notices to include now 2008
63
21-Sep-2007 Matthias Gallas
64
#	Fixed a typo in /framework/frontend.functions.php cause that websites using
65
	the new register_frontend_modifles() functions do not validate
66
24-Jan-2007 Christian Sommer
67
!	Replaced some core files to allow configuration of wbmailer via admin settings panel
68
------------------------------------- 2.6.7 -------------------------------------
69
02-Jan-2007 Christian Sommer
70
+	Added missing converting file for changeset [504]
71
------------------------------------- 2.6.6 -------------------------------------
72
01-Jul-2007 Matthias Gallas
73
#	Fixed converting issue with some ISO-charsets and speeded up converting on large pages (thanks to Thorn)
74
01-Jul-2007 Ryan Djurovich
75
#	Fixed bug where error message not displayed when script fails to create a page
76
#	Fixed bugs introduced in [484]
77
14-May-2007 Matthias Gallas
78
+	Added support for ISO-8859-6.(Thanks to thorn)
79
12-May-2007 Christian Sommer
80
+	Replaced functions page_css and page_javascript by register_frontend_modfiles
81
+	Added function register_backend_modfiles to allow backend modules to use optional CSS and JS files
82
+	Added the JS framework codepress to allow syntax highlighting for JS, HTML, PHP code (textarea)
83
+	Added the new function register_frontend_modfiles to the built in templates
84
08-May-2007 Matthias Gallas
85
+	Added wrapper to functions.php if mb_string is not available (Thanks to thorn)
86
+	Added new functions page_css and page_javascript to the built in templates
87
+	Added search highlight class to css files of the built in templates
88
30-Apr-2007 Matthias Gallas
89
#	Fixed ticket #392; root_parent not being set correctly (Thanks to eggsurplus)
90
10-Apr-2007 Matthias Gallas
91
+	Optimized search and highlighting funktions (Thanks to thorn)
92
03-Apr-2007 Matthias Gallas
93
#	Fixed a bug in menulink; if you deleted a menulink page the linked page was also deleted
94
	in the pages directory (Special thanks to "Funky_MF" for the fix)
95
01-Apr-2007 Matthias Gallas
96
#	Fixed issues with some languages when UTF8 is used. Removed all htmlentites
97
	from the code (revoked changeset 396) and added new functions instead. Adapted the
98
	search and the highlighting to use the new functions. With this changes WB can now
99
	be used with charset UTF8 for all languages. Very special thanks to Thorn who wrote
100
	and tested this changes.
101
12-Mar-2007 Matthias Gallas
102
+	Added multilingual support to search
103
03-Mar-2007 Matthias Gallas
104
+	Added new function for highlighting search results in the content area
105
	(Special thanks to "thorn" and "Funky_MF")
106
#	Fixed some issues in search with special chars
107
	(Special thanks to "thorn" and "Funky_MF")
108
22-Feb-2007 Christian Sommer
109
#	Fixed bug in changeset 428 (page files were not deleted in /pages folder due to a typo in wb/framework/function.php)
110
16-Feb-2007 Christian Sommer
111
!	Suppressed PHP warnings and errors when reading empty intro.php
112
16-Feb-2007 Christian Sommer
113
#	Applied fix to enable parsing of PHP code in the intro.php 
114
12-Feb-2007 Christian Sommer
115
!	Added functions page_css and page_javascript which allow to include optional
116
	module files module.css and module.js into the <head> section. This allows to 
117
	create valid (X)HTML, as CSS definitions of modules are included in the head section
118
12-Feb-2007 Christian Sommer
119
!	Security enhancement (reduced number of login trials from 50 to 3)
120
02-Feb-2007 Matthias Gallas
121
#	Applied fix for ticket #380 (Thanks to pcwacht)
122
30-Jan-2007 Ryan Djurovich
123
#	Applied fix for ticket #376
124
29-Jan-2007 Matthias Gallas
125
+	Added new variable $MODULE_DESCRIPTION wich allows to have optional a language
126
	specific description of the modules in the language files of the modules.
127
21-Jan-2007 Matthias Gallas
128
#	Fixed issue in the search table entries of form modul
129
13-Jan-2007 Matthias Gallas
130
#	Fixed some bugs in rss.php
131
07-Jan-2007 Matthias Gallas
132
#	Fixed error when uninstalling the news modul
133
02-Jan-2007 Matthias Gallas
134
+   Added id keywords to all missing files
135
#	Fixed issue with Permissions for pages sections
136
27-Dec-2006 Matthias Gallas
137
#	Fixed form modul stores empty records
138
------------------------------------- 2.6.5 -------------------------------------
139
25-Dec-2006 Ryan Djurovich
140
!	Changed links to WB help website
141
24-Dec-2006 Matthias Gallas
142
#	Fixed some minor javascript errors in admin (thanks to pcwacht)
143
#	Fixed root_parent doesn't get updated when moving item in menu (#305)
144
!	Changed all copyright notices to include now 2007
145
23-Dec-2006 Matthias Gallas
146
#	Fixed IE allows to set a page as parent of itself (#320)
147
#	Fixed problem with Page Title has to be escaped (#287)
148
#	Fixed the possibility to call the index.php of the templates directly in the browser (#291)
149
21-Dec-2006 Matthias Gallas
150
#	Fixed missing message when adding a site without page title (#300)
151
21-Dec-2006 Ryan Djurovich
152
#	Fixed bug with captcha script (#346)
153
20-Dec-2006 Matthias Gallas
154
#	Fixed Return to Search Results Page (#365)
155
!	Set Version to 2.6.5
156
-	Removed Changeset 365 because this will be a part of WB 2.7.x
157
#	Fixed a little typo error in class.admin.php (#364)
158
26-Nov-2006 Ryan Djurovich
159
+	Added new script that could possibly be apart of 2.7.x as a replacement
160
	for having the pages directory 
161
17-Nov-2006 Matthias Gallas
162
#	Fixed fatal error in line 46 news/comment.php (thanks to eki)(#358)
163
15-Nov-2006 Matthias Gallas
164
#	Fixed again intropage doesn't work (#71)
165
20-Oct-2006 Matthias Gallas
166
+	Added phpmailer class (thanks to doc)
167
+	Added Remember-expanded-pages-in-admin (thanks to ephraimt)
168
+	Added List sorting in admin area (thanks to rsmith)
169
#	Fixed table width 100% are wrong displayed in container templates
170
	when IE is used (#350)
171
#	Fixed large space between menupoints in IE (#349)
172
#	Fixed Website description is not displayed when no page description
173
	available (#348)
174
#	Fixed group images in news modul cannot be stored (#342)
175
#	Fixed Typo in form/save_field.php (#341)
176
#	Fixed files in /pages/posts folder are not deleted (#340)
177
#	Fixed specialchars problem in the news modul (#339)
178
#	Fixed news modul stores empty records (#338)
179
#	Fixed Captcha didn't work in news comments (#337)
180
#	Fixed various php notices (#334)
181
+	Added new upgrade_function (thanks to kozmoz)
182
#	Fixed addons table isn't updated when a modul is updated (#332)
183
#	Fixed spelling errors in the signup2.php (#330)
184
#	Fixed MySQL 5.x missing default values for INT fields in all system
185
	and modules tables (#329)
186
#	Fixed installer does not insert admin user (#328)
187
+	Added support for getting page ID of page that referred search
188
	request (#327) (thanks to brofield)
189
#	Fixed search results generate invalid XHTML and notify warnings (#326)
190
Stefan Braunewell
191
#	Fixed Field 'last_reset' doesn't have a default value (#313)
192
+	Added get_post_escaped to wb class which automatically calls add_slashes
193
	on get_post output and used it in form/save_field.php
194
------------------------------------- 2.6.4 -------------------------------------
195
20-May-2006 Ryan Djurovich
196
#	Fixed security issues related to #237
197
#	Fixed typo in news save comment page (#282)
198
#	Fixed typo in news delete post page (#283)
199
!	Added multi-submission protection to form module (#119)
200
#	Added notice for when PHP Session Support appears to be disabled in installer,
201
	even if it is enabled and the problem actually lies in the users browser (#154)
202
19-May-2006 Ryan Djurovich
203
#	Fixed problem in forgotten login form where email field is too short (#207)
204
#	Fixed typo in forgotten login details email (#190)
205
15-May-2006 Stefan Braunewell
206
#	Fixed security issues (#237)
207
03-May-2006 Stefan Braunewell
208
#	Fixed problems with pre-2.6.0 modules in section list
209
#	Fixed e-mail bug caused by From: headers in internal mail function calls
210
	(#189)
211
#	E-mail validation in install script now accepts new top-level domains
212
	(#162)
213
#	Error status is now overwritten by next database query (#182)
214
#	Fixed obscure problem in htmlarea install script
215
------------------------------------- 2.6.3 -------------------------------------
216
19-Mar-2006 Stefan Braunewell
217
#	Fixed ticket #146: problems removing groups from viewers list of a page
218
16-Mar-2006 Stefan Braunewell
219
!	Changed link target selection. Now self, top and new. (Ticket #145)
220
#	Fixed ticket #143. Charset setting is now used in admin login and forgot
221
	password pages.
222
#	Some changes to the SQL code in the install script for improved 
223
	compatibility with new MySQL versions
224
#	Fixed ticket #134 - error on browsing media.
225
+	Improved backup module: new choice between full database or WB-related
226
	backup.
227
#	Fixed ticket #141 - admin now sees all folders in media
228
#	Fixed e-mail sending problems due to additional parameter in mail call.
229
#	Applied fix regarding ticket #138: new users now get deleted if
230
	sending e-mail fails.
231
#	Fixed ticket #137: Last Reset timer not reset in frontend forgotten 
232
	password process
233
#	Removed duplicate expression from modules/news/install.php which caused
234
	problems in installation
235

  
236
01-Mar-2006 Stefan Braunewell
237
#	Fixed ticket #68 - Safari problem with displaying all parents.
238
#	Fixed ticket #136 - mailing forgotten password in admin login screen leads 
239
	to fatal error.
240
!	Renamed tag [PROCESSTIME] to [PROCESS_TIME]
241
------------------------------------- 2.6.2 -------------------------------------
242
03-Feb-2006 Stefan Braunewell (very big special thanks to John and Alex)
243
#	Fixed ticket #104 - commas in form field descriptions not allowed.
244
#	Cookie REMEMBER_KEY wasn't cleared in account/logout 
245
	and expiration date is now set to time in the past.
246
#	Smart login not working.
247
!	Changed mail calls to new function $wb->mail.
248
#	Form: ticket 124 added captcha settings check 
249
#	Ticket 118 added formfield type to check for email/text 
250
#	Ticket 115 changed comparision /modules/form/view.php 
251
#	Added correct timecheck in form submissions
252
!	Changed captcha.php call to include timestamp
253
!	Changed the e-mail validation code and added a mail function to class wb.
254
!	Forgotten password: if sending of e-mail fails, restore old password.
255
	Ticket #110
256
!	Added more charset options. Ticket #102 - thanks to ruebenwurzel!
257
!	Character encoding setting also affects admin backend.
258
	Mentioned in ticket #102.
259
!	Reintroduced page languages setting. If switched to off, page
260
	languages are only used to determine the language file for the
261
	universal texts. If on, displayed page and menu are affected by
262
	the language session variable.
263
#	Fixed bugs in show_breadcrumbs code and added parameter "depth"
264
	to set the number of levels to be show.
265
#	Fixed a bug where access settings of registered and private pages
266
	were displayed incorrectly.
267
#	Fixed captcha being cached.
268
#	Added an exit call after every heading("Location:...")
269
	redirector to prevent unwanted execution of code.
270
#	Bug #122. Replaced empty field check by check that setting name is
271
	not "wb_version".
272
#	Replaced all remaining occurrences of '/media' by MEDIA_DIRECTORY - bug #108.
273
#	Fixed bug #99 and two additional instances of typo 
274
	catpcha instead of captcha.
275
#	Fixed some typos
276
#	Fixed some notices and warnings.
277
#	Fixed bug #105 - back buttons in addon detail pages not editable.
278
!	Replace 'admin' by 'wb' in all account pages. 
279
!/#	Moved print_success and print_error code to class.wb.php.
280
	Added correct parameters to these functions in account pages. 
281
------------------------------------- 2.6.1 -------------------------------------
282
12-Dec-2005 Ryan Djurovich
283
#	Fixed security vulnerability in class.login.php
284
#	Fixed typo in EN language file
285
#	Fixed captcha problems (when feature is disabled) in form module and sign-up
286
!	Added charset encoding to admin templates
287
!	Added extra code to check for selection of addon upon uninstalling
288
#	Fixed bugs in RSS news feeder
289
#	Fixed bug with PAGE_DESCRIPTION not being set on any page
290
------------------------------------- 2.6.0 -------------------------------------
291
28-Nov-2005 Ryan Djurovich
292
+	Added default charset option to (advanced) settings
293
#	Form module email fields now have email address validation
294
#	Fixed spacing in form submissions
295
27-Nov-2005 Ryan Djurovich
296
+	Added captcha verification to sign-up form
297
+	Added Captcha to News module
298
24-Nov-2005 Stefan Braunewell
299
!	Applied aportale's patch to use label instead of javascript toggle code
300
20-Nov-2005 Ryan Djurovich
301
!	News mod now hides read more link if no need for it (see ticket #56)
302
+	Added support for mailto: links in the menu link mod
303
#	Added direct-access redirection on some files (see ticket #37)
304
+	Added extra characters to convert.php (see ticket #64)
305
#	Fixed ticket #65 (last_reset check in account/forgot_form.php)
306
29-Sep-2005 Ryan Djurovich
307
!	Cleaned up form buttons in Settings
308
!	Moved some options into Advanced Settings
309
#	Semi-disabled "separate" page trash option
310
+	Created a backup module/tool for backing-up the database
311
	(thanks to John (pcwacht) for the original code)
312
+	Created new "blank template", which can be used in case where you don't
313
	want anything wrapping page-content.
314
19-Sep-2005 Ryan Djurovich
315
+	Added _license field for all add-ons to specify a license
316
!	Renamed _designed_for variables (for all addons) to _platform
317
+	Created addons table for faster internal referencing of installed addons
318
!	Fixed some links, including the "Help" button in Admin
319
#	Used nl2br to display body correctly when viewing form-submissions
320
15-Sep-2005 Stefan Braunewell
321
+	Added table module with columns 'name','type' and 'directory' as an
322
	index.
323
+	Added entry to settings table 'wb_version' which holds the version
324
	number and can be utilized in future upgrade scripts.
325
!	Added upgrade functionality also for templates and languages.
326
#/!	Template/modules installation now respects paths.
327
!	Moved updates from config.php to database.
328
	Created initialize.php (required by config.php) to read settings.
329
11-Sep-2005 Stefan Braunewell
330
!	HTMLArea is now a module instead of a core component. Files moved
331
	from "include" to "modules".
332
+	Implemented Installation of modules on top of an older version. This is 
333
	done via checking $module_version. Instead of install.php, upgrade.php
334
	is then called if it exists in the module package. 
335
	For module developers: $module_version and $new_module_version are 
336
	accessible in upgrade.php to find out what upgrade steps need to be taken.
337
!	Changed column names in mod_news_posts from short,long to content_short,
338
	content_long.
339
09-Sep-2005 Stefan Braunewell
340
+	Added new advanced setting "Rename Files On Upload". File extensions can be
341
	given so that respective files will have a ".txt" appended on media upload.
342
#	Fixed "None found" message bug when user has no top level page edit
343
	rights.
344
#	Fixed missing parent option 'none' - ticket #12 - and a minor scope bug.
345
+	Added breadcrumbs code. Call using $wb->breadcrumbs().
346
+	Added utf-8 character encoding meta tag into all stock templates.
347
#	Fixed bug when changing a page's parent
348
!	Changed the way blocks are treated. Added new frontend class attribute
349
	default_block_content that controls what is shown on pages such as
350
	search, login, etc. (Ticket #16)
351
+	Added support for WYSIWYG editor modules (wysiwygmod)
352
+	When trying to access a registered page, user is automatically redirected
353
	there on successful login.
354
#	Fixed various issues with system search (mainly related to stripslashes()
355
#	Removed stripslashes() in many places in the code. Added check for
356
	magic_quotes_gpc to new wb class method add_slashes(). Now database contest
357
	is independent of magic_quotes setting..
358
05-Sep-2005 Stefan Braunewell
359
#	Fixed bug concerning direct access of preferences page.
360
#	Reworked page visibility and menu item visibility code (frontend login
361
	problem).
362
#	Pages in link list in htmlarea popup are now correctly ordered.
363
#	Fixed bug where group with existing name can be added.
364
04-Sep-2005 Ryan Djurovich
365
+	Added and RSS newsfeed script to the News module
366
04-Sep-2005 Stefan Braunewell
367
!	Rewrote menu function. Parameters are now given as attributes to frontend class.
368
#	Fixed some occurrences of potential direct access path disclosure
369
#	Added directory check to browse.php to prevent xss exploit by trusted users.
370
!	Updated code to reflect move to Subversion repository system.
371
27-Aug-2005 Stefan Braunewell
372
#	Fixed bugs 4,5,6,8,9 in bug tracker
373
!	Removed 'USER_LANGUAGE' and 'GET_LANGUAGE' constants.
374
	A GET['lang'] now sets the session language variable.
375
26-Aug-2005 Stefan Braunewell
376
!	Moved redundant code into the new class functions. Created 
377
	'compatibility.php' for backward compatibility with
378
	modules and templates. Variables and functions can still be accessed
379
	in the old way.
380
!/+	Reorganized core frontend files, added new base class 'wb' from
381
	which 'admin' and the new 'frontend' class inherit. Moved all frontend
382
	function into new class. Completely rewrote core index.php.
383
	Now all variables and functions that are available to templates and
384
	modules are attributes and methods of the frontend and the wb classes
385
------------------------------------- 2.5.2 -------------------------------------
386
23-Jun-2005 Ryan Djurovich
387
!	create_access_file now creates all parent directories if needed
388
#	Fixed bug when moving page with subpages to another level
389
#	Fixed bug when saving "Settings" (in Admin) on Windows/IIS
390
#	Fixed bug where query was not setting error correctly in class.database.php
391
22-Jun-2005 Ryan Djurovich
392
#	Fixed bug where template permissions were not saved when a adding group
393
21-Jun-2005 Ryan Djurovich
394
#	Added htmlspecialchars for modifying WYSIWYG, news, etc. modules (Bug #78)
395
#	Fixed language problems in some area's of Admin. (Bug #70)
396
#	Added a space in website/page keywords (Bug #69)
397
#	Fixed bugs on settings2.php (Bug #52)
398
!	Links inserted with HTMLArea now use [wblink--PAGE_ID--] instead of raw URL
399
13-Jun-2005 Ryan Djurovich
400
#	Fixed bug (#88) with news module
401
!	Title of Administration login page now taken from language file (Bug #72)
402
#	Fixed redirection admin/home to admin/start on admin/index.php
403
#	Fixed bug with forgotten password page in admin (Bug #81)
404
25-Apr-2005 Ryan Djurovich
405
#	Fixed numerous bugs with module uninstallation
406
#	Fixed bug when uploading files in Administration -> Media
407
!	Installer no-longer requires you to accept the GNU GPL
408
------------------------------------- 2.5.1 -------------------------------------
409
16-Apr-2005 Ryan Djurovich
410
#	Fixed two bugs with account login/logout
411
------------------------------------- 2.5.1 -------------------------------------
412
15-Apr-2005 Ryan Djurovich
413
#	Fixed bug where non-english characters can get used in page filenames. Many
414
	measuers have been added (including a new file: wb/framework/convert.php),
415
	to prevent any possible errors that can occur in page filenames.
416
#	Fixed invalid meta tags in stock templates (meta tags were not closed)
417
#	Removed lines 401, 402, and 425 of wb/index.php - not needed
418
#	Fixed bug where search and account pages are shown in every block
419
	that is in a template
420
#	Fixed numerous bugs with media home directories feature
421
10-Apr-2005 Ryan Djurovich
422
#	Fixed bugs in account/login.php and logout.php where users
423
	gets redirected to /pages
424
------------------------------------- 2.5.0 -------------------------------------
425
08-Apr-2005 Ryan Djurovich
426
-	Removed section language feature
427
+	Added page language feature (replaces need for sections language feature)
428
#	Fixed bug where pages using menu_link module can have the URL changed
429
-	Page directory no longer stored in link field in pages table, it is now added
430
	when the page_link function is called - this makes changing the pages
431
	directory much easier and quicker
432
!	Pages with visibility of "none" are now no longer directly accessable
433
+	Added new visibility setting "hidden", acts exactly like none did previously
434
!	Template info file can now specify number of menu's available and relative names
435
!	Template info file can now specify number of blocks's available and relative names
436
------------------------------------- 2.4.3 -------------------------------------
437
07-Apr-2005 Ryan Djurovich
438
#	page_filename function has been rewritten using str_replace
439
	function, which should be faster and will allow characters
440
	from other languages into filenames
441
!	Created new media_filename function, which is now used
442
	by all media functions (create,upload,rename) to determine
443
	which characters should be removed from a desired filename
444
+	New button in Administration page list to view specific page
445
#	Updated the page_link function to now be compatible with menu link
446
	module when setting pages directory to root
447
#	Fixed bugs in search when using "Any Words" option
448
#	Fixed bug with news module when pages directory set to root
449
!	Changed URL of documentation website on Administration Start page
450
------------------------------------- 2.4.2 -------------------------------------
451
05-Apr-2005 Ryan Djurovich
452
#	Fixed bug where file could be renamed to nothing in Media
453
!	Optimised Media create folder, upload file, and rename functions
454
#	Fixed bug where stripslashes not run on news post titles in admin
455
05-Apr-2005 Stefan Braunewell
456
#	Fixed bug concerning usage of the private_sql variable
457
#	Fixed bug conerning sub-pages being displayed in menus incorrectly
458
------------------------------------- 2.4.1 -------------------------------------
459
04-Apr-2005 Ryan Djurovich
460
!	Pages with visibility of "none" are again directly accessable
461
#	Fixed bugs regarding renaming files and directories in Media section
462
!	When home folders disabled, all folders now visible in Media section
463
------------------------------------- 2.4.0 -------------------------------------
464
03-Apr-2005 Ryan Djurovich
465
-	Removed recently added visibility setting of "heading", and relative config vars
466
+	Added new "menu" field to pages table, and new setting "multiple menus"
467
	which replaces the need for the menu headings feature
468
+	Added links to top of groups and users sections, linking to each other
469
!	Change menu width in "Round" template to 170px (was 150px)
470
#	Change page "are you sure" deletion message to mention that it will delete
471
	all sub-pages as well
472
#	Fixed many bugs with news module when viewing posts by group
473
!	Pages with visibility of "none" are now no longer directly accessable
474
02-Apr-2005 Ryan Djurovich
475
-	Removed need to specify DB_URL when calling database class
476
#	Stopped fields without a type specified from being shown in form mod
477
#	Changed '/media' to MEDIA_DIRECTORY on HTMLArea popup windows
478
	for insert link and insert image
479
+	Added setting which allows you to specify the default WYSIWYG style
480
+	Added "Server Email" option, to specify what is used in "From" field when
481
	sending emails using the PHP mail function. Default is admins email address.
482
#	Search now excludes pages which have a visibility of none or heading
483
!	Pages are now given modified_when and modified_by when added
484
01-Apr-2005 Ryan Djurovich
485
+	Added option to News module to specify how many posts should be listed
486
	per page (by default it is set to unlimited, which functions like previous version)
487
#	Added stripslashes when display page titles in search
488
+	Page descriptions and last updated date now shown in search by default
489
30-Mar-2005 Ryan Djurovich
490
+	Added new feature for Media home folders, where a folder can be specified
491
	for a specific user or group of users only
492
!	Changed URL of Help button to http://www.websitebaker.org/docs/
493
+	Added new feature for "Page Trash" - two modes available: inline and separate
494
!	When pages are deleted, all sub-pages are now deleted (instead of being moved
495
	up a level)
496
29-Mar-2005 Ryan Djurovich
497
-	Removed Database Settings from Administration Settings (options will not be
498
	available in 3.x, so trying to match interface with WB 3.x plans
499
!	Changed the name of Path Settings to Filesystem Settings in Administration
500
	Settings, and removed ability to change path/url options - matching interface
501
	plans for WB 3.x
502
+	Added same options for OS and file permissions as installer to Settings
503
!	Sessions now named with APP_NAME.'_session_id' (e.g. default is wb_session_id)
504
28-Mar-2005 Ryan Djurovich
505
+	New functions available to templates to simplify creation of them. This aims
506
	to "future-proof" templates for WB 3.x plans.
507
!	Default templates updated to support some of the new functions
508
+	Added field to pages table "page_trail" which stores a list of the pages
509
	parents. This field was needed by the new page_menu function
510
+	Added option for page visibility "heading" to enabled support for multiple
511
	menu's. Also, this helps to "future-proof" templates for WB 3.x plans
512
+	Added option for page visibility "registered", which acts a little like
513
	private, but is still shown in the menu (although users need to log in to view
514
	the pages content)
515
+	Form module submissions now saved to database, and feature now added to
516
	limit number of submissions per hour to prevent spamming
517
+	New field for Form module: email. Allows you to specify their email in
518
	"from" field on module settings.
519
#	Fixed bug when displaying comments in News module (WB Bug #14)
520
+	New "under contruction" message if no pages exist
521
!	Cleaned-up wb/index.php
522
27-Mar-2005 Ryan Djurovich
523
+	Created advanced mkdir and chmod functions
524
#	Fixed bug in media where wrong file/folder is deleted
525
+	Complete overhall of installer - now only one step! It has been greatly
526
	simplified in many ways, has much better validation, reports error much more
527
	nicely, and automatically logs the user into the Administrations
528
+	Must now specify OS type - allows for customizable file permission settings
529
+	Sections can now have a language code assigned to them
530
+	Sections can now have a block name/id assigned to them
531
!	Home section of Administration renamed to Start, to save confusion with saying
532
	Homepage (because this term could either mean the main website or Home section
533
	in	Administration). Also, this aims to unify the interface with WB 3.x plans
534
!	Moved Users and Groups sections under Access section. This aims to unify the
535
	interface with WB 3.x plans, which help to unclutter the menu
536
!	Interface for Settings section has been imporved for usability purposes
537
#	Fixed HTMLArea where no scrollbar for "insert link" and "insert image" dialogs
538
	by placing media list inside an iframe
539
#	Fixed stripslashes problem for viewing news comments
540
!	Added code from Formesque module (an advanced version of the original Form
541
	module, modified by Rudolph Lartey from www.carbonect.com), and made further
542
	interface improvements for select box/checkbox group/radio group options.
543
#	Possibly fixed bugs where an S appears before file and dir modes
544
#	Fixed bug where users can be added with same emails (in Administration)
545
-	Removed support for PEAR, as it was deemed an unnecessary addition which only
546
	makes code more bulky, and removing it will decrease package size a lot
547
+	New "homepage redirect" option so first page is included and not redirected to
548
#	Fixed text not being shown when module uninstalled
549
!	Imporved interface for basic group permissions
550
26-Mar-2005 Stefan Braunewell
551
#	Fixed bug with front-end logins
552
#	Fixed bug when saving intro page 
553
+	Added check on sign-up if e-mail exists (thanks to P. Melief)
554
#	Fixed bugs concerning moving/deleting pages
555
#	Fixed list of parents in page settings
556
#	Fixed mkdir without mode parameter
557
#	Added a check on install to ensure PHP 4.1.x compatibility (thanks to Wanderer)
558
+	Added support for PAGES_DIRECTORY set to root
559
+	Search form now supports quotes (thanks to Manafta)
560
#	Fixed page section ordering
561
#	News items are displayed with name of poster instead of "Unknown"
562
#	Deletion confirmation popup window in media section now shows correct file name
563
------------------------------------- 2.3.1 -------------------------------------
564
03-Fed-2005 Ryan Djurovich
565
+	Now there is two types of "filesystem modes", one for directories and one
566
	for files. Having different settings is very common for most servers, so
567
	this addition should fix many problems people had with 2.3.0.
568
-	Removed filesystem mode options from installation
569
!	Removed duplicate text on installation step 3 for timezone
570
!	All "access files" for the news module now stored in pages/posts instead
571
	of a sub-dir relative to the page (this fixes many bugs)
572
#	Fixed major bugs when deleting pages with sub-pages
573
!	Removed the restrictions that prevent a user for changing a pages level
574
#	Fixed bug with "toggle" plus/minus in IE for pages list
575
#	Fixed some bugs where /pages was not replaced with PAGES_DIRECTORY constant
576
------------------------------------- 2.3.0 -------------------------------------
577
26-Jan-2005 Ryan Djurovich
578
#	Fixed bug in framework/functions.php that made root parent always equal 8
579
#	Added missing braces in lines 182 and 208 of admin/pages/settings2.php
580
#	Fixed SQL-query on line 172, placing a / after $old_link
581
#	Added eregi checks for PAGES_DIRECTORY on lines 140 and 150 of
582
	admin/pages/settings2.php
583
#	Added ordering cleaning to delete_post.php on line 53 for news module
584
!	GMT option is selected for "Default Timezone" in the installer, instead
585
	of the old "Please select" message (which had the same value as GMT)
586
28-Jan-2005 Ryan Djurovich
587
!	Ability to specify the chmod number when WB uploads files, etc.
588
!	Modified file headers (copyright/license notice) so they now look almost the
589
	same, independant of font. Also, it now covers copyright for 2005.
590
30-Jan-2005 Ryan Djurovich
591
#	Added code on wb/admin/pages/delete.php to remove sections from the sections
592
	table when a page is deleted.
593
+	New 'Smart Login' prevents users from using external password managers,
594
	and can be set to remember the users password using cookies.
595
!	SourceForge CVS module now called websitebaker2 (instead of just
596
	websitebaker). Also, all file versions have been reset.
597
01-Fed-2005 Ryan Djurovich
598
!	Added code to prevent from changing a pages level (it simply disables
599
	the select box), to prevent many possible bugs.
600
------------------------------------- 2.2.4 -------------------------------------
601
23-Dec-2004 Ryan Djurovich
602
!	Change 'EXACT_PHRASE' to 'EXACT_MATCH' on line 261 of wb/languages/EN.php
603
#	Fixed multi-language support in search
604
+	Added more detailed options to list of PHP error reporting level's
605
-	Removed ability to change language and PHP error reporting level
606
	on installation to make things easier for newbie's
607
+	Ability to select custom spacer for page filename's
608
!	Changed the way a language code is found on language installation
609
+	Added template permissions to groups
610
#	Fixed bug when trying to change email from Preferences (admin and frontend)
611
#	Fixed bug with auto-selection of "System Default" for Preferences
612
!	News module now use's WYSIWYG for modifying news posts
613
+	Ability to specify both the pages and media target directories
614
------------------------------------ 2.2.3-c ------------------------------------
615
22-Dec-2004 Ryan Djurovich
616
#	Fixed problem with DB password being reset if Settings saved in basic mode
617
------------------------------------ 2.2.3-b ------------------------------------
618
21-Dec-2004 Ryan Djurovich
619
#	Fixed minor bug on admin templates section
620
#	Fixed bug on rename.php and rename2.php in admin media section
621
------------------------------------- 2.2.3 -------------------------------------
622
20-Dec-2004 Ryan Djurovich
623
+	Added WB release version in Administration (top right corner)
624
!	New option to prevent users from adding level 0 pages
625
#	Fixed bug when deleting post's in News module
626
+	Added new field in pages table for "root" parent (level 0 parent), for
627
	extra flexability in creating templates
628
!	Round template now supports unlimited page levels
629
------------------------------------- 2.2.2 -------------------------------------
630
18-Dec-2004 Ryan Djurovich
631
+	New option under Search Settings for selecting custom template for search
632
+	New option when changing page settings to set the target
633
#	Fixed error when saving a user after editing
634
!	Users can now modify sub-page if they dont have permissions on the parent
635
------------------------------------- 2.2.1 -------------------------------------
636
15-Dec-2004 Ryan Djurovich
637
#	Fixed bug when changing password on preferences form (front-end)
638
#	Fixed bug when retrieving user details (administration)
639
#	Added check to see if module, template, or language is in use when deleting
640
#	Fixed up email that is sent to user from a submitted form
641
#	Fixed major problem with module permissions which stopped it from working
642
------------------------------------- 2.2.0 -------------------------------------
643
14-Dec-2004 (Correct date[s] unkown) Ryan Djurovich
644
+	Multiple-level page support
645
+	Multiple section's for pages (including interface)
646
!	Removed text created using two words on all areas
647
	(e.g. {Intro} {PAGE} is now {INTRO_PAGE})
648
	this is for better language support
649
+	Added Languages section
650
!	Moved Templates and Modules under Add-ons section
651
!	Changed name of "Default" template to "Round"
652
+	Added "All CSS" template
653
+	Added "Jump"
654
+	Added 
655
!	Modified "Box" template to support multiple page levels
656
+	Added "Menu Link" module
657
+	Added "News" module
658
+	Added "Code" module
659
+	Added "Form" module
660
+	Added "Wrapper" module
661
!	Changed name of "Normal Page" module to "WYSIWYG"
662
+	Created new admin wrapper script to ease module develpment
663
+	Media now automatically creates index.php file for every
664
	sub-folder made (for security purposes)
665
!	Change "Help" link in Administration menu so it now directs
666
	to the the new Website Baker documentation website found at:
667
	http://www.websitebaker.org/documentation
668
!	Password is now required to change email in preferences
669
+	User can now select custom Language and Date & Time Formats
670
+	Added search functionality, with three different "methods":
671
	1. Using all words  2. Using any words  3. Exact match
672
+	Added native MySQL database support
1
Change Log
2
===============================================================================
3
Please note: This change log may not be accurate
4

  
5
$Id$
6

  
7
Legend:
8
+ = Added
9
- = Removed
10
# = Bugfix
11
! = Update/Change
12

  
13
------------------------------------- 2.7.0 -------------------------------------
14
17-Jan-2008 Christian Sommer
15
#	fixed bug in frontend login and multiple groups (only in conjunction with E_ALL)
16

  
17
17-Jan-2008 Matthias Gallas
18
#	Reintroduced changes from changeset 520 and 540 wich where overwritten 
19
	by changeset 546
20
#	Revoked changeset 541 end removed all PAGE_EXTENSION variables and the related
21
	option in WB settings as this function only works on Apache Servers
22
	together with .htaccess and mod_rewrite
23
+	Added keywords to file menu_link/uninstall.php and new admintools files
24
17-Jan-2008 Christian Sommer
25
!	added the "users in multiple groups" feature (closes parts of ticket #546)
26
16-Jan-2008 Thomas Hornik
27
!	changed admin/pages/save.php to allow hidden config-elements in table search.
28
!	changed module menu_link: added table mod_menu_link, fixed page-deleting-bug,
29
	fixed odd behavior in case of menu_link as default-page.
30
#	changing PHP-error-level within website baker does not work - fixed (fixed ticket 532)
31
14-Jan-2008 Matthias Gallas
32
#	Replaced hardcoded .php with the variable PAGE_EXTENSION for the use in pagenames.
33
	(!!Attention!! To get extenions other than .php working additional fixes are necessary!)
34
#	Replaced the variable PAGE_EXTENSION with hardcoded .php on all places where the
35
	pathes points to WB Corefiles with the page extension .php
36
#	Replaced hardcoded text in login.php with language variables (fixes ticket 386)
37
14-Jan-2008 Christian Sommer
38
!	added a missing </tr> tag
39
#	re-introduced bugfix of Changeset 472 (fixes ticket 402) accidentally 
40
	removed by Changeset 529 (enhanced pages admin)
41
13-Jan-2008 Christian Sommer
42
#	moved administration tools from Settings to the new section Admin-Tools
43
#	this bugfix closes the ticket 529 (WB upgrades modules with identical version)	
44
!	increased redirection time after success message, corrected HOME link of the login panel
45
!	updated PHPMailer framework to version 2.0.0 (/include/phpmailer)
46
#	this bugfix closes ticket 412 (direct call of admin/settings/save.php clears database)
47
#	fixed error with redirection to admin panel after installation
48
12-Jan-2008 Christian Sommer
49
!	introduced smart URL detection for the 'View' menu in the WB backend
50
	(if page_id is set, redirect to this page instead of the root)
51
!	introduced the enhanced pages admin dialogue (thanks to icouto)
52
11-Jan-2008 Christian Sommer
53
+	added the FCKEditor module files missing in Changeset 527 (/modules/fckeditor)
54
-	removed the hmtlarea files in /modules/htmlarea
55
!	set the fckeditor as the new default editor /install/save.php
56
!	Updated function: register_frontend_modfiles in /framework/frontend.functions.php
57
	(added constants MOD_FRONTEND_CSS_REGISTERED, MOD_FRONTEND_JAVASCRIPT_REGISTERED)
58
11-Jan-2008 Matthias Gallas
59
!	Update codepress to Version 0.9.6
60
!	Update phplib to Version 7.4a
61
09-Jan-2008 Matthias Gallas
62
!	Upgrade pclzip to the newer more php5 complaint version 2.6, see ticket #526
63
#	Fixed ticket #542 (Thanks to Thorn)
64
23-Dec-2007 Matthias Gallas
65
!	Changed all copyright notices to include now 2008
66
21-Sep-2007 Matthias Gallas
67
#	Fixed a typo in /framework/frontend.functions.php cause that websites using
68
	the new register_frontend_modifles() functions do not validate
69
24-Jan-2007 Christian Sommer
70
!	Replaced some core files to allow configuration of wbmailer via admin settings panel
71
------------------------------------- 2.6.7 -------------------------------------
72
02-Jan-2007 Christian Sommer
73
+	Added missing converting file for changeset [504]
74
------------------------------------- 2.6.6 -------------------------------------
75
01-Jul-2007 Matthias Gallas
76
#	Fixed converting issue with some ISO-charsets and speeded up converting on large pages (thanks to Thorn)
77
01-Jul-2007 Ryan Djurovich
78
#	Fixed bug where error message not displayed when script fails to create a page
79
#	Fixed bugs introduced in [484]
80
14-May-2007 Matthias Gallas
81
+	Added support for ISO-8859-6.(Thanks to thorn)
82
12-May-2007 Christian Sommer
83
+	Replaced functions page_css and page_javascript by register_frontend_modfiles
84
+	Added function register_backend_modfiles to allow backend modules to use optional CSS and JS files
85
+	Added the JS framework codepress to allow syntax highlighting for JS, HTML, PHP code (textarea)
86
+	Added the new function register_frontend_modfiles to the built in templates
87
08-May-2007 Matthias Gallas
88
+	Added wrapper to functions.php if mb_string is not available (Thanks to thorn)
89
+	Added new functions page_css and page_javascript to the built in templates
90
+	Added search highlight class to css files of the built in templates
91
30-Apr-2007 Matthias Gallas
92
#	Fixed ticket #392; root_parent not being set correctly (Thanks to eggsurplus)
93
10-Apr-2007 Matthias Gallas
94
+	Optimized search and highlighting funktions (Thanks to thorn)
95
03-Apr-2007 Matthias Gallas
96
#	Fixed a bug in menulink; if you deleted a menulink page the linked page was also deleted
97
	in the pages directory (Special thanks to "Funky_MF" for the fix)
98
01-Apr-2007 Matthias Gallas
99
#	Fixed issues with some languages when UTF8 is used. Removed all htmlentites
100
	from the code (revoked changeset 396) and added new functions instead. Adapted the
101
	search and the highlighting to use the new functions. With this changes WB can now
102
	be used with charset UTF8 for all languages. Very special thanks to Thorn who wrote
103
	and tested this changes.
104
12-Mar-2007 Matthias Gallas
105
+	Added multilingual support to search
106
03-Mar-2007 Matthias Gallas
107
+	Added new function for highlighting search results in the content area
108
	(Special thanks to "thorn" and "Funky_MF")
109
#	Fixed some issues in search with special chars
110
	(Special thanks to "thorn" and "Funky_MF")
111
22-Feb-2007 Christian Sommer
112
#	Fixed bug in changeset 428 (page files were not deleted in /pages folder due to a typo in wb/framework/function.php)
113
16-Feb-2007 Christian Sommer
114
!	Suppressed PHP warnings and errors when reading empty intro.php
115
16-Feb-2007 Christian Sommer
116
#	Applied fix to enable parsing of PHP code in the intro.php 
117
12-Feb-2007 Christian Sommer
118
!	Added functions page_css and page_javascript which allow to include optional
119
	module files module.css and module.js into the <head> section. This allows to 
120
	create valid (X)HTML, as CSS definitions of modules are included in the head section
121
12-Feb-2007 Christian Sommer
122
!	Security enhancement (reduced number of login trials from 50 to 3)
123
02-Feb-2007 Matthias Gallas
124
#	Applied fix for ticket #380 (Thanks to pcwacht)
125
30-Jan-2007 Ryan Djurovich
126
#	Applied fix for ticket #376
127
29-Jan-2007 Matthias Gallas
128
+	Added new variable $MODULE_DESCRIPTION wich allows to have optional a language
129
	specific description of the modules in the language files of the modules.
130
21-Jan-2007 Matthias Gallas
131
#	Fixed issue in the search table entries of form modul
132
13-Jan-2007 Matthias Gallas
133
#	Fixed some bugs in rss.php
134
07-Jan-2007 Matthias Gallas
135
#	Fixed error when uninstalling the news modul
136
02-Jan-2007 Matthias Gallas
137
+   Added id keywords to all missing files
138
#	Fixed issue with Permissions for pages sections
139
27-Dec-2006 Matthias Gallas
140
#	Fixed form modul stores empty records
141
------------------------------------- 2.6.5 -------------------------------------
142
25-Dec-2006 Ryan Djurovich
143
!	Changed links to WB help website
144
24-Dec-2006 Matthias Gallas
145
#	Fixed some minor javascript errors in admin (thanks to pcwacht)
146
#	Fixed root_parent doesn't get updated when moving item in menu (#305)
147
!	Changed all copyright notices to include now 2007
148
23-Dec-2006 Matthias Gallas
149
#	Fixed IE allows to set a page as parent of itself (#320)
150
#	Fixed problem with Page Title has to be escaped (#287)
151
#	Fixed the possibility to call the index.php of the templates directly in the browser (#291)
152
21-Dec-2006 Matthias Gallas
153
#	Fixed missing message when adding a site without page title (#300)
154
21-Dec-2006 Ryan Djurovich
155
#	Fixed bug with captcha script (#346)
156
20-Dec-2006 Matthias Gallas
157
#	Fixed Return to Search Results Page (#365)
158
!	Set Version to 2.6.5
159
-	Removed Changeset 365 because this will be a part of WB 2.7.x
160
#	Fixed a little typo error in class.admin.php (#364)
161
26-Nov-2006 Ryan Djurovich
162
+	Added new script that could possibly be apart of 2.7.x as a replacement
163
	for having the pages directory 
164
17-Nov-2006 Matthias Gallas
165
#	Fixed fatal error in line 46 news/comment.php (thanks to eki)(#358)
166
15-Nov-2006 Matthias Gallas
167
#	Fixed again intropage doesn't work (#71)
168
20-Oct-2006 Matthias Gallas
169
+	Added phpmailer class (thanks to doc)
170
+	Added Remember-expanded-pages-in-admin (thanks to ephraimt)
171
+	Added List sorting in admin area (thanks to rsmith)
172
#	Fixed table width 100% are wrong displayed in container templates
173
	when IE is used (#350)
174
#	Fixed large space between menupoints in IE (#349)
175
#	Fixed Website description is not displayed when no page description
176
	available (#348)
177
#	Fixed group images in news modul cannot be stored (#342)
178
#	Fixed Typo in form/save_field.php (#341)
179
#	Fixed files in /pages/posts folder are not deleted (#340)
180
#	Fixed specialchars problem in the news modul (#339)
181
#	Fixed news modul stores empty records (#338)
182
#	Fixed Captcha didn't work in news comments (#337)
183
#	Fixed various php notices (#334)
184
+	Added new upgrade_function (thanks to kozmoz)
185
#	Fixed addons table isn't updated when a modul is updated (#332)
186
#	Fixed spelling errors in the signup2.php (#330)
187
#	Fixed MySQL 5.x missing default values for INT fields in all system
188
	and modules tables (#329)
189
#	Fixed installer does not insert admin user (#328)
190
+	Added support for getting page ID of page that referred search
191
	request (#327) (thanks to brofield)
192
#	Fixed search results generate invalid XHTML and notify warnings (#326)
193
Stefan Braunewell
194
#	Fixed Field 'last_reset' doesn't have a default value (#313)
195
+	Added get_post_escaped to wb class which automatically calls add_slashes
196
	on get_post output and used it in form/save_field.php
197
------------------------------------- 2.6.4 -------------------------------------
198
20-May-2006 Ryan Djurovich
199
#	Fixed security issues related to #237
200
#	Fixed typo in news save comment page (#282)
201
#	Fixed typo in news delete post page (#283)
202
!	Added multi-submission protection to form module (#119)
203
#	Added notice for when PHP Session Support appears to be disabled in installer,
204
	even if it is enabled and the problem actually lies in the users browser (#154)
205
19-May-2006 Ryan Djurovich
206
#	Fixed problem in forgotten login form where email field is too short (#207)
207
#	Fixed typo in forgotten login details email (#190)
208
15-May-2006 Stefan Braunewell
209
#	Fixed security issues (#237)
210
03-May-2006 Stefan Braunewell
211
#	Fixed problems with pre-2.6.0 modules in section list
212
#	Fixed e-mail bug caused by From: headers in internal mail function calls
213
	(#189)
214
#	E-mail validation in install script now accepts new top-level domains
215
	(#162)
216
#	Error status is now overwritten by next database query (#182)
217
#	Fixed obscure problem in htmlarea install script
218
------------------------------------- 2.6.3 -------------------------------------
219
19-Mar-2006 Stefan Braunewell
220
#	Fixed ticket #146: problems removing groups from viewers list of a page
221
16-Mar-2006 Stefan Braunewell
222
!	Changed link target selection. Now self, top and new. (Ticket #145)
223
#	Fixed ticket #143. Charset setting is now used in admin login and forgot
224
	password pages.
225
#	Some changes to the SQL code in the install script for improved 
226
	compatibility with new MySQL versions
227
#	Fixed ticket #134 - error on browsing media.
228
+	Improved backup module: new choice between full database or WB-related
229
	backup.
230
#	Fixed ticket #141 - admin now sees all folders in media
231
#	Fixed e-mail sending problems due to additional parameter in mail call.
232
#	Applied fix regarding ticket #138: new users now get deleted if
233
	sending e-mail fails.
234
#	Fixed ticket #137: Last Reset timer not reset in frontend forgotten 
235
	password process
236
#	Removed duplicate expression from modules/news/install.php which caused
237
	problems in installation
238

  
239
01-Mar-2006 Stefan Braunewell
240
#	Fixed ticket #68 - Safari problem with displaying all parents.
241
#	Fixed ticket #136 - mailing forgotten password in admin login screen leads 
242
	to fatal error.
243
!	Renamed tag [PROCESSTIME] to [PROCESS_TIME]
244
------------------------------------- 2.6.2 -------------------------------------
245
03-Feb-2006 Stefan Braunewell (very big special thanks to John and Alex)
246
#	Fixed ticket #104 - commas in form field descriptions not allowed.
247
#	Cookie REMEMBER_KEY wasn't cleared in account/logout 
248
	and expiration date is now set to time in the past.
249
#	Smart login not working.
250
!	Changed mail calls to new function $wb->mail.
251
#	Form: ticket 124 added captcha settings check 
252
#	Ticket 118 added formfield type to check for email/text 
253
#	Ticket 115 changed comparision /modules/form/view.php 
254
#	Added correct timecheck in form submissions
255
!	Changed captcha.php call to include timestamp
256
!	Changed the e-mail validation code and added a mail function to class wb.
257
!	Forgotten password: if sending of e-mail fails, restore old password.
258
	Ticket #110
259
!	Added more charset options. Ticket #102 - thanks to ruebenwurzel!
260
!	Character encoding setting also affects admin backend.
261
	Mentioned in ticket #102.
262
!	Reintroduced page languages setting. If switched to off, page
263
	languages are only used to determine the language file for the
264
	universal texts. If on, displayed page and menu are affected by
265
	the language session variable.
266
#	Fixed bugs in show_breadcrumbs code and added parameter "depth"
267
	to set the number of levels to be show.
268
#	Fixed a bug where access settings of registered and private pages
269
	were displayed incorrectly.
270
#	Fixed captcha being cached.
271
#	Added an exit call after every heading("Location:...")
272
	redirector to prevent unwanted execution of code.
273
#	Bug #122. Replaced empty field check by check that setting name is
274
	not "wb_version".
275
#	Replaced all remaining occurrences of '/media' by MEDIA_DIRECTORY - bug #108.
276
#	Fixed bug #99 and two additional instances of typo 
277
	catpcha instead of captcha.
278
#	Fixed some typos
279
#	Fixed some notices and warnings.
280
#	Fixed bug #105 - back buttons in addon detail pages not editable.
281
!	Replace 'admin' by 'wb' in all account pages. 
282
!/#	Moved print_success and print_error code to class.wb.php.
283
	Added correct parameters to these functions in account pages. 
284
------------------------------------- 2.6.1 -------------------------------------
285
12-Dec-2005 Ryan Djurovich
286
#	Fixed security vulnerability in class.login.php
287
#	Fixed typo in EN language file
288
#	Fixed captcha problems (when feature is disabled) in form module and sign-up
289
!	Added charset encoding to admin templates
290
!	Added extra code to check for selection of addon upon uninstalling
291
#	Fixed bugs in RSS news feeder
292
#	Fixed bug with PAGE_DESCRIPTION not being set on any page
293
------------------------------------- 2.6.0 -------------------------------------
294
28-Nov-2005 Ryan Djurovich
295
+	Added default charset option to (advanced) settings
296
#	Form module email fields now have email address validation
297
#	Fixed spacing in form submissions
298
27-Nov-2005 Ryan Djurovich
299
+	Added captcha verification to sign-up form
300
+	Added Captcha to News module
301
24-Nov-2005 Stefan Braunewell
302
!	Applied aportale's patch to use label instead of javascript toggle code
303
20-Nov-2005 Ryan Djurovich
304
!	News mod now hides read more link if no need for it (see ticket #56)
305
+	Added support for mailto: links in the menu link mod
306
#	Added direct-access redirection on some files (see ticket #37)
307
+	Added extra characters to convert.php (see ticket #64)
308
#	Fixed ticket #65 (last_reset check in account/forgot_form.php)
309
29-Sep-2005 Ryan Djurovich
310
!	Cleaned up form buttons in Settings
311
!	Moved some options into Advanced Settings
312
#	Semi-disabled "separate" page trash option
313
+	Created a backup module/tool for backing-up the database
314
	(thanks to John (pcwacht) for the original code)
315
+	Created new "blank template", which can be used in case where you don't
316
	want anything wrapping page-content.
317
19-Sep-2005 Ryan Djurovich
318
+	Added _license field for all add-ons to specify a license
319
!	Renamed _designed_for variables (for all addons) to _platform
320
+	Created addons table for faster internal referencing of installed addons
321
!	Fixed some links, including the "Help" button in Admin
322
#	Used nl2br to display body correctly when viewing form-submissions
323
15-Sep-2005 Stefan Braunewell
324
+	Added table module with columns 'name','type' and 'directory' as an
325
	index.
326
+	Added entry to settings table 'wb_version' which holds the version
327
	number and can be utilized in future upgrade scripts.
328
!	Added upgrade functionality also for templates and languages.
329
#/!	Template/modules installation now respects paths.
330
!	Moved updates from config.php to database.
331
	Created initialize.php (required by config.php) to read settings.
332
11-Sep-2005 Stefan Braunewell
333
!	HTMLArea is now a module instead of a core component. Files moved
334
	from "include" to "modules".
335
+	Implemented Installation of modules on top of an older version. This is 
336
	done via checking $module_version. Instead of install.php, upgrade.php
337
	is then called if it exists in the module package. 
338
	For module developers: $module_version and $new_module_version are 
339
	accessible in upgrade.php to find out what upgrade steps need to be taken.
340
!	Changed column names in mod_news_posts from short,long to content_short,
341
	content_long.
342
09-Sep-2005 Stefan Braunewell
343
+	Added new advanced setting "Rename Files On Upload". File extensions can be
344
	given so that respective files will have a ".txt" appended on media upload.
345
#	Fixed "None found" message bug when user has no top level page edit
346
	rights.
347
#	Fixed missing parent option 'none' - ticket #12 - and a minor scope bug.
348
+	Added breadcrumbs code. Call using $wb->breadcrumbs().
349
+	Added utf-8 character encoding meta tag into all stock templates.
350
#	Fixed bug when changing a page's parent
351
!	Changed the way blocks are treated. Added new frontend class attribute
352
	default_block_content that controls what is shown on pages such as
353
	search, login, etc. (Ticket #16)
354
+	Added support for WYSIWYG editor modules (wysiwygmod)
355
+	When trying to access a registered page, user is automatically redirected
356
	there on successful login.
357
#	Fixed various issues with system search (mainly related to stripslashes()
358
#	Removed stripslashes() in many places in the code. Added check for
359
	magic_quotes_gpc to new wb class method add_slashes(). Now database contest
360
	is independent of magic_quotes setting..
361
05-Sep-2005 Stefan Braunewell
362
#	Fixed bug concerning direct access of preferences page.
363
#	Reworked page visibility and menu item visibility code (frontend login
364
	problem).
365
#	Pages in link list in htmlarea popup are now correctly ordered.
366
#	Fixed bug where group with existing name can be added.
367
04-Sep-2005 Ryan Djurovich
368
+	Added and RSS newsfeed script to the News module
369
04-Sep-2005 Stefan Braunewell
370
!	Rewrote menu function. Parameters are now given as attributes to frontend class.
371
#	Fixed some occurrences of potential direct access path disclosure
372
#	Added directory check to browse.php to prevent xss exploit by trusted users.
373
!	Updated code to reflect move to Subversion repository system.
374
27-Aug-2005 Stefan Braunewell
375
#	Fixed bugs 4,5,6,8,9 in bug tracker
376
!	Removed 'USER_LANGUAGE' and 'GET_LANGUAGE' constants.
377
	A GET['lang'] now sets the session language variable.
378
26-Aug-2005 Stefan Braunewell
379
!	Moved redundant code into the new class functions. Created 
380
	'compatibility.php' for backward compatibility with
381
	modules and templates. Variables and functions can still be accessed
382
	in the old way.
383
!/+	Reorganized core frontend files, added new base class 'wb' from
384
	which 'admin' and the new 'frontend' class inherit. Moved all frontend
385
	function into new class. Completely rewrote core index.php.
386
	Now all variables and functions that are available to templates and
387
	modules are attributes and methods of the frontend and the wb classes
388
------------------------------------- 2.5.2 -------------------------------------
389
23-Jun-2005 Ryan Djurovich
390
!	create_access_file now creates all parent directories if needed
391
#	Fixed bug when moving page with subpages to another level
392
#	Fixed bug when saving "Settings" (in Admin) on Windows/IIS
393
#	Fixed bug where query was not setting error correctly in class.database.php
394
22-Jun-2005 Ryan Djurovich
395
#	Fixed bug where template permissions were not saved when a adding group
396
21-Jun-2005 Ryan Djurovich
397
#	Added htmlspecialchars for modifying WYSIWYG, news, etc. modules (Bug #78)
398
#	Fixed language problems in some area's of Admin. (Bug #70)
399
#	Added a space in website/page keywords (Bug #69)
400
#	Fixed bugs on settings2.php (Bug #52)
401
!	Links inserted with HTMLArea now use [wblink--PAGE_ID--] instead of raw URL
402
13-Jun-2005 Ryan Djurovich
403
#	Fixed bug (#88) with news module
404
!	Title of Administration login page now taken from language file (Bug #72)
405
#	Fixed redirection admin/home to admin/start on admin/index.php
406
#	Fixed bug with forgotten password page in admin (Bug #81)
407
25-Apr-2005 Ryan Djurovich
408
#	Fixed numerous bugs with module uninstallation
409
#	Fixed bug when uploading files in Administration -> Media
410
!	Installer no-longer requires you to accept the GNU GPL
411
------------------------------------- 2.5.1 -------------------------------------
412
16-Apr-2005 Ryan Djurovich
413
#	Fixed two bugs with account login/logout
414
------------------------------------- 2.5.1 -------------------------------------
415
15-Apr-2005 Ryan Djurovich
416
#	Fixed bug where non-english characters can get used in page filenames. Many
417
	measuers have been added (including a new file: wb/framework/convert.php),
418
	to prevent any possible errors that can occur in page filenames.
419
#	Fixed invalid meta tags in stock templates (meta tags were not closed)
420
#	Removed lines 401, 402, and 425 of wb/index.php - not needed
421
#	Fixed bug where search and account pages are shown in every block
422
	that is in a template
423
#	Fixed numerous bugs with media home directories feature
424
10-Apr-2005 Ryan Djurovich
425
#	Fixed bugs in account/login.php and logout.php where users
426
	gets redirected to /pages
427
------------------------------------- 2.5.0 -------------------------------------
428
08-Apr-2005 Ryan Djurovich
429
-	Removed section language feature
430
+	Added page language feature (replaces need for sections language feature)
431
#	Fixed bug where pages using menu_link module can have the URL changed
432
-	Page directory no longer stored in link field in pages table, it is now added
433
	when the page_link function is called - this makes changing the pages
434
	directory much easier and quicker
435
!	Pages with visibility of "none" are now no longer directly accessable
436
+	Added new visibility setting "hidden", acts exactly like none did previously
437
!	Template info file can now specify number of menu's available and relative names
438
!	Template info file can now specify number of blocks's available and relative names
439
------------------------------------- 2.4.3 -------------------------------------
440
07-Apr-2005 Ryan Djurovich
441
#	page_filename function has been rewritten using str_replace
442
	function, which should be faster and will allow characters
443
	from other languages into filenames
444
!	Created new media_filename function, which is now used
445
	by all media functions (create,upload,rename) to determine
446
	which characters should be removed from a desired filename
447
+	New button in Administration page list to view specific page
448
#	Updated the page_link function to now be compatible with menu link
449
	module when setting pages directory to root
450
#	Fixed bugs in search when using "Any Words" option
451
#	Fixed bug with news module when pages directory set to root
452
!	Changed URL of documentation website on Administration Start page
453
------------------------------------- 2.4.2 -------------------------------------
454
05-Apr-2005 Ryan Djurovich
455
#	Fixed bug where file could be renamed to nothing in Media
456
!	Optimised Media create folder, upload file, and rename functions
457
#	Fixed bug where stripslashes not run on news post titles in admin
458
05-Apr-2005 Stefan Braunewell
459
#	Fixed bug concerning usage of the private_sql variable
460
#	Fixed bug conerning sub-pages being displayed in menus incorrectly
461
------------------------------------- 2.4.1 -------------------------------------
462
04-Apr-2005 Ryan Djurovich
463
!	Pages with visibility of "none" are again directly accessable
464
#	Fixed bugs regarding renaming files and directories in Media section
465
!	When home folders disabled, all folders now visible in Media section
466
------------------------------------- 2.4.0 -------------------------------------
467
03-Apr-2005 Ryan Djurovich
468
-	Removed recently added visibility setting of "heading", and relative config vars
469
+	Added new "menu" field to pages table, and new setting "multiple menus"
470
	which replaces the need for the menu headings feature
471
+	Added links to top of groups and users sections, linking to each other
472
!	Change menu width in "Round" template to 170px (was 150px)
473
#	Change page "are you sure" deletion message to mention that it will delete
474
	all sub-pages as well
475
#	Fixed many bugs with news module when viewing posts by group
476
!	Pages with visibility of "none" are now no longer directly accessable
477
02-Apr-2005 Ryan Djurovich
478
-	Removed need to specify DB_URL when calling database class
479
#	Stopped fields without a type specified from being shown in form mod
480
#	Changed '/media' to MEDIA_DIRECTORY on HTMLArea popup windows
481
	for insert link and insert image
482
+	Added setting which allows you to specify the default WYSIWYG style
483
+	Added "Server Email" option, to specify what is used in "From" field when
484
	sending emails using the PHP mail function. Default is admins email address.
485
#	Search now excludes pages which have a visibility of none or heading
486
!	Pages are now given modified_when and modified_by when added
487
01-Apr-2005 Ryan Djurovich
488
+	Added option to News module to specify how many posts should be listed
489
	per page (by default it is set to unlimited, which functions like previous version)
490
#	Added stripslashes when display page titles in search
491
+	Page descriptions and last updated date now shown in search by default
492
30-Mar-2005 Ryan Djurovich
493
+	Added new feature for Media home folders, where a folder can be specified
494
	for a specific user or group of users only
495
!	Changed URL of Help button to http://www.websitebaker.org/docs/
496
+	Added new feature for "Page Trash" - two modes available: inline and separate
497
!	When pages are deleted, all sub-pages are now deleted (instead of being moved
498
	up a level)
499
29-Mar-2005 Ryan Djurovich
500
-	Removed Database Settings from Administration Settings (options will not be
501
	available in 3.x, so trying to match interface with WB 3.x plans
502
!	Changed the name of Path Settings to Filesystem Settings in Administration
503
	Settings, and removed ability to change path/url options - matching interface
504
	plans for WB 3.x
505
+	Added same options for OS and file permissions as installer to Settings
506
!	Sessions now named with APP_NAME.'_session_id' (e.g. default is wb_session_id)
507
28-Mar-2005 Ryan Djurovich
508
+	New functions available to templates to simplify creation of them. This aims
509
	to "future-proof" templates for WB 3.x plans.
510
!	Default templates updated to support some of the new functions
511
+	Added field to pages table "page_trail" which stores a list of the pages
512
	parents. This field was needed by the new page_menu function
513
+	Added option for page visibility "heading" to enabled support for multiple
514
	menu's. Also, this helps to "future-proof" templates for WB 3.x plans
515
+	Added option for page visibility "registered", which acts a little like
516
	private, but is still shown in the menu (although users need to log in to view
517
	the pages content)
518
+	Form module submissions now saved to database, and feature now added to
519
	limit number of submissions per hour to prevent spamming
520
+	New field for Form module: email. Allows you to specify their email in
521
	"from" field on module settings.
522
#	Fixed bug when displaying comments in News module (WB Bug #14)
523
+	New "under contruction" message if no pages exist
524
!	Cleaned-up wb/index.php
525
27-Mar-2005 Ryan Djurovich
526
+	Created advanced mkdir and chmod functions
527
#	Fixed bug in media where wrong file/folder is deleted
528
+	Complete overhall of installer - now only one step! It has been greatly
529
	simplified in many ways, has much better validation, reports error much more
530
	nicely, and automatically logs the user into the Administrations
531
+	Must now specify OS type - allows for customizable file permission settings
532
+	Sections can now have a language code assigned to them
533
+	Sections can now have a block name/id assigned to them
534
!	Home section of Administration renamed to Start, to save confusion with saying
535
	Homepage (because this term could either mean the main website or Home section
536
	in	Administration). Also, this aims to unify the interface with WB 3.x plans
537
!	Moved Users and Groups sections under Access section. This aims to unify the
538
	interface with WB 3.x plans, which help to unclutter the menu
539
!	Interface for Settings section has been imporved for usability purposes
540
#	Fixed HTMLArea where no scrollbar for "insert link" and "insert image" dialogs
541
	by placing media list inside an iframe
542
#	Fixed stripslashes problem for viewing news comments
543
!	Added code from Formesque module (an advanced version of the original Form
544
	module, modified by Rudolph Lartey from www.carbonect.com), and made further
545
	interface improvements for select box/checkbox group/radio group options.
546
#	Possibly fixed bugs where an S appears before file and dir modes
547
#	Fixed bug where users can be added with same emails (in Administration)
548
-	Removed support for PEAR, as it was deemed an unnecessary addition which only
549
	makes code more bulky, and removing it will decrease package size a lot
550
+	New "homepage redirect" option so first page is included and not redirected to
551
#	Fixed text not being shown when module uninstalled
552
!	Imporved interface for basic group permissions
553
26-Mar-2005 Stefan Braunewell
554
#	Fixed bug with front-end logins
555
#	Fixed bug when saving intro page 
556
+	Added check on sign-up if e-mail exists (thanks to P. Melief)
557
#	Fixed bugs concerning moving/deleting pages
558
#	Fixed list of parents in page settings
559
#	Fixed mkdir without mode parameter
560
#	Added a check on install to ensure PHP 4.1.x compatibility (thanks to Wanderer)
561
+	Added support for PAGES_DIRECTORY set to root
562
+	Search form now supports quotes (thanks to Manafta)
563
#	Fixed page section ordering
564
#	News items are displayed with name of poster instead of "Unknown"
565
#	Deletion confirmation popup window in media section now shows correct file name
566
------------------------------------- 2.3.1 -------------------------------------
567
03-Fed-2005 Ryan Djurovich
568
+	Now there is two types of "filesystem modes", one for directories and one
569
	for files. Having different settings is very common for most servers, so
570
	this addition should fix many problems people had with 2.3.0.
571
-	Removed filesystem mode options from installation
572
!	Removed duplicate text on installation step 3 for timezone
573
!	All "access files" for the news module now stored in pages/posts instead
574
	of a sub-dir relative to the page (this fixes many bugs)
575
#	Fixed major bugs when deleting pages with sub-pages
576
!	Removed the restrictions that prevent a user for changing a pages level
577
#	Fixed bug with "toggle" plus/minus in IE for pages list
578
#	Fixed some bugs where /pages was not replaced with PAGES_DIRECTORY constant
579
------------------------------------- 2.3.0 -------------------------------------
580
26-Jan-2005 Ryan Djurovich
581
#	Fixed bug in framework/functions.php that made root parent always equal 8
582
#	Added missing braces in lines 182 and 208 of admin/pages/settings2.php
583
#	Fixed SQL-query on line 172, placing a / after $old_link
584
#	Added eregi checks for PAGES_DIRECTORY on lines 140 and 150 of
585
	admin/pages/settings2.php
586
#	Added ordering cleaning to delete_post.php on line 53 for news module
587
!	GMT option is selected for "Default Timezone" in the installer, instead
588
	of the old "Please select" message (which had the same value as GMT)
589
28-Jan-2005 Ryan Djurovich
590
!	Ability to specify the chmod number when WB uploads files, etc.
591
!	Modified file headers (copyright/license notice) so they now look almost the
592
	same, independant of font. Also, it now covers copyright for 2005.
593
30-Jan-2005 Ryan Djurovich
594
#	Added code on wb/admin/pages/delete.php to remove sections from the sections
595
	table when a page is deleted.
596
+	New 'Smart Login' prevents users from using external password managers,
597
	and can be set to remember the users password using cookies.
598
!	SourceForge CVS module now called websitebaker2 (instead of just
599
	websitebaker). Also, all file versions have been reset.
600
01-Fed-2005 Ryan Djurovich
601
!	Added code to prevent from changing a pages level (it simply disables
602
	the select box), to prevent many possible bugs.
603
------------------------------------- 2.2.4 -------------------------------------
604
23-Dec-2004 Ryan Djurovich
605
!	Change 'EXACT_PHRASE' to 'EXACT_MATCH' on line 261 of wb/languages/EN.php
606
#	Fixed multi-language support in search
607
+	Added more detailed options to list of PHP error reporting level's
608
-	Removed ability to change language and PHP error reporting level
609
	on installation to make things easier for newbie's
610
+	Ability to select custom spacer for page filename's
611
!	Changed the way a language code is found on language installation
612
+	Added template permissions to groups
613
#	Fixed bug when trying to change email from Preferences (admin and frontend)
614
#	Fixed bug with auto-selection of "System Default" for Preferences
615
!	News module now use's WYSIWYG for modifying news posts
616
+	Ability to specify both the pages and media target directories
617
------------------------------------ 2.2.3-c ------------------------------------
618
22-Dec-2004 Ryan Djurovich
619
#	Fixed problem with DB password being reset if Settings saved in basic mode
620
------------------------------------ 2.2.3-b ------------------------------------
621
21-Dec-2004 Ryan Djurovich
622
#	Fixed minor bug on admin templates section
623
#	Fixed bug on rename.php and rename2.php in admin media section
624
------------------------------------- 2.2.3 -------------------------------------
625
20-Dec-2004 Ryan Djurovich
626
+	Added WB release version in Administration (top right corner)
627
!	New option to prevent users from adding level 0 pages
628
#	Fixed bug when deleting post's in News module
629
+	Added new field in pages table for "root" parent (level 0 parent), for
630
	extra flexability in creating templates
631
!	Round template now supports unlimited page levels
632
------------------------------------- 2.2.2 -------------------------------------
633
18-Dec-2004 Ryan Djurovich
634
+	New option under Search Settings for selecting custom template for search
635
+	New option when changing page settings to set the target
636
#	Fixed error when saving a user after editing
637
!	Users can now modify sub-page if they dont have permissions on the parent
638
------------------------------------- 2.2.1 -------------------------------------
639
15-Dec-2004 Ryan Djurovich
640
#	Fixed bug when changing password on preferences form (front-end)
641
#	Fixed bug when retrieving user details (administration)
642
#	Added check to see if module, template, or language is in use when deleting
643
#	Fixed up email that is sent to user from a submitted form
644
#	Fixed major problem with module permissions which stopped it from working
645
------------------------------------- 2.2.0 -------------------------------------
646
14-Dec-2004 (Correct date[s] unkown) Ryan Djurovich
647
+	Multiple-level page support
648
+	Multiple section's for pages (including interface)
649
!	Removed text created using two words on all areas
650
	(e.g. {Intro} {PAGE} is now {INTRO_PAGE})
651
	this is for better language support
652
+	Added Languages section
653
!	Moved Templates and Modules under Add-ons section
654
!	Changed name of "Default" template to "Round"
655
+	Added "All CSS" template
656
+	Added "Jump"
657
+	Added 
658
!	Modified "Box" template to support multiple page levels
659
+	Added "Menu Link" module
660
+	Added "News" module
661
+	Added "Code" module
662
+	Added "Form" module
663
+	Added "Wrapper" module
664
!	Changed name of "Normal Page" module to "WYSIWYG"
665
+	Created new admin wrapper script to ease module develpment
666
+	Media now automatically creates index.php file for every
667
	sub-folder made (for security purposes)
668
!	Change "Help" link in Administration menu so it now directs
669
	to the the new Website Baker documentation website found at:
670
	http://www.websitebaker.org/documentation
671
!	Password is now required to change email in preferences
672
+	User can now select custom Language and Date & Time Formats
673
+	Added search functionality, with three different "methods":
674
	1. Using all words  2. Using any words  3. Exact match
675
+	Added native MySQL database support
trunk/wb/admin/users/save.php
40 40
}
41 41

  
42 42
// Gather details entered
43
$groups_id = implode(",", $_POST['groups']);
43
$groups_id = (isset($_POST['groups'])) ? $groups_id = implode(",", $_POST['groups']) : '';
44 44
$active = $_POST['active'][0];
45 45
$username_fieldname = $admin->get_post('username_fieldname');
46 46
$username = strtolower($admin->get_post($username_fieldname));
trunk/wb/account/login.php
53 53
require_once(WB_PATH.'/framework/class.login.php');
54 54

  
55 55
// Create new login app
56
$redirect = (isset($_REQUEST['redirect'])) ? $_REQUEST['redirect'] : '';
56 57
$thisApp = new Login(
57 58
							array(
58 59
									"MAX_ATTEMPS" => "3",
......
64 65
									"MIN_PASSWORD_LEN" => "2",
65 66
									"MAX_USERNAME_LEN" => "30",
66 67
									"MAX_PASSWORD_LEN" => "30",
67
									"LOGIN_URL" => WB_URL."/account/login.php?redirect=".$_REQUEST['redirect'],
68
									"LOGIN_URL" => WB_URL."/account/login".PAGE_EXTENSION .'?redirect=' .$redirect,
68 69
									"DEFAULT_URL" => WB_URL.PAGES_DIRECTORY."/index.php",
69 70
									"TEMPLATE_DIR" => ADMIN_PATH."/login",
70 71
									"TEMPLATE_FILE" => "template.html",
......
72 73
									"FORGOTTEN_DETAILS_APP" => WB_URL."/account/forgot.php",
73 74
									"USERS_TABLE" => TABLE_PREFIX."users",
74 75
									"GROUPS_TABLE" => TABLE_PREFIX."groups",
75
									"REDIRECT_URL" => $_REQUEST['redirect']
76
									"REDIRECT_URL" => $redirect
76 77
							)
77 78
					);
78 79

  

Also available in: Unified diff