Project

General

Profile

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

    
5
$Id: CHANGELOG 308 2006-02-06 15:19:03Z stefan $
6

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

    
13
------------------------------------- 2.6.2 -------------------------------------
14
03-Feb-2006 Stefan Braunewell (very big special thanks to John and Alex)
15
#	Fixed ticket #104 - commas in form field descriptions not allowed.
16
#	Cookie REMEMBER_KEY wasn't cleared in account/logout 
17
	and expiration date is now set to time in the past.
18
#	Smart login not working.
19
!	Changed mail calls to new function $wb->mail.
20
#	Form: ticket 124 added captcha settings check 
21
#	Ticket 118 added formfield type to check for email/text 
22
#	Ticket 115 changed comparision /modules/form/view.php 
23
#	Added correct timecheck in form submissions
24
!	Changed captcha.php call to include timestamp
25
!	Changed the e-mail validation code and added a mail function to class wb.
26
!	Forgotten password: if sending of e-mail fails, restore old password.
27
	Ticket #110
28
!	Added more charset options. Ticket #102 - thanks to ruebenwurzel!
29
!	Character encoding setting also affects admin backend.
30
	Mentioned in ticket #102.
31
!	Reintroduced page languages setting. If switched to off, page
32
	languages are only used to determine the language file for the
33
	universal texts. If on, displayed page and menu are affected by
34
	the language session variable.
35
#	Fixed bugs in show_breadcrumbs code and added parameter "depth"
36
	to set the number of levels to be show.
37
#	Fixed a bug where access settings of registered and private pages
38
	were displayed incorrectly.
39
#	Fixed captcha being cached.
40
#	Added an exit call after every heading("Location:...")
41
	redirector to prevent unwanted execution of code.
42
#	Bug #122. Replaced empty field check by check that setting name is
43
	not "wb_version".
44
#	Replaced all remaining occurrences of '/media' by MEDIA_DIRECTORY - bug #108.
45
#	Fixed bug #99 and two additional instances of typo 
46
	catpcha instead of captcha.
47
#	Fixed some typos
48
#	Fixed some notices and warnings.
49
#	Fixed bug #105 - back buttons in addon detail pages not editable.
50
!	Replace 'admin' by 'wb' in all account pages. 
51
!/#	Moved print_success and print_error code to class.wb.php.
52
	Added correct parameters to these functions in account pages. 
53
------------------------------------- 2.6.1 -------------------------------------
54
12-Dec-2005 Ryan Djurovich
55
#	Fixed security vulnerability in class.login.php
56
#	Fixed typo in EN language file
57
#	Fixed captcha problems (when feature is disabled) in form module and sign-up
58
!	Added charset encoding to admin templates
59
!	Added extra code to check for selection of addon upon uninstalling
60
#	Fixed bugs in RSS news feeder
61
#	Fixed bug with PAGE_DESCRIPTION not being set on any page
62

    
63
------------------------------------- 2.6.0 -------------------------------------
64
28-Nov-2005 Ryan Djurovich
65
+	Added default charset option to (advanced) settings
66
#	Form module email fields now have email address validation
67
#	Fixed spacing in form submissions
68
27-Nov-2005 Ryan Djurovich
69
+	Added captcha verification to sign-up form
70
+	Added Captcha to News module
71
24-Nov-2005 Stefan Braunewell
72
!	Applied aportale's patch to use label instead of javascript toggle code
73
20-Nov-2005 Ryan Djurovich
74
!	News mod now hides read more link if no need for it (see ticket #56)
75
+	Added support for mailto: links in the menu link mod
76
#	Added direct-access redirection on some files (see ticket #37)
77
+	Added extra characters to convert.php (see ticket #64)
78
#	Fixed ticket #65 (last_reset check in account/forgot_form.php)
79
29-Sep-2005 Ryan Djurovich
80
!	Cleaned up form buttons in Settings
81
!	Moved some options into Advanced Settings
82
#	Semi-disabled "separate" page trash option
83
+	Created a backup module/tool for backing-up the database
84
	(thanks to John (pcwacht) for the original code)
85
+	Created new "blank template", which can be used in case where you don't
86
	want anything wrapping page-content.
87
19-Sep-2005 Ryan Djurovich
88
+	Added _license field for all add-ons to specify a license
89
!	Renamed _designed_for variables (for all addons) to _platform
90
+	Created addons table for faster internal referencing of installed addons
91
!	Fixed some links, including the "Help" button in Admin
92
#	Used nl2br to display body correctly when viewing form-submissions
93
15-Sep-2005 Stefan Braunewell
94
+	Added table module with columns 'name','type' and 'directory' as an
95
	index.
96
+	Added entry to settings table 'wb_version' which holds the version
97
	number and can be utilized in future upgrade scripts.
98
!	Added upgrade functionality also for templates and languages.
99
#/!	Template/modules installation now respects paths.
100
!	Moved updates from config.php to database.
101
	Created initialize.php (required by config.php) to read settings.
102
11-Sep-2005 Stefan Braunewell
103
!	HTMLArea is now a module instead of a core component. Files moved
104
	from "include" to "modules".
105
+	Implemented Installation of modules on top of an older version. This is 
106
	done via checking $module_version. Instead of install.php, upgrade.php
107
	is then called if it exists in the module package. 
108
	For module developers: $module_version and $new_module_version are 
109
	accessible in upgrade.php to find out what upgrade steps need to be taken.
110
!	Changed column names in mod_news_posts from short,long to content_short,
111
	content_long.
112
09-Sep-2005 Stefan Braunewell
113
+	Added new advanced setting "Rename Files On Upload". File extensions can be
114
	given so that respective files will have a ".txt" appended on media upload.
115
#	Fixed "None found" message bug when user has no top level page edit
116
	rights.
117
#	Fixed missing parent option 'none' - ticket #12 - and a minor scope bug.
118
+	Added breadcrumbs code. Call using $wb->breadcrumbs().
119
+	Added utf-8 character encoding meta tag into all stock templates.
120
#	Fixed bug when changing a page's parent
121
!	Changed the way blocks are treated. Added new frontend class attribute
122
	default_block_content that controls what is shown on pages such as
123
	search, login, etc. (Ticket #16)
124
+	Added support for WYSIWYG editor modules (wysiwygmod)
125
+	When trying to access a registered page, user is automatically redirected
126
	there on successful login.
127
#	Fixed various issues with system search (mainly related to stripslashes()
128
#	Removed stripslashes() in many places in the code. Added check for
129
	magic_quotes_gpc to new wb class method add_slashes(). Now database contest
130
	is independent of magic_quotes setting..
131
05-Sep-2005 Stefan Braunewell
132
#	Fixed bug concerning direct access of preferences page.
133
#	Reworked page visibility and menu item visibility code (frontend login
134
	problem).
135
#	Pages in link list in htmlarea popup are now correctly ordered.
136
#	Fixed bug where group with existing name can be added.
137
04-Sep-2005 Ryan Djurovich
138
+	Added and RSS newsfeed script to the News module
139
04-Sep-2005 Stefan Braunewell
140
!	Rewrote menu function. Parameters are now given as attributes to frontend class.
141
#	Fixed some occurrences of potential direct access path disclosure
142
#	Added directory check to browse.php to prevent xss exploit by trusted users.
143
!	Updated code to reflect move to Subversion repository system.
144
27-Aug-2005 Stefan Braunewell
145
#	Fixed bugs 4,5,6,8,9 in bug tracker
146
!	Removed 'USER_LANGUAGE' and 'GET_LANGUAGE' constants.
147
	A GET['lang'] now sets the session language variable.
148
26-Aug-2005 Stefan Braunewell
149
!	Moved redundant code into the new class functions. Created 
150
	'compatibility.php' for backward compatibility with
151
	modules and templates. Variables and functions can still be accessed
152
	in the old way.
153
!/+	Reorganized core frontend files, added new base class 'wb' from
154
	which 'admin' and the new 'frontend' class inherit. Moved all frontend
155
	function into new class. Completely rewrote core index.php.
156
	Now all variables and functions that are available to templates and
157
	modules are attributes and methods of the frontend and the wb classes
158
------------------------------------- 2.5.2 -------------------------------------
159
23-Jun-2005 Ryan Djurovich
160
!	create_access_file now creates all parent directories if needed
161
#	Fixed bug when moving page with subpages to another level
162
#	Fixed bug when saving "Settings" (in Admin) on Windows/IIS
163
#	Fixed bug where query was not setting error correctly in class.database.php
164
22-Jun-2005 Ryan Djurovich
165
#	Fixed bug where template permissions were not saved when a adding group
166
21-Jun-2005 Ryan Djurovich
167
#	Added htmlspecialchars for modifying WYSIWYG, news, etc. modules (Bug #78)
168
#	Fixed language problems in some area's of Admin. (Bug #70)
169
#	Added a space in website/page keywords (Bug #69)
170
#	Fixed bugs on settings2.php (Bug #52)
171
!	Links inserted with HTMLArea now use [wblink--PAGE_ID--] instead of raw URL
172
13-Jun-2005 Ryan Djurovich
173
#	Fixed bug (#88) with news module
174
!	Title of Administration login page now taken from language file (Bug #72)
175
#	Fixed redirection admin/home to admin/start on admin/index.php
176
#	Fixed bug with forgotten password page in admin (Bug #81)
177
25-Apr-2005 Ryan Djurovich
178
#	Fixed numerous bugs with module uninstallation
179
#	Fixed bug when uploading files in Administration -> Media
180
!	Installer no-longer requires you to accept the GNU GPL
181
------------------------------------- 2.5.1 -------------------------------------
182
16-Apr-2005 Ryan Djurovich
183
#	Fixed two bugs with account login/logout
184
------------------------------------- 2.5.1 -------------------------------------
185
15-Apr-2005 Ryan Djurovich
186
#	Fixed bug where non-english characters can get used in page filenames. Many
187
	measuers have been added (including a new file: wb/framework/convert.php),
188
	to prevent any possible errors that can occur in page filenames.
189
#	Fixed invalid meta tags in stock templates (meta tags were not closed)
190
#	Removed lines 401, 402, and 425 of wb/index.php - not needed
191
#	Fixed bug where search and account pages are shown in every block
192
	that is in a template
193
#	Fixed numerous bugs with media home directories feature
194
10-Apr-2005 Ryan Djurovich
195
#	Fixed bugs in account/login.php and logout.php where users
196
	gets redirected to /pages
197
------------------------------------- 2.5.0 -------------------------------------
198
08-Apr-2005 Ryan Djurovich
199
-	Removed section language feature
200
+	Added page language feature (replaces need for sections language feature)
201
#	Fixed bug where pages using menu_link module can have the URL changed
202
-	Page directory no longer stored in link field in pages table, it is now added
203
	when the page_link function is called - this makes changing the pages
204
	directory much easier and quicker
205
!	Pages with visibility of "none" are now no longer directly accessable
206
+	Added new visibility setting "hidden", acts exactly like none did previously
207
!	Template info file can now specify number of menu's available and relative names
208
!	Template info file can now specify number of blocks's available and relative names
209
------------------------------------- 2.4.3 -------------------------------------
210
07-Apr-2005 Ryan Djurovich
211
#	page_filename function has been rewritten using str_replace
212
	function, which should be faster and will allow characters
213
	from other languages into filenames
214
!	Created new media_filename function, which is now used
215
	by all media functions (create,upload,rename) to determine
216
	which characters should be removed from a desired filename
217
+	New button in Administration page list to view specific page
218
#	Updated the page_link function to now be compatible with menu link
219
	module when setting pages directory to root
220
#	Fixed bugs in search when using "Any Words" option
221
#	Fixed bug with news module when pages directory set to root
222
!	Changed URL of documentation website on Administration Start page
223
------------------------------------- 2.4.2 -------------------------------------
224
05-Apr-2005 Ryan Djurovich
225
#	Fixed bug where file could be renamed to nothing in Media
226
!	Optimised Media create folder, upload file, and rename functions
227
#	Fixed bug where stripslashes not run on news post titles in admin
228
05-Apr-2005 Stefan Braunewell
229
#	Fixed bug concerning usage of the private_sql variable
230
#	Fixed bug conerning sub-pages being displayed in menus incorrectly
231
------------------------------------- 2.4.1 -------------------------------------
232
04-Apr-2005 Ryan Djurovich
233
!	Pages with visibility of "none" are again directly accessable
234
#	Fixed bugs regarding renaming files and directories in Media section
235
!	When home folders disabled, all folders now visible in Media section
236
------------------------------------- 2.4.0 -------------------------------------
237
03-Apr-2005 Ryan Djurovich
238
-	Removed recently added visibility setting of "heading", and relative config vars
239
+	Added new "menu" field to pages table, and new setting "multiple menus"
240
	which replaces the need for the menu headings feature
241
+	Added links to top of groups and users sections, linking to each other
242
!	Change menu width in "Round" template to 170px (was 150px)
243
#	Change page "are you sure" deletion message to mention that it will delete
244
	all sub-pages as well
245
#	Fixed many bugs with news module when viewing posts by group
246
!	Pages with visibility of "none" are now no longer directly accessable
247
02-Apr-2005 Ryan Djurovich
248
-	Removed need to specify DB_URL when calling database class
249
#	Stopped fields without a type specified from being shown in form mod
250
#	Changed '/media' to MEDIA_DIRECTORY on HTMLArea popup windows
251
	for insert link and insert image
252
+	Added setting which allows you to specify the default WYSIWYG style
253
+	Added "Server Email" option, to specify what is used in "From" field when
254
	sending emails using the PHP mail function. Default is admins email address.
255
#	Search now excludes pages which have a visibility of none or heading
256
!	Pages are now given modified_when and modified_by when added
257
01-Apr-2005 Ryan Djurovich
258
+	Added option to News module to specify how many posts should be listed
259
	per page (by default it is set to unlimited, which functions like previous version)
260
#	Added stripslashes when display page titles in search
261
+	Page descriptions and last updated date now shown in search by default
262
30-Mar-2005 Ryan Djurovich
263
+	Added new feature for Media home folders, where a folder can be specified
264
	for a specific user or group of users only
265
!	Changed URL of Help button to http://www.websitebaker.org/docs/
266
+	Added new feature for "Page Trash" - two modes available: inline and separate
267
!	When pages are deleted, all sub-pages are now deleted (instead of being moved
268
	up a level)
269
29-Mar-2005 Ryan Djurovich
270
-	Removed Database Settings from Administration Settings (options will not be
271
	available in 3.x, so trying to match interface with WB 3.x plans
272
!	Changed the name of Path Settings to Filesystem Settings in Administration
273
	Settings, and removed ability to change path/url options - matching interface
274
	plans for WB 3.x
275
+	Added same options for OS and file permissions as installer to Settings
276
!	Sessions now named with APP_NAME.'_session_id' (e.g. default is wb_session_id)
277
28-Mar-2005 Ryan Djurovich
278
+	New functions available to templates to simplify creation of them. This aims
279
	to "future-proof" templates for WB 3.x plans.
280
!	Default templates updated to support some of the new functions
281
+	Added field to pages table "page_trail" which stores a list of the pages
282
	parents. This field was needed by the new page_menu function
283
+	Added option for page visibility "heading" to enabled support for multiple
284
	menu's. Also, this helps to "future-proof" templates for WB 3.x plans
285
+	Added option for page visibility "registered", which acts a little like
286
	private, but is still shown in the menu (although users need to log in to view
287
	the pages content)
288
+	Form module submissions now saved to database, and feature now added to
289
	limit number of submissions per hour to prevent spamming
290
+	New field for Form module: email. Allows you to specify their email in
291
	"from" field on module settings.
292
#	Fixed bug when displaying comments in News module (WB Bug #14)
293
+	New "under contruction" message if no pages exist
294
!	Cleaned-up wb/index.php
295
27-Mar-2005 Ryan Djurovich
296
+	Created advanced mkdir and chmod functions
297
#	Fixed bug in media where wrong file/folder is deleted
298
+	Complete overhall of installer - now only one step! It has been greatly
299
	simplified in many ways, has much better validation, reports error much more
300
	nicely, and automatically logs the user into the Administrations
301
+	Must now specify OS type - allows for customizable file permission settings
302
+	Sections can now have a language code assigned to them
303
+	Sections can now have a block name/id assigned to them
304
!	Home section of Administration renamed to Start, to save confusion with saying
305
	Homepage (because this term could either mean the main website or Home section
306
	in	Administration). Also, this aims to unify the interface with WB 3.x plans
307
!	Moved Users and Groups sections under Access section. This aims to unify the
308
	interface with WB 3.x plans, which help to unclutter the menu
309
!	Interface for Settings section has been imporved for usability purposes
310
#	Fixed HTMLArea where no scrollbar for "insert link" and "insert image" dialogs
311
	by placing media list inside an iframe
312
#	Fixed stripslashes problem for viewing news comments
313
!	Added code from Formesque module (an advanced version of the original Form
314
	module, modified by Rudolph Lartey from www.carbonect.com), and made further
315
	interface improvements for select box/checkbox group/radio group options.
316
#	Possibly fixed bugs where an S appears before file and dir modes
317
#	Fixed bug where users can be added with same emails (in Administration)
318
-	Removed support for PEAR, as it was deemed an unnecessary addition which only
319
	makes code more bulky, and removing it will decrease package size a lot
320
+	New "homepage redirect" option so first page is included and not redirected to
321
#	Fixed text not being shown when module uninstalled
322
!	Imporved interface for basic group permissions
323
26-Mar-2005 Stefan Braunewell
324
#	Fixed bug with front-end logins
325
#	Fixed bug when saving intro page 
326
+	Added check on sign-up if e-mail exists (thanks to P. Melief)
327
#	Fixed bugs concerning moving/deleting pages
328
#	Fixed list of parents in page settings
329
#	Fixed mkdir without mode parameter
330
#	Added a check on install to ensure PHP 4.1.x compatibility (thanks to Wanderer)
331
+	Added support for PAGES_DIRECTORY set to root
332
+	Search form now supports quotes (thanks to Manafta)
333
#	Fixed page section ordering
334
#	News items are displayed with name of poster instead of "Unknown"
335
#	Deletion confirmation popup window in media section now shows correct file name
336
------------------------------------- 2.3.1 -------------------------------------
337
03-Fed-2005 Ryan Djurovich
338
+	Now there is two types of "filesystem modes", one for directories and one
339
	for files. Having different settings is very common for most servers, so
340
	this addition should fix many problems people had with 2.3.0.
341
-	Removed filesystem mode options from installation
342
!	Removed duplicate text on installation step 3 for timezone
343
!	All "access files" for the news module now stored in pages/posts instead
344
	of a sub-dir relative to the page (this fixes many bugs)
345
#	Fixed major bugs when deleting pages with sub-pages
346
!	Removed the restrictions that prevent a user for changing a pages level
347
#	Fixed bug with "toggle" plus/minus in IE for pages list
348
#	Fixed some bugs where /pages was not replaced with PAGES_DIRECTORY constant
349
------------------------------------- 2.3.0 -------------------------------------
350
26-Jan-2005 Ryan Djurovich
351
#	Fixed bug in framework/functions.php that made root parent always equal 8
352
#	Added missing braces in lines 182 and 208 of admin/pages/settings2.php
353
#	Fixed SQL-query on line 172, placing a / after $old_link
354
#	Added eregi checks for PAGES_DIRECTORY on lines 140 and 150 of
355
	admin/pages/settings2.php
356
#	Added ordering cleaning to delete_post.php on line 53 for news module
357
!	GMT option is selected for "Default Timezone" in the installer, instead
358
	of the old "Please select" message (which had the same value as GMT)
359
28-Jan-2005 Ryan Djurovich
360
!	Ability to specify the chmod number when WB uploads files, etc.
361
!	Modified file headers (copyright/license notice) so they now look almost the
362
	same, independant of font. Also, it now covers copyright for 2005.
363
30-Jan-2005 Ryan Djurovich
364
#	Added code on wb/admin/pages/delete.php to remove sections from the sections
365
	table when a page is deleted.
366
+	New 'Smart Login' prevents users from using external password managers,
367
	and can be set to remember the users password using cookies.
368
!	SourceForge CVS module now called websitebaker2 (instead of just
369
	websitebaker). Also, all file versions have been reset.
370
01-Fed-2005 Ryan Djurovich
371
!	Added code to prevent from changing a pages level (it simply disables
372
	the select box), to prevent many possible bugs.
373
------------------------------------- 2.2.4 -------------------------------------
374
23-Dec-2004 Ryan Djurovich
375
!	Change 'EXACT_PHRASE' to 'EXACT_MATCH' on line 261 of wb/languages/EN.php
376
#	Fixed multi-language support in search
377
+	Added more detailed options to list of PHP error reporting level's
378
-	Removed ability to change language and PHP error reporting level
379
	on installation to make things easier for newbie's
380
+	Ability to select custom spacer for page filename's
381
!	Changed the way a language code is found on language installation
382
+	Added template permissions to groups
383
#	Fixed bug when trying to change email from Preferences (admin and frontend)
384
#	Fixed bug with auto-selection of "System Default" for Preferences
385
!	News module now use's WYSIWYG for modifying news posts
386
+	Ability to specify both the pages and media target directories
387
------------------------------------ 2.2.3-c ------------------------------------
388
22-Dec-2004 Ryan Djurovich
389
#	Fixed problem with DB password being reset if Settings saved in basic mode
390
------------------------------------ 2.2.3-b ------------------------------------
391
21-Dec-2004 Ryan Djurovich
392
#	Fixed minor bug on admin templates section
393
#	Fixed bug on rename.php and rename2.php in admin media section
394
------------------------------------- 2.2.3 -------------------------------------
395
20-Dec-2004 Ryan Djurovich
396
+	Added WB release version in Administration (top right corner)
397
!	New option to prevent users from adding level 0 pages
398
#	Fixed bug when deleting post's in News module
399
+	Added new field in pages table for "root" parent (level 0 parent), for
400
	extra flexability in creating templates
401
!	Round template now supports unlimited page levels
402
------------------------------------- 2.2.2 -------------------------------------
403
18-Dec-2004 Ryan Djurovich
404
+	New option under Search Settings for selecting custom template for search
405
+	New option when changing page settings to set the target
406
#	Fixed error when saving a user after editing
407
!	Users can now modify sub-page if they dont have permissions on the parent
408
------------------------------------- 2.2.1 -------------------------------------
409
15-Dec-2004 Ryan Djurovich
410
#	Fixed bug when changing password on preferences form (front-end)
411
#	Fixed bug when retrieving user details (administration)
412
#	Added check to see if module, template, or language is in use when deleting
413
#	Fixed up email that is sent to user from a submitted form
414
#	Fixed major problem with module permissions which stopped it from working
415
------------------------------------- 2.2.0 -------------------------------------
416
14-Dec-2004 (Correct date[s] unkown) Ryan Djurovich
417
+	Multiple-level page support
418
+	Multiple section's for pages (including interface)
419
!	Removed text created using two words on all areas
420
	(e.g. {Intro} {PAGE} is now {INTRO_PAGE})
421
	this is for better language support
422
+	Added Languages section
423
!	Moved Templates and Modules under Add-ons section
424
!	Changed name of "Default" template to "Round"
425
+	Added "All CSS" template
426
+	Added "Jump"
427
+	Added 
428
!	Modified "Box" template to support multiple page levels
429
+	Added "Menu Link" module
430
+	Added "News" module
431
+	Added "Code" module
432
+	Added "Form" module
433
+	Added "Wrapper" module
434
!	Changed name of "Normal Page" module to "WYSIWYG"
435
+	Created new admin wrapper script to ease module develpment
436
+	Media now automatically creates index.php file for every
437
	sub-folder made (for security purposes)
438
!	Change "Help" link in Administration menu so it now directs
439
	to the the new Website Baker documentation website found at:
440
	http://www.websitebaker.org/documentation
441
!	Password is now required to change email in preferences
442
+	User can now select custom Language and Date & Time Formats
443
+	Added search functionality, with three different "methods":
444
	1. Using all words  2. Using any words  3. Exact match
445
+	Added native MySQL database support
(1-1/5)