root/trunk/wifidog-auth/CHANGELOG @ 1324

Revision 1324, 132.0 KB (checked in by benoitg, 5 years ago)
  • Fix #42 (Node cannot be renamed)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
32008-01-16 Benoit Grégoire  <bock@step.polymtl.ca>
4        * Fix #42 (Node cannot be renamed)
5       
62008-01-16 Benoit Grégoire  <bock@step.polymtl.ca>
7        * Temporary patch for problem introduced in [1319]:  the menu did not display where main_area_top is empty (which is actually most places in the admin interface).  This shouldn't have been done in the first place, as it doesn't fix the problem the menu cause of theming, and worse causes people to edit MainUI_Display.tpl, causing such errors.  A network config option should have been provided to allow selecting in what area the menu goes.
8
92008-01-13 Benoit Grégoire  <bock@step.polymtl.ca>
10        * Permission.php:  Fix typo that caused "Tried to check if an object of class Server has a permission of type Network" errors.  Changed the id from NETWORK_PERM_ADD_NEW_NODE to NETWORK_PERM_ADD_NODE so it will auto-delete the corrupted permission.
11       
122008-01-11 Benoit Grégoire  <bock@step.polymtl.ca>
13        * Use the Dependency system to include PHPMailer and tweak Mail.php.  You'll need to re-run the Dpenedency stage of the install script. This allows:  Translating PHPMailer error messages, Actually having PHPMailer error messages, and displaying them properly.
14
152008-01-09 Benoit Grégoire  <bock@step.polymtl.ca>
16        * Add gettext calls, fixes #413
17       
182008-01-06 Benoit Grégoire  <bock@step.polymtl.ca>
19        * Some more work on the permission system.  At long last, close #358
20       
212008-01-05 Benoit Grégoire  <bock@step.polymtl.ca>
22        * French translation update from Frederic Sheedy (sheedf@gmail.com).  Closes #411
23
242007-12-30 Benoit Grégoire  <bock@step.polymtl.ca>
25        * Workaround IE6 braindeadness in the base theme.  Closes  #406.  Credit goes to Frederic Sheedy (sheedf@gmail.com)
26       
272007-12-23 Benoit Grégoire  <bock@step.polymtl.ca>
28        * Node.php:  Fix bug in setCurrentNode() reported by Vacio
29        * install.php, Dependency.php:  Commit install script improvements by Robin Jones
30       
312007-11-29 Benoit Grégoire  <bock@step.polymtl.ca>
32        * signup.tpl, lost_username.tpl, lost_password.tpl, resend_validation.tpl:  Move the error div near the button for coherence with the login page (and for the same reason).  In fact it was worse than the login page used to be:  the error message during signup could appear completely below the page for a user with a low resolution screeen (or big font), giving the form the apereance of doing absolutely nothing (it stumped even me as I was trying to help a user).
33
342007-11-23 Benoit Grégoire  <bock@step.polymtl.ca>
35        * UIUserList.php: Don't force it to be persistent, it prevented users from deleting it.
36
372007-11-15 Benoit Grégoire  <bock@step.polymtl.ca>
38        * Menu.php: Make individual submenus, and individual menu items CSS-targetable.
39
402007-11-05 Benoit Grégoire  <bock@step.polymtl.ca>
41        * Commit most of Robin Jones install script improvements.
42               
432007-10-22 Benoit Grégoire  <bock@step.polymtl.ca>
44        * Major security fix:  Fix the authenticator for a security breach where a user could get Internet access using an empty username.  LocalUser and LDAP were definitely vulnerable, RADIUS may have been.
45       
462007-10-01 Benoit Grégoire  <bock@step.polymtl.ca>
47        * Remove Array type hinting in Security.php. It's not supported in PHP < 5.1.  Fixes  #393
48
492007-10-01 Benoit Grégoire  <bock@step.polymtl.ca>
50        * Commited slightly modified patch by Robin Jones to implement #184
51
522007-09-25 Benoit Grégoire  <bock@step.polymtl.ca>
53        * Menu.php:  Fix a number of improper call time pass by reference
54
552007-09-24 Benoit Grégoire  <bock@step.polymtl.ca>
56        * locale/gensmarty.pl:  Heads up translators:  There was a bug in the regex; about 20 strings in the smarty templates were missed.
57        * Updated french translation
58
592007-09-20 Benoit Grégoire  <bock@step.polymtl.ca>
60        * install.php:  Hopefully fix #384, and remove pages unlikely to be implemented for 1.0
61       
622007-09-18 Benoit Grégoire  <bock@step.polymtl.ca>
63        * portal/index.php:  Add a call to garbage_collect() to fix #367
64
652007-09-17 Benoit Grégoire  <bock@step.polymtl.ca>
66        * SmartyWifidog:  If ANY of the mandatory dependencies (not just smarty) are missing, user will be redirected to the install script
67        * Move Smarty detection and install to common framework.  Take this opportunity to move to upgrade to latest Smarty since people will have to re-run the install script anyway.
68        * Fix #381 by applying patch from leandro@texnet.it, mea-culpa, I didn't know I broke the install script.
69       
702007-09-12 Benoit Grégoire  <bock@step.polymtl.ca>
71        * Scratch a few itches:  Fix the link from node admin to stats, minor CSS fixes
72
732007-09-11 Benoit Grégoire  <bock@step.polymtl.ca>
74        * VitrualHost.php: Close #373: Apply patch from leandro@texnet.it to fix mispelled table name in delete() method
75        * Close #374:  Add preliminary italian translation from leandro@texnet.it
76       
772007-09-10 Benoit Grégoire  <bock@step.polymtl.ca>
78        * Fix #370:  Dropdown Javascript menus didn't retract in Internet Explorer.  My thanks to Robin Jones for at least proposing a solution to the problem, even if it didn't work in this case.  The problem turned out to be a wrong regex in the IE workaround javascript.
79       
802007-09-09 Benoit Grégoire  <bock@step.polymtl.ca>
81        * Early OpenID support.  The auth server can now be used as an identity provider, with your profile page as the identity URL
82       
832007-09-08 Benoit Grégoire  <bock@step.polymtl.ca>
84        * Dependencies installation:  Improve layout, add embryo of unified install sytem (currently works for tarballs).  Improve error output.
85        * Add dependencies for future OpenId support
86        * AbstractDb:  Make sure to throw an exception, avoiding a blank page when trying to access the index page on a auth server that hasn't been setup.  Patch by Mathieu Bruno.
87
882007-09-04 Benoit Grégoire  <bock@step.polymtl.ca>
89        * cron/page.php:  Improve script to output what it did.
90        * fix typo in Node::DEPRECATEDgetTechnicalOfficers(), that prevented getting the users to page in case a node is down.
91        * Delete leftover login.tpl
92        * Apply patch from leandro@texnet.it to fix #371
93       
942007-08-30 Benoit Grégoire  <bock@step.polymtl.ca>
95        * install.php:  Experimental fix for #353
96
972007-08-28 Benoit Grégoire  <bock@step.polymtl.ca>
98        * install.php:  Fix bug that would manifest as a blank page at the "Checking Dependency" stage if PHP's postgres module was not installed.  Thanks to drfense for providing an account on a server where the bug occured.
99
1002007-08-27 Benoit Grégoire  <bock@step.polymtl.ca>
101        * Added vacuum_last_resort_fix_backup_restore_database.sh.  This is DANGEROUS, and should only be run when your neglected (or had problem with) your VACCUMs,
102        your database has become slow as molases, and VACUUM FULL is not an option because your db has grown too big.
103       
1042007-08-27 Benoit Grégoire  <bock@step.polymtl.ca>
105        * install.php:  Fix #368: Correct the svn source for SimplePie 1.0, the 1.0b2 branch was unexpectedly renamed. 
106        Note that this forces a rather disruptive change.  To update an existing install, you'll need to run the following commands:
107        cd lib/simplepie
108        svn switch http://svn.simplepie.org/simplepie/branches/1.0/
109        But this also requires a recent feedpressreview (revision 13), so you'll also need to run:
110        cd lib/feedpressreview
111        svn update
112       
1132007-08-06 Benoit Grégoire  <bock@step.polymtl.ca>
114        * Allow users with NETWORK_PERM_EDIT_ANY_NODE_CONFIG to edit gateway id's
115       
1162007-08-05 Damien Raude-Morvan <drazzib@drazzib.com>
117        * Security.php : A permission can be acquired by a user via multiples roles, this means
118        that, for the moment, we have to use DISTINCT to check if a user had correct permission
119        (otherwise the SQL request is invalid : subrequest return more than one line).
120        * Locale.php : If the browser send Accept-Value header without any quality (i.e. q=x.y)
121        we have to use order of the locales to select between them (and don't use a rand() number).
122
1232007-08-04 Benoit Grégoire  <bock@step.polymtl.ca>
124        * Portugese (from portugal) translation contributed by MiguelCMA
125        * locale/gen.sh:  Major change to .po file generation.  Now uses msgmerge so we won't completely throw away previous efforts by translators (will preserve comments, and use fuzzy translation).  It's also much faster (seconds instead of minutes), and produces less strings to translate.
126       
1272007-08-03 Damien Raude-Morvan <drazzib@drazzib.com>
128        * init_php.php : Fix #363 by applying patch from Leandro to correctly set timezone info in Wifidog
129        if set in configuration (allow Wifidog to work not only in Canada :).
130
1312007-07-26 Benoit Grégoire  <bock@step.polymtl.ca>
132        * DependenciesList::hook_menu():  Fix menu path conflict with Server::hook_menu();
133        * Server::getAdminUI(): Add output to help debug timezone problems.     
134
1352007-07-25 Benoit Grégoire  <bock@step.polymtl.ca>
136        * VirtualHost.php:  Fix critical problem preventing new Virtual Hosts from being created.  Thanks to Miguel for pointing this out!ssss
137        * StatisticGraph.php:  Fix a bad return by reference that prevented graphs from being displayed.  Thanks to Daniel Lemay for finding it.
138        * Content.php:  Fix warning when selecting owners. Fix dangling metadata objects when deleting an object.
139        * Statistics::getDateRangeUI():  Make days end a minute before midnight, not a minute before noon, DOH!
140        * import_user_database.php:  Fix permission call systax error.  That does't mean the script works as a whole, it hasn't been maintained for years.
141        * DependenciesList.php:  Make it extend GenericDataObject after all.  Fixes problem displaying it in the generic editor.
142       
1432007-07-22 Benoit Grégoire  <bock@step.polymtl.ca>
144        * generic_object_admin.pgp:  Fix problems when creating new content objects.  Fix problems including the content type classes.
145        * Avatar.php:  Make the resampling code support any format available to GD, not just jpeg.
146       
1472007-07-22 Benoit Grégoire  <bock@step.polymtl.ca>
148        * More schema compatibility defensive coding.  Comment out all SET commands in the schema
149       
1502007-07-22 Benoit Grégoire  <bock@step.polymtl.ca>
151        * install.php:  Fix #215
152
1532007-07-21 Benoit Grégoire  <bock@step.polymtl.ca>
154        * AnonymisedDataExport.php:  Work around the huge memory requirements this report used to have.
155        * install.php:  Strip create procedural language from schema, that requires superuser anyway.
156                                        Strip a few other things to hopefully allow it to work again with postgresql 7.4, but I need the full output of the commant "psql -f wifidog-postgres-schema.sql", run from the sql directory of a svn checkout, from someone still running 7.4, otherwise I can't do much.
157        * DependenciesList.php:  New class.  Allow seeing the dependency list once the server is installed.  A small step towards centralized dependency installation.
158
1592007-07-20 Benoit Grégoire  <bock@step.polymtl.ca>
160        * At long last, implement #9:  Automatic new node creation.  When attempting to login from an unknown node, the user (if he has the permissions) will be prompted to create the node, or "steal" en existing one (for hardware swaps).
161        * Refactor Node:getSelectNodeUI().
162        * Menu.php:  Fix small oversight causing menu not to clear.
163       
1642007-07-19 Benoit Grégoire  <bock@step.polymtl.ca>
165        UIUserList fixes:
166        * Node::getRecentUsers():  Get the 5 most recent users, not some random users in the last week.  Also, exclude users currently logged-in.
167        * Node::getActiveUsers():  Function was unbearably slow, now limit the search space to the last 3 months.  Get the 5 user who connected on the most differents days, instead of users with the worst wireless card ;)
168        * schema_validate.php: Add index for timestamp_in on connection table.
169       
1702007-07-17 Benoit Grégoire  <bock@step.polymtl.ca>
171        * Use last_heartbeat_sys_uptime untill #354 is fixed
172
1732007-07-16  Benoit Grégoire  <bock@step.polymtl.ca>
174        * Fix display of wifidog uptime in node list
175        * Preliminary skinning of the menu
176        * Network::getNumOnlineUsers():  Fix #40 by counting active connexion tokens, not distinct user id's.  That way users logged in twice (splash-only, or username if allowed in network config) will be counted twice.
177        * UIUserList_getUserUI.tpl:  Fix #337
178        * Node.php:  Improve getCurrentRealNode()
179        * Implement #4:  Allow the user to easily come back to the portal by typing in the root auth server adress from a hotspot.
180        * Log the system information sent with the gateway since almost forever:  sys_uptime, sys_memfree, sys_load, wifidog_uptime
181        * NodeStatus.php:  Include the above information
182        * node_list.html:  Include wifidog_uptime if the hotspot is up.
183        * Menu.php:  Sort menus alphabetically according to the user's locale.  TODO:  Implement menu weights.
184        * NodeLists:  Only list node types that have dependencies met in the menu.  Refactor the NodeLists for proper object-orientation.
185       
1862007-07-12  Benoit Grégoire  <bock@step.polymtl.ca>
187        * MainUI.php:  Fix label problem in language chooser.
188       
1892007-07-12  Benoit Grégoire  <bock@step.polymtl.ca>
190        * Fix #291 by adding a proper warning and location of documentation
191        * Fix #336:  Add Swedish translation by Christian Svensson <blue ATT cmd.nu>
192
1932007-07-12  Benoit Grégoire  <bock@step.polymtl.ca>
194        -This is a behemoth "the road to 1.0"  commit.  I've been working on this for 6 months,
195        and it's reached the point where others can help.  Those are very far reaching changes, please
196        notify me if anything isn't working right (and im sure I can't have caught everything).
197    * Completely revamp exception handling, all exceptions are now trapped and handled centrally.
198    * Major changes in the login process to allow repeating a request after a time out or missing permission exception.
199    * New user roles architecture,  as described in https://dev.wifidog.org/wiki/doc/developer/UserRolesArchitecture
200        Mostly complete.  Missing parts are Content stakeholders, system roles and "su" functionnality.
201        I need help replacing all the DEPRECATED* methods.  Please read the wiki page above for instructions.
202        * generic_object_admin.php:  More work towards making it generic once again.
203        * GenericDataObject:  New class.  Eventually, most classes should extend this, instead of directly implementing GenericObject
204        * Menu.php:  Finally a uniform Menuing system to replace the mismatch of links that made wifidog
205        impossible to navigate.  It's not very sophisticated yet, but it IS permission aware
206        Loosely inspired from Drupal's menuing system.  HTML is slightly modified "Son of suckerfish",
207        so will be easy to style (althouh I haven't had time yet).
208        Actual menus are added in the hook_menu methods of each class.
209        * VirtualHost.php:  Finally properly split off Virtual Hosts, and make Server a singleton.
210        * install.php:  Do the bare minimum changes so it's still possible to setup a wifidog auth server.
211        However, install.php still needs 1- A good overhaull, 2- A way to install sample databases instead of the minimal one.
212        -Other changes
213    * Unbreak signup link for non-javascript enabled devices
214        * FlickrPhotostream:  Check CURL, which is a mandatory dependency of Flickr
215    * AbstractDb:  Improve debuging features
216    * *:getObject():  Hopefully improve performance of class caching by making sure
217    that we do not manipulate different objects.  Otherwise copies would be generated as soon as we change properties, wasting much memory.
218        * Add dependency check for XSL module for hotspot_status.php.
219        * Some work towards respecting the coding style: http://dev.wifidog.org/wiki/doc/developer/CodingStandard
220        * wifidog/admin/index.php:  Delete admin page.  There is no longuer a concept of a separate admin section.  Menu will depend on your access level.
221
2222007-07-11  Benoit Gréoire  <bock@step.polymtl.ca>
223        * path_defines_url_content.php: Fix #348
224
2252007-07-03  Benoit Gréoire  <bock@step.polymtl.ca>
226        * wifidog/signup.php:  Notify the user of the allowed characters.
227        * Add Bulgarian translation from "Nikola Petrov" <nvp.online A T gmail.com>
228        * config_available_languages:  Centralize the list there so that there is only one to modify everytime we add a translation
229
2302007-06-12  Benoit Gréoire  <bock@step.polymtl.ca>
231        * IE6 layout workarounds (not perfect, but better)
232        * HTML validation of the login and portal pages
233        * Apply patch from tdb@timothy86.orangehome.co.uk, fixes #334
234
2352007-05-30  Benoit Gréoire  <bock@step.polymtl.ca>
236        * VisitsPerMonth.php, VisitePerWeekday.php:  Fix small sql bug when selecting a single user
237
2382007-05-28  Benoit Gréoire  <bock@step.polymtl.ca>
239        * ActiveUserReport.php:  Merge new report from my development tree.  Gives a breakdown of how many users actually use the network.
240
2412007-05-22  Benoit Gréoire  <bock@step.polymtl.ca>
242        * Reverse part of [1230], hotspot_network_name was already available as standardised variable networkName, and hotspot_network_url as networkWebSiteURL.
243        * Reverse part of [1231]:  remove script tag, banning it was the reason the sag striping code was put in in the first place.  We may want to consider creating a RawHTMLContent Content Type.
244       
2452007-05-22  Benoit Gréoire  <bock@step.polymtl.ca>
246    * locales/el/: Add new greek translation contributed by Nikola Petrov
247
2482007-05-17 François Proulx <francois.proulx@gmail.com>
249        * WARNING: This has not been fully tested. Full testing to be completed on 2006-05-18
250          but I'm pretty confident that it works pretty well.
251        * Added automatic resize on Avatars
252        * Added FavoriteHotspots content (mostly used for Profiles)
253        * Added new features to Content and File
254        * Fixed URL regexp bug in HyperlinkUtils
255        * Updated French translations
256        * Updates profiles template
257        * TODO: Add getNewUI et processNewUI to FavoriteHotspots to simplify input
258
2592007-05-03  Benoit Gréoire  <bock@step.polymtl.ca>
260    * MainUI_ToolContent.tpl: Make preferences_link, login_link, and logout_link CSS targetable.  Get rid of some deprecated CSS.
261
2622007-04-25  Benoit Gréoire  <bock@step.polymtl.ca>
263    * ShoutBox.php:  The shout form wasn't displayed whent there weren't any Shouts yet, doh!
264
2652007-04-24 Benoit Grégoire  <bock@step.polymtl.ca>
266        * AuthenticatorRadius.php:  Fix RADIUS dependency detection bug related to case sensitivity
267
2682007-04-19  Benoit Grégoire  <bock@step.polymtl.ca>
269        * RssAggregator.php:  Fix bug saving the max item age.
270        * Forgot to remove a bunch of links to faq.php.
271
2722007-04-03 Benoit Grégoire  <bock@step.polymtl.ca>
273        * AnonymisedDataExport.php:  New report.  Adds the ability to export anonymised SQL data for academic research.
274
2752007-03-20 Benoit Grégoire  <bock@step.polymtl.ca>
276        * Shoutbox.php: Allow limiting the number of characters entered for a shout.
277        (Ideally, this would also need to be enforced at db write level).
278        Move the shout form in the list.
279        Allow choosing the number of shouts displayed.
280        Make the size of the shout field configurable from the admin interface
281        Put the date of the shout before the username.
282        * User.php:  Make the entire "edit profile" link CSS targetable, including the parentesis.
283
2842007-03-20 Benoit Grégoire  <bock@step.polymtl.ca>
285        * ProfileTemplateField.php:  Only allow simple content types as metadata.
286        * Langstring.php:  Fix bug:  one couldn't change the language of a string without changing the actual text.
287        * Content.php:  Add isExactContentType() method.
288        * Profile-related visual and UI tweaks
289
2902007-03-20 Benoit Grégoire  <bock@step.polymtl.ca>
291        * Fix #304:  For some reason the Smarty assignement to userName used getListUI() instead of getUsername()???
292        * Add HyperLink content type
293        * Add UIUserList content type (work towards #158)
294        * portal/index.php:  Finish refactoring Smarty usage.
295
2962007-03-17 Benoit Grégoire  <bock@step.polymtl.ca>
297        * install.php: Make sure we are in the right directory when uncompressing Smarty
298        * Avatar.php:  Don't allow user to hyperlink the image.
299        * ProfileTemplate:  Display how many profiles will be affected when deleting a template field.
300        * User.php:  Don't show the profile creation button if the network has no profile template.
301         Don't hyperlink the username if the user has no profile.
302
3032007-03-16 Benoit Grégoire  <bock@step.polymtl.ca>
304        * Lots of work on profiles.  The HTML and CSS are not final, but #18 can be considered closed.
305        * ProfileField::getContentField():  Fix bug where the object wouldn't refresh properly.
306        * Content:  Delicate refactoring of the UI to create new content.
307        The content object now supports directly adding the actual values of a new
308        Content in getNewContentUI(), if the content filter only allows a single content type.
309        For this to work, the Content type must overload the getNewUI() method.
310        This saves many mouse clicks for form style interface, like profiles.
311        * User:  Don't create profile automatically.
312        * Don't show profiles when user is invisible.
313        * Langstring, SimpleString, HTMLEditor: Support getNewUI().  As a result of these changes, SmartyTemplate, SimpleSmartyTemplate, Stylesheet also get it for free.
314        * Add new standard Smarty value userOriginallyRequestedURL.
315 Note that this does NOT fix #266
316        * Add new standard Smarty value nodeWebSiteURL
317        * Some work towards #158
318         1- The "Use the Internet" link pointing to the originally requested URL is no longuer a part of every portal.  To restore that functionnality, paste the following code in a SmartyTemplate in the Content manager.
319        {if $userOriginallyRequestedURL}
320                <a href='{$userOriginallyRequestedURL}'>Take me where I originally wanted to go</a>
321        {/if}
322        2- The "Where am I" link is gone.  It made little sense to have that content common to all groups.  To restore it, pu it inline in your login page, link a html page on your auth server, or link a Content display page.
323        3- Same with the link to the Network.  To restore the unctionnality, paste the following code in a SmartyTemplate:
324        <a class="administration" href="{$networkWebSiteURL}"><img class="administration" src="{$common_images_url}lien_ext.gif">&nbsp;{$networkName}</a>
325        * ContentTypeFilter:  Saving still wasn't neutral.  Strip the array indexes to fix it.
326
3272007-03-03 Benoit Grégoire  <bock@step.polymtl.ca>
328        * CSS tweaks for RSS feeds.
329        * Fix detection of HTML Safe.
330        * Avatar.php:  Don't allow editing the picture size.
331        * ContentGroup:  In some cases, the same element could be picked twice in the same display.
332        Make sure that doesn't happen.  Also, implement the option to not rotate content at all,
333        usefull when showing all elements simultaneously in a specific order. Closes #294
334
3352007-02-24 Damien Raude-Morvan <drazzib@drazzib.com>
336        * Fix main SQL request in Node::getSelectNodeUI() to use
337          table alias in ORDER BY and SELECT. This disambiguation
338          is necessary when using a join on a table containing
339          another 'node_id' field.
340
341 2007-02-24 Max Horvath <max.horvath@freenet.de>
342        * Updated dependencies list (completion of all required components)
343        * Dramatic speedup of PEAR and PECL modules detection by dependencies class
344
3452007-02-25 Benoit Grégoire  <bock@step.polymtl.ca>
346        -* rev [1182], [1183], [1184]  are repository fix commits.  If anyone have problem with their lib directory when upgrading, contact me.
347
3482007-02-24 Max Horvath <max.horvath@freenet.de>
349        * Fix ticket #300: SYSTEM_PATH not being respected in config.php.
350
3512007-02-07 Damien Raude-Morvan <drazzib@drazzib.com>
352        * Fix ticket #298 : php-ldap module is lowercase in Dependencies array,
353          update Dependencies::check() calls.
354
3552007-02-05 Damien Raude-Morvan <drazzib@drazzib.com>
356        * Try to fix ticket #295 and #297 by including parent class (Content.php) in
357          File.php.
358        * ... and remove unnecessary include of Avatar content type in User.php: All
359          contents types are included by Content.php getAvailableContentTypes() call.
360
3612007-01-28 François Proulx <francois.proulx@gmail.com>
362        * First iteration of user profiles completed.
363        * Need to improve Avatar admin UI
364
3652007-01-19 Benoit Grégoire  <bock@step.polymtl.ca>
366        * dump_initial_data_postgres.sh:  Initial node wasn't setup correctly.
367        * INSTALL:  Fix some obsolete instructions for database backup and restore
368
3692007-01-18 Benoit Grégoire  <bock@step.polymtl.ca>
370        * Updated french translation curtesy of http://zapquebec.org
371
3722007-01-16 François Proulx <francois.proulx@gmail.com>
373        * ContentTypeFilter : Now supports filters stored in the DB, backward compatible
374        * ProfileTemplate, ProfileTemplateField, Profile : profiles support
375        * Update schema to 53 for profiles
376        * Network, User : Added support for profiles (not implemented for Network)
377        * TODO: Integration in portal
378
3792007-01-16 Benoit Grégoire  <bock@step.polymtl.ca>
380        * A few more steps towards a real user manager
381        * Move password change to preferences.
382        * InterfaceElements:  Begin moving away from a raw HTML generator and towards a more semantic one as discussed with Max Horvath.
383        * It is now possible for an administrator to manually validate or lock-out a user
384        * Add new SimpleString content type
385        * SmartyWifidog.php:  Fix #282 with a slightly dirty workround to the chicken and the egg smarty variables assignment problem.
386                We now extend the fetch method and do our assignment there instead of in the constructor.
387
3882007-01-15 Benoit Grégoire  <bock@step.polymtl.ca>
389        * Sync initial schema and translations
390        * Minor spelling fixes
391
3922007-01-14 Benoit Grégoire  <bock@step.polymtl.ca>
393        * Dependencies.php, AuthenticatorRadius.php:  Fix bug #287 (Dependencies not being detected properly)
394        * Content.php: Make hasDisplayableMetadata() consider Authors, and make it a bit faster.
395
3962007-01-13 Benoit Grégoire  <bock@step.polymtl.ca>
397        * Content.php:  Add setUserUIMainDisplayContent() and setUserUIMainInteractionArea()
398        to simplify writing subclasses and port all content subclasses to the new API.
399        * Content.php:  Add a new callcack method, isTextualContent(), to be used by
400        ContentFilters.  Indicates that the content is suitable to store plain text.
401        * ContentGroup.php:  No longer warn about empty ContentGroup in getUserUI(),
402        as this may now be perfectly normal if all content has expired.
403        * Rework the classes and css for user_ui_main_outer, isSimpleContent has been
404        eliminated and hasDisplayableMetadata is now defined is metadata is available.
405        This should allow better HTML consistency and simpler CSS, and be closer to what
406        people expect by default.  Content without metadata will display without
407        borders or background, and without margins when inside another content.
408        * smarty.resource.string.php:  Add a setter function,
409        smarty_resource_string_add_string() that must be used before calling the smarty
410         function.  Using the name as the the template was far to brittle.  This makes
411         the SmartyTemplate content much more reliable, and quite possibly faster.
412        * ShoutBox: A very basic but already extensible implementation of the
413        shoutbox use case.  Shows the last five shouts.  Can connect to another web
414        site through a javascript extension.
415        * SimpleSmartyTemplate:  Add a simple version of the SmartyTemplate content
416        type
417
4182007-01-03 Benoit Grégoire  <bock@step.polymtl.ca>
419        * FormSelectGenerator.php: Fix incorrect $this reference in isPresent().  The bug would only manifest
420         itself from the FlickrPhotostream's admin interface.
421        * page.php:  Fix missing retrieval of DB instance.
422
4232007-01-03 Benoit Grégoire  <bock@step.polymtl.ca>
424        * Yet more Smarty cleanup, add some docs, add Smarty variables to access the physical node a user is connected to.
425        * RssAggregator.php:  Fix bug in setMaxItemAge() method when setting a null value
426        * Cache.php:  Performance optimization when caching is disabled.
427        * Fix bug where num online users in the portal was broken.
428
4292007-01-02 François Proulx <francois.proulx@gmail.com>
430        * Updated the SQL schema initial schema
431
4322006-12-31 Benoit Grégoire  <bock@step.polymtl.ca>
433        * More Smarty cleanup
434        * Content.php:  Bugfix:  metadata wasn't deleted along with the rest of the
435        content upon deletion.
436
4372006-12-30 Benoit Grégoire  <bock@step.polymtl.ca>
438        * install.php:  Move path verification to the first page, and make it clearer.  Fix PHP warnings.
439        * wifidog/include/smarty.resource.string.php:  A smarty resource plugin to parse a smarty template from a string
440        * SmartyTemplate:  Very basic but functionnal commit of the new Smarty content type.
441        IMPORTANT NOTE:  This will eventually obsolete IFrameRest, which will be removed.
442        * Continue cleaning-up/standardizing Smarty variable usage.
443
4442006-12-12 Benoit Grégoire  <bock@step.polymtl.ca>
445        * Fix all PHP 5.2 compatibility issues I could find.  This needs further testing
446
4472006-12-12 Pascal Charest <pascal.charest@gmail.com>
448        * install.php: Remove obsolete Phlickr installation references
449
4502006-12-12 Benoit Grégoire  <bock@step.polymtl.ca>
451        * install.php, Dependencies.php:  Centralize Dependency detection (next is to centralize
452        dependency installation code).
453        * config.php: Remove more obsolete config directives.
454
4552006-12-11 Benoit Grégoire  <bock@step.polymtl.ca>
456        * install.php:  Fix a few problems caused by obsolete magpierss detection code.
457        * install.php, config.php:  Remove the obsolete PHLICKR_SUPPORT option.
458
4592006-11-30 Benoit Grégoire  <bock@step.polymtl.ca>
460        * schema_validate.php:  Mute annoying ob_flush() notices.
461        * Node.php:  Add missing default parameter to getSelectNodeUI()
462        * get_stylesheet:  Fix date calculations that broke download.
463
4642006-11-29 Benoit Grégoire  <bock@step.polymtl.ca>
465        Sync with my main developpement environement:
466        * Performance optimization pass:  Collect a few low hagning fruits
467        by implementing basic instance caching for classes Server, Network, Nodes, Content and User.
468         It's no replacement for a real ORM, but is cuts way down on duplicate SQL queries and
469         object instanciation for a single request.
470        * Langstring.php:  Slight performance optimization for admin interface, support for proper modification date.
471        * File.php:  Update to use unified content modification date.
472        * get_stylesheet.php:  Implement browser caching
473        * ContentGroup.php:  Get rid of is_locative and is_artistic metadata.  Will eventually be replaced by something better.
474        Allow editing of expired content elements
475        * Node.php, Utils.php:  Sort by case insensitive name, and show gateway id in node selectors
476        * BannerAdGroup.php:  Support group constraint of image size for all images in the group.
477        * ContentReport.php:  Finish basic content reporting.
478        Note that for content that displayed before the logging fixes commited 2006-11-14, the display count will be underestimated:
479        Display before then was only counted once per user per node.  Also File clickthrough wasn't logged (includes hyperlinked pictures).
480        * Content.php:  Implement a Key-Value Pair infrastructure.  In the future, this will often allow adding new content types without
481        having to modify the schema.  See the Content class documentation.
482        * Fix various small UI issues.
483
4842006-11-29 Benoit Grégoire  <bock@step.polymtl.ca>
485        * common.php:  Fix the value of SESS_NODE_ID_VAR, it got overwritten by SESS_GW_ID_VAR.
486        Caused problems with logout.
487
4882006-11-27 Benoit Grégoire  <bock@step.polymtl.ca>
489        * Try to fix #270:
490        * DateTime.php:  Rename class to DateTimeWD because of the stunt they pulled in PHP 5.2
491        * Content and derived classes:  Make all constructors protected.
492
4932006-11-26 Benoit Grégoire  <bock@step.polymtl.ca>
494        * lost_username.tpl, lost_password.tpl, resend_validation.tpl:  Fix #259 by commenting out
495        all Javascript. I hate removing outside contributions, but the lost_username,
496        lost password and re-send validation email have been broken for months and no one
497        stepped-in to fix it.
498
4992006-11-23 Benoit Grégoire  <bock@step.polymtl.ca>
500        * Fix bug in node creation
501        * Add error message for geocoder when you didn't set the country
502        * Clarify error messages and description for the geocoder.
503        * Make the google-map locator for nodes use the network center coordinates.
504          This change makes it usable when you didn't use the geocoder first.
505        * Show the gateway id in the technical nodelist.
506
5072006-11-22 Benoit Grégoire  <bock@step.polymtl.ca>
508        * Fix minor problems with template using obsolete constants
509        * Delete a bunch of unused templates
510
5112006-11-22 Benoit Grégoire  <bock@step.polymtl.ca>
512        * Fix broken auth
513        * Fix broken portal when called from gateway
514
5152006-11-22 Benoit Grégoire  <bock@step.polymtl.ca>
516        * Major schema update (this one is going to make your database grind for a while, sorry
517        about that...)
518        Fix a long standing design problem with the node table, where the ID could be changed.
519        This caused performance problems when replacing gateways, and caused problems when
520        exporting data to other systems.  Among other things, it will allow us to finally
521         finish the JiWire output.
522        * Stylesheet.php:  New content type.  Takes advantage of two pass content display to create stylesheets to be used only at a specific node, or with a specific content.
523
5242006-11-21 Benoit Grégoire  <bock@step.polymtl.ca>
525        * Change schema update method.  Will now do one transaction
526         per schema version, allowing each schema to assume that
527          the current schema is the previous one.  Also allows not
528          starting over when there is a problem.
529          Fixes schema update problems with the last commit
530
5312006-11-21 Benoit Grégoire  <bock@step.polymtl.ca>
532        * RssAggregator.php:  At long last, sync with FeedPressReview 2.0
533         http://projects.coeus.ca/feedpressreview/ (formerly rsspressreview)  and
534          make most of it's features directly available from the web interface.
535        This gives us:
536        -Now based on SimplePie http://simplepie.org/ (magpie was no longuer maintained)
537        -Now unobtrusively displays almost all item and feed metadata
538        -Supports images
539        -Supports podcasts and enclosures
540        -More accurate algorithm
541        -Criteria based default feed expansion
542        -More real-estate efficient, and improved UI
543        The admin interface is now also more real-estate efficient (uses the hover help code commited by François that no one used yet).
544
545        Warning: This changes the dependencies of the auth server.  Your RSS feeds will be disabled untill you re-run the install script.
546        * gw_message.php:  Fix validation period not being displayed.
547
5482006-11-14 Benoit Grégoire  <bock@step.polymtl.ca>
549        * MainUI.php:  Allow displaying any object with a getUserUI() method directly as content.
550
5512006-11-14 Benoit Grégoire  <bock@step.polymtl.ca>
552        * generic_object_admin.php:  Fix interface options for the user object, but this is the wrong way to go about it.  THese options should be class properties.
553
5542006-11-14 Benoit Grégoire  <bock@step.polymtl.ca>
555        * File.php:  Clickthrough weren't logged, DOH!
556        * User.php:  Error message on validation expired didn't properly output the validation grace time.
557        * Statistics.php:  Fix #271: Getting statistics for a single MAC address was broken.
558        * NodeListXML.php:  Small patch by Josephus to add the number of online users
559        * Improve CPU usage of the content manager
560        * AbstractDb:  Fix query time not being displayed in debug mode if profiling was turned off.
561                                        Add total execution time statistics.
562        * Fix logging of content clickthrough and display.  Unique users and node data is reliable for existing data.
563                Number of prints is underestimated (repeat prints for the same user, same content at same node didn't get counted)
564                 for data before this patch.
565                Same with number of clickthrough for File content types and derivatives (picture, etc.).
566        * ContentReport.php:  Add content report (does not support most options yet, but still very usefull).
567
5682006-11-13 Benoit Grégoire  <bock@step.polymtl.ca>
569        * Make the MainUI, SmartyWifidog and Session and AbstractDb classes singletons
570        * Implement two pass content display.  All Content can now implement a prepareGetUserUI(), allowing them to interact with MainUI and other Content before display.
571          Allow creating content such as stylesheets, feed accumulators, etc.
572        * SmartyWifidog.php Turn on security, begin preparing for standardisation of Smarty variables
573        * New Content type:  Stylesheet.  Allows specific nodes, or even specific content groups to have custom stylesheets.
574        * Langstring.php:  Make getAdminUI calling conventions coherent with other content types.
575
5762006-11-11 Benoit Grégoire  <bock@step.polymtl.ca>
577        * Authenticator.php:  Critical: Fix SQL query syntax in acctStart()
578
5792006-11-07 Benoit Grégoire  <bock@step.polymtl.ca>
580        * install.php:  Fix password generation I inadvertently broke.  Remove misleading info about SSL
581
5822006-11-07 Benoit Grégoire  <bock@step.polymtl.ca>
583        * install.php:  Put an end of line after the password, make it easier to read.
584        Make the install script check the permissions of lib/smarty/plugins directory to avoid smarty errors
585        * Statistics.php:  A little gift for France wireless:  Make aggregate statistics available across networks
586
5872006-11-07 Benoit Grégoire  <bock@step.polymtl.ca>
588        * Fix # 268, #269 as well as greg's problems by moving all token and registration date arithmetics
589         to the database, and standardize on SQL-standard CURRENT_TIMESTAMP.
590        Fixes operational problems when PHP and PostGres don't have the same timezone
591        (which appears to be the case on Fedora by default).
592        Note that the page.php script still has PHP date arithmetics, but at least should be self-consistent.
593
5942006-10-24 Benoit Grégoire  <bock@step.polymtl.ca>
595        * auth/index.php: Add some defensive coding and debug output when the token is invalid.
596
5972006-10-24 Damien Raude-Morvan <drazzib@drazzib.com>
598        * Fix french translation used for account validation to use same number of token as original message.
599        * Only show language combo when there is more than one language to select.
600
6012006-10-24 Benoit Grégoire  <bock@step.polymtl.ca>
602        * EmbeddedContent.php:  Fix content type selection (admin interface of EmbeddedContent was broken)
603        * Full spanish translation curtesy of jguevara @@ unitec.edu (closes #254)
604        * Some documentation updates for content filters
605        * Content.php:  Add isNotContentType() method.
606
6072006-09-07 Benoit Grégoire  <bock@step.polymtl.ca>
608        * Access to the Content manager was broken for normal users, again.
609
6102006-09-11 François Proulx <francois.proulx@gmail.com>
611        * Changed install.php req. for Smarty 2.6.17 is mandatory
612        * ContentTypeFilter.php fixed the method checking function
613        * Fixed errors in French translation file
614
6152006-09-07 Benoit Grégoire  <bock@step.polymtl.ca>
616        * Fix PHPMailer that I've broken earlier
617
6182006-09-07 Benoit Grégoire  <bock@step.polymtl.ca>
619        * Slightly rework SSL detection so that it uses the default server if a current one isn't available.
620                Fixes server passing passwords in the clear if the hostname disn't match (DOH!).
621                We really should properly split the Server class into a singleton Server class and multiple VirtualHost classes.
622        * Re-apply fixed HTMLeditor patch.  (Original description:  Make HTMLeditor inherit from Langstring.  Allowed a massive reduction of
623          line count and will stop the codebases from needlessly drifting apart.)
624
6252006-09-07 Benoit Grégoire  <bock@step.polymtl.ca>
626        * Add missing require of Statistics.php in stats.php
627
6282006-09-07 Benoit Grégoire  <bock@step.polymtl.ca>
629        * Fix non persistent content being available to add to nodes, networks and content groups.
630        * Prevent a user from entering the same language twice in a langstring.  Fixes #226
631
6322006-09-06 Benoit Grégoire  <bock@step.polymtl.ca>
633        * Fix #63
634        * Fix problem with my Splash only user fix (I used match on the user_id instead of the username).
635        * Prevent the Splash only user from logging out, wrecking havock in the tokens.
636        * Do not allow SplashOnlyUser to set his preferences.
637        * Assigning a reusable content to a contentgroup element would make it non-reusable.
638Usability and UI fixes:
639        * Allow other users to log in when they are at a splash only node.
640        * Make isSimpleContent class available for Simple content types.  Make it borderless and backgroundless in the default theme_pack.
641        * Simplify HTML output for simple content.
642        * Fix IE layout bug in node admin
643        * Content linked to nodes and networks now edits in a new window.
644        * Remove "Add new node" menu item for consistency.
645
6462006-09-06 Benoit Grégoire  <bock@step.polymtl.ca>
647        * Remove most inclusions of MainUI in classes.
648        That completely broke authentication (circular dependencies).
649        Fixes 245.
650    Unfixes 242. Exceptions should not be caught in the context
651    they are thrown in. Else there no point in throwing exception in the
652    first place.
653        * HyperLink.php:  Fix bug where a link with identical text as it's link would see the text replaced by the clickthrough-tracked equivalent.
654
6552006-09-06 Benoit Grégoire  <bock@step.polymtl.ca>
656        * ContentTypeFilter:  New class, implements #159.  Allows to filter content type according to various criteria.  Will be used more extensively in the profile manager.
657        * Content manager:  Use content type filter to only allow Simple content types (Content without metadata) to be used for metadata.
658        * New content type BannerAdGroup.  Used (primarily) to display banner adds, or any other image rotation.  Size constraints not yet implemented
659        * Move externally maintained class.phpmailer.php, class.smtp.php into lib where they belong
660        * DateTime.php: Make class handle an empty date sensibly.
661        * Network.php:  Show the network again when there is only one.  It was confusing in some screens.
662        * page.php:  Clarify error message, and set a more reasonnable paging cascade:
663                5 min, 30 min, 2 hours, 1 day, 1 week, 1 month
664        * Finally fix #127
665        * At last, working content scheduled display and expiration for ContentGroups.  Archiving does not yet have a UI.  Content that expires will simply seem to disapear.
666        * Fix #247 (somebody filed a bug before I commited, conveniently saving me the need to describe it).
667        * The Fix for #106 in [1089] returned non-objects, causing error messages and not displaying what it was meant to display.
668                Used Guest instead of Annonymous, which will probably be used for different purpose in the future.
669                This re-fix does not include duplicate counting yet.  Splash users are not the only users that could log-in multiple times.
670                I don't have a staging server here, a fix will be commited in a few minutes if something goes wrong.
671        * Cleanup coments.
672        * Sync schemas
673
6742006-09-03 Max Horváth <max.horvath@freenet.de>
675        * The term SPLASH_ONLY_USER displayed to people visiting the portal has been
676          replaced by the more meaningful term "anonymous user" (fixes #106)
677        * When creating a new node and choosing an existing node_id there will be
678          shown an error message (fixes #223)
679        * If one or more nodes aren't monitored they now will be announced on the
680          front page (instead of just showing the number of monitored online nodes)
681          (fixes #100)
682        * Display more meaningful error messages if required user permissions are
683          missing (fixes #242)
684        * Refactored Network->getAdminUI() to match look and feel of
685          Node->getAdminUI (fixes #140)
686        * Show descriptive status of node (fixes #241)
687
6882006-09-02 Max Horváth <max.horvath@freenet.de>
689        * Installation script checks for PHP session extension (fixes #139)
690        * Removed "Call-time pass-by-reference has been deprecated" warnings
691          (fixes #239)
692        * Revert changes of FCKeditor implementation (fixes #240)
693        * Fix of FCKeditor implementation, now also supports FCKeditor 2.3+
694          (fixes #145)
695        * Hotspots/Nodes are sorted case-insensitive now (fixes #109)
696        * Fix #141
697        * templates/sites/index.tpl: fix wrong user count (fixes #236)
698        * Added more trash mail services to the black list (fixes #149)
699
7002006-09-01 Benoit Grégoire  <bock@step.polymtl.ca>
701        * Fix #189, #173
702
703
7042006-09-01 Benoit Grégoire  <bock@step.polymtl.ca>
705        * Content.php:  Improve handling of simple but persistent content.
706
7072006-08-31 Benoit Grégoire  <bock@step.polymtl.ca>
708        * Server.php:  Make sure getCurrentServer returns the default server if the
709          hostname isn't recognised.
710        * Content manager:
711                - Allow deleting simple (trivial) but persistent content
712                - Remove the sponsor info field from Content Metadata.  Best practices
713                  is now to use the project info field to show this information.
714        * Add the necessary schema constraints to allow manually deleting networks,
715          nodes and users.  Be carefull, removing any of theses will remove all
716          traces of connection statistics as well.  You've been warned.
717        * Do not display the network in the login interface if there is only one.
718        * Add a pseudo-random content ordering mode.  Pick content elements
719          randomly, but do not display the same content twice untill all content
720          has been seen.
721        * Allow setting a title but not displaying it (very usefull for reusable
722          content)
723
7242006-08-29 Max Horváth <max.horvath@freenet.de>
725        * Cleaned up PHPdoc tags
726        * Updated german translation
727        * Updated portuguese translation, thanks to Gabriel Hahmann
728        * Added spanish translation, thanks to Ricardo Jose Guevara Ochoa
729
7302006-08-28 Benoit Grégoire  <bock@step.polymtl.ca>
731        * Add SimplePicture content type
732        * Fix #225 (For both nodes and networks)
733
7342006-08-28 Max Horváth <max.horvath@freenet.de>
735        * Integrated KML node list export
736        * Integrated PDF node list export
737        * Updated Sprintf formatted strings in some Smarty templates
738
7392006-08-27 Benoit Grégoire  <bock@step.polymtl.ca>
740        * clickthrough.php, HyperLink.php:  Implement working hyperlink
741          clickthrough tracking (no reporting yet).
742          Works for Langstring, FlickrPhotoStream, Picture, RssAggregator and their
743          subclasses.
744        * Make HTMLeditor inherit from Langstring.  Allowed a massive reduction of
745          line count and will stop the codebases from needlessly drifting apart.
746        * Do not log content displayed as metadata, and log their clickthrough as
747          the parent's.
748
7492006-08-27 François Proulx <francois.proulx@gmail.com>
750        * Updated French translations
751        * Now using Sprintf formatted strings in some Smarty templates (see
752          example in templates/sites/index.tpl).
753        * Integrated back the SQL profiling functions
754
7552006-07-20 Benoit Grégoire  <bock@step.polymtl.ca>
756        * Fix a bug where having an empty username would break statistics.
757
7582006-07-07 Benoit Grégoire  <bock@step.polymtl.ca>
759        * Fix a bug in some reports when selecting a single user.
760
7612006-07-05 Benoit Grégoire  <bock@step.polymtl.ca>
762        * Fix #175.
763        * Fix the "Registration Log" and "User registration report" reports giving
764          incorrect statistics
765        * Allow disabling EventLogging class in config.php, to make SQL debuging
766          possible (The class was traping errors before AbstractDb could
767          output them)
768        * Make EVENT_LOGGING default to false for now, as it turns out EventLogging
769          was the cause of the Spurious PEAR output ("Runtime Notice: ") we've
770          been seeing.  That is probably only because we don't understand how to
771          properly control it's logging level.
772
7732006-06-18 François Proulx <francois.proulx@gmail.com>
774        * Added creation_date , last_update_date support to File content (with
775          proper HTTP caching handling)
776        * Added hyperlinks URL support in Picture content
777        * Fixed constants in Flickr Content
778        * Fixed #171 (Can't add existing content to Node)
779
7802006-06-17 François Proulx <francois.proulx@gmail.com>
781        * First iteration of JiWire CSV export
782                * Use : hotspot_status.php?format=JiWireCSV
783        * Fully working, but Excel doesn't seem to handle well UTF-8
784          investigation in progress.
785
7862006-06-08 Benoit Grégoire  <bock@step.polymtl.ca>
787        * Fix #151.  It was still around after all.
788
7892006-06-08 Benoit Grégoire  <bock@step.polymtl.ca>
790        * Completely refactor the look and html of the content manager, statistics
791          and most object's administrative interfaces.
792          Should be much simpler and clearer now.
793          No refactoring of the editing flow has been done yet.
794        * Spell check the french translation, and add a few of the missing strings.
795
7962006-05-26 François Proulx <francois.proulx@gmail.com>
797        * Added 'ja' to database locales table
798
7992006-05-26 François Proulx <francois.proulx@gmail.com>
800        * Added Japanese translation .po file
801          (Thanks to taedu AT ninjin-net DOT net)
802
8032006-05-24 François Proulx <francois.proulx@gmail.com>
804        * Stylesheet changes for left_area_bottom content block.
805
8062006-05-24 François Proulx <francois.proulx@gmail.com>
807        * Simplified Google Maps JS code to use more of the v2 abstraction
808        * Improved admin panels CSS classes
809
8102006-05-23 Benoit Grégoire  <bock@step.polymtl.ca>
811        * config.php:  Disable USE_CACHE_LITE, it's definitely not stable, and
812          causes very hard to track down problems with Internet Explorer.
813
8142006-05-22 François Proulx <francois.proulx@gmail.com>
815        * Fixed isValidUsername() Js function to allow caret and dot characters
816
8172006-05-22 François Proulx <francois.proulx@gmail.com>
818        * Use Pgsql persistent connections
819
8202006-05-22 François Proulx <francois.proulx@gmail.com>
821        * Removed unnecessary debug message
822        * Fixed getNumOnlineUsers to count users by MAC on splash only nodes
823
8242006-05-22 François Proulx <francois.proulx@gmail.com>
825        * Added generateFromArray parameter (max_length)
826        * Restricts select content ui combo box to 40 chars
827        * Added Smarty plugin modifier.fsize_format.php
828
8292006-05-21 François Proulx <francois.proulx@gmail.com>
830        * Stupid IE CSS bug fixed
831
8322006-05-21 François Proulx <francois.proulx@gmail.com>
833        * Fixed various bugs in content system
834        * stylesheet work
835
8362006-05-21 François Proulx <francois.proulx@gmail.com>
837        * Think I've fixed Google Maps on IE.
838                * need to test on another system..
839
8402006-05-20 François Proulx <francois.proulx@gmail.com>
841        * Completed french translations
842        * Fixed Flickr javascript
843        * Various stylesheet improvements to tighten up the portal and admin
844
8452006-05-20 François Proulx <francois.proulx@gmail.com>
846        * Various stylesheet improvements, started working on Île Sans Fil network
847          specific theme pack
848        * Fixed a few layout bugs
849
8502006-05-20 Benoit Grégoire  <bock@step.polymtl.ca>
851        * USE_BASE_NON_SSL_PATH for hotspot map, else internet explorer whines
852          endlessly
853
8542006-05-20 Benoit Grégoire  <bock@step.polymtl.ca>
855        * index.tpl:  Fix link to the map not being displayed at a hotspot, even
856          when you are logged in.  There needs to be much better logick before we
857          export such things to smarty templates.
858
8592006-05-20 François Proulx <francois.proulx@gmail.com>
860        * Added /wifidog/contrib and /wifidog/contrib/xslt directories
861        * Posted Île Sans Fil XSLT example stylesheet for converting the
862          hotspot_status page
863                * Browser view
864                * PDA view (by Jean-Pierre Lessard <jplprog@videotron.ca>)
865                * Simply use in this manner :
866                  http://wifidog-server.org/hotspot_status.php?format=XML&xslt=http://wifidog-server.org/contrib/xslt/hotspot_status_browser.xsl
867
8682006-05-20 Benoit Grégoire  <bock@step.polymtl.ca>
869        * page.php:  Fix bugs in various files preventing the system from working
870          from the command line.
871
8722006-05-20 Benoit Grégoire  <bock@step.polymtl.ca>
873        * More install script fixes:  Phlickr wouldn't install, and the permissions
874          of wifidog/tmp/smarty/cache weren't checked.
875
8762006-05-20 Benoit Grégoire  <bock@step.polymtl.ca>
877        * More stylesheet and HTML work
878
8792006-05-18 Benoit Grégoire  <bock@step.polymtl.ca>
880        * Fix loging form incorrectly attempting to validate the password,
881          preventing many existing accounts from logging-in.
882        * Interim commit, begin simplifying the html ans stylesheets, and re-doing
883          the general look.
884          This is incomplete, this commit was done to fix the problem above.
885        * install.php:  Fix path problems, make shel command errors visible.  Update
886          magpie and smarty url to latest versions (note that this won't
887          automatically update an existing install).  Didn't touch phlickr as I
888          didn't know the implications
889        * Add interactive scripts in sql/ to easily backup and restore a wifidog
890          auth server database.
891
8922006-05-10 François Proulx <francois.proulx@gmail.com>
893        * Fixed Google Maps script path to images.
894
8952006-05-10 François Proulx <francois.proulx@gmail.com>
896        * Added sweetTitles tooltips script, now if you need to add tooltips simply
897          add the 'title' attribute to you html <a>, <attr>, <accroym> tags
898        * Fixed usort bug in MainUI
899        * Fixed download (wget) in install.php
900
9012006-05-09 Benoit Grégoire  <bock@step.polymtl.ca>
902        * Working (if slightly basic) theme manager.  You can pick the theme in the
903          network configuration.
904          To add your own theme, read wifidog/media/network_theme_packs/README.txt
905        * Cleanup and document the wifidog directory structure
906        * Minor HTML corrections for content types
907        * Completely rip out the old local_content system, and a bunch of obsolete
908          defines and config variables.
909        * Get rid of PHP generated stylesheets
910
9112006-05-09 Benoit Grégoire  <bock@step.polymtl.ca>
912        * Finish content assignation system
913        * Content ordering is now global (network, nodes and everywhere content cand
914          now be in mixed order).
915        * Implement 'everywhere' content
916        * Change MainUI::apendContent to MainUI::addContent
917
9182006-04-28 François Proulx <francois.proulx@gmail.com>
919        * Fixed error in initial data script
920
9212006-04-28 Benoit Grégoire  <bock@step.polymtl.ca>
922        * wifidog/login/index.php: Correctly use DEFAULT_NODE_ID from config.php
923          instead of hardcoded 'default'
924
9252006-04-28 François Proulx <francois.proulx@gmail.com>
926        * Fixed initial_data schema script so that it adds a dummy server.
927
9282006-04-25 François Proulx <francois.proulx@gmail.com>
929        * Updated JavaScript code to work with Google Maps v2 API
930        * v2 will now provide full maps of European countries and is a bit faster
931        * Updated the schema accordingly with new GMaps values
932
9332006-04-24 Benoit Grégoire  <bock@step.polymtl.ca>
934        * Dependencies.php:  Small fix in case gettext isn't installed
935
9362006-04-24 Benoit Grégoire  <bock@step.polymtl.ca>
937        * AuthenticatorLDAP.php:  Merge patch from jguevara@unitec.edu.  Fixes #125
938
9392006-04-24 Benoit Grégoire  <bock@step.polymtl.ca>
940        * Major system locale handling overhaull.  Hopefully abstract out the UTF8
941          problems once and for all, allowing everyone to define them the same way.
942          Fix a few bugs along the way. Should also be a little faster.
943
9442006-04-24 Benoit Grégoire  <bock@step.polymtl.ca>
945        * Revert Rob's SYSTEM_PATH change.  Sorry about that.  The devs spent hours
946          to finally get the PATH stuff consistent and fixing the countless bugs
947          that this process introduced.
948          Maybe some links still need to use BASE_URL_PATH instead of BASE_SSL_PATH,
949          (or vice-versa) but it was on purpose that SYSTEM_PATH was not made
950          available to Smarty.
951          We already have 3 defines to be used for links and html refs, that's
952          enough BASE_SSL_PATH should be used to enter SSL mode (if available)
953          BASE_NON_SSL_PATH should be used to break out of SSL mode of when we
954          explicitely do not want someting to be referenced over http
955          BASE_URL_PATH should be used in all other cases to avoid needless
956          SSL warning
957
9582006-04-17 Rob Janes <janes.rob@gmail.com>
959        * javascript for validating and navigating forms.
960        * help text (untranslated).
961        * EVENT_LOGGING enabling/disabling flag.
962        * use SYSTEM_PATH instead of BASE_URL_PATH and BASE_SSL_PATH where ever
963          appropriate.
964        * standardize Smarty variables for Network and User info by adding
965          assignSmartyValues($smarty, $self) to Network and User.
966        * change_password only allowed if logged in.
967        * non-superadmin can only use change_password to change their own password.
968        * superadmin can use change_password to change any user password by
969          entering in their password for the old password.
970        * page_header div defined and positioned in MainUI
971
9722006-04-04 Benoit Grégoire  <bock@step.polymtl.ca>
973        * /classes/Content/IFrame/IFrame.php: Change a few methods from private
974          to protected as the private methods broke IFrameRest
975
9762006-04-01 François Proulx <francois.proulx@gmail.com>
977        * Dumped initial schema from working install
978
9792006-03-31 Benoit Grégoire  <bock@step.polymtl.ca>
980        * dump_initial_data_postgres.sh:  Add the content_available_display_pages
981          table to the dump, can someone re-generate the initial data from a
982          working install
983        * Remove the ?> tags from all the classes.
984
9852006-03-27 Benoit Grégoire  <bock@step.polymtl.ca>
986        * Fix bug where right_area_bottom content wouldn't be displayed.
987        * Minor CSS cleanup
988
9892006-03-28 François Proulx <francois.proulx@gmail.com>
990        * Fixed error in initial schema (bad client encoding)
991
9922006-03-28 François Proulx <francois.proulx@gmail.com>
993        * Fixed schema 37 : left_area_top
994        * Updated initial schema
995
9962006-03-27 Benoit Grégoire  <bock@step.polymtl.ca>
997        * First step in massive simplification of CSS and templates
998        * Implement the new main CSS structure
999        * Implement working content assignation interface and content ordering for
1000          both network and nodes.
1001        * Display of content according to assignation work on 'portal' and 'login'.
1002          'everywhere' not yet implemented
1003        * Get rid of some ISF specific interface elements
1004        * Finally replace the overly complicated start button by a
1005          "Use the Internet" link that will not get you out of your working tab
1006        * Fix #118
1007
10082006-03-26 Benoit Grégoire  <bock@step.polymtl.ca>
1009        * init_php.php: Fix stripslashes_cb() so it actually works, this means the
1010          auth server should work properly with auth servers with magic quotes
1011          turned on.
1012          This is still not recommended however.
1013        * Remove some spurious error ouptut on logout.
1014        * Remove potential error in network id parsing
1015
10162006-03-22 François Proulx <francois.proulx@gmail.com>
1017        * Fixed Google Maps URLs bug
1018        * Since Google Maps does not provide Javascript over SSL (it does but the
1019          certificate does not match) the code path to the map does not use SSL, but
1020          the outgoing URLs do.
1021        * Removed lost echo in Locale.php
1022
10232006-03-21 Benoit Grégoire  <bock@step.polymtl.ca>
1024        * login/index.php: Remove huge security hole introduced by stylistic
1025          changes in the file. A user could login to any hotspot by simply filling
1026          a blank form because of a gratuitous change from empty to is_null
1027          everywhere.  Remove escaping or REQUEST parameters in non SQL
1028          related code, as this would lead to double unescaping down the line.
1029          Remove logic dependent on encapsulated side effects of object method call.
1030
10312006-03-19 François Proulx <francois.proulx@gmail.com>
1032        * Updated French translations
1033
10342006-03-18 Rob Janes <janes.rob@gmail.com>
1035        * path_defines_base working for combinations of DocumentRoot, Alias,
1036          and installed wifidog-auth directory, correctly setting SYSTEM_PATH
1037          and WIFIDOG_ABS_FILE_PATH dynamically.
1038        * classes/Locale.php::getBestLanguage changed to correctly parse
1039          HTTP_ACCEPT_LANGUAGE, comma is the correct delimiter not semi-colon.
1040          Ignores SESS_LANGUAGE_VAR if invalid.
1041
10422006-03-18 Rob Janes <janes.rob@gmail.com>
1043        * Fixed bug #77 classes/EventLogging.php non-variable pass by reference
1044
10452006-03-16 François Proulx <francois.proulx@gmail.com>
1046        * Removed stale owner_sendfiles.php (now integrated in the Content Manager)
1047        * Cleaned up a bunch of stale TODOs
1048
10492006-03-16 Max Horváth <max.horvath@freenet.de>
1050        * updated language files (new german strings have already been translated)
1051        * added LDAP authentication
1052        * Dependencies class can check for an PHP extension now
1053        * Dependencies class can check for multiple files on a single dependency now
1054        * Authentication classes moved to it's own directory
1055        * The getAuthenticator method now uses the much safer and faster
1056          call_user_func_array function to return an authenticator object
1057        * the available authenticator classes are now being displayed in a select
1058          box on the network administration page
1059        * the link to and the Google hotspots map as is won't be shown to an
1060          unauthenticated user at a real hotspot
1061
10622006-03-16 Benoit Grégoire  <bock@step.polymtl.ca>
1063        * hotspots_map.tpl:  Use base_url_path instead of base_ssl_path
1064
10652006-03-09 Benoit Grégoire  <bock@step.polymtl.ca>
1066        * init_php.php: Try to fix #102 by inspection
1067        * Delete AbstractDbMySql.php, and collapse AbstractDbPostgres.php
1068          into AbstractDb.php to prepare for eventual switch to PDO file.
1069        * incoming_outgoing_swap.php:  Delete file, closes #85
1070
10712006-03-09 Max Horváth <max.horvath@freenet.de>
1072        * fixed small bug in the InterfaceElements class
1073        * fixed PHP notices in portal/index.php and Locale class
1074        * fixed small bug in Authenticator class which in resulted in a fatal PHP
1075          error if a user logged out when his session was already gone
1076    * using the {$isUserAtHotspot} smarty variable you can check now in every
1077      template if a user calls the portal from a hotspot or not
1078
10792006-03-08 Max Horváth <max.horvath@freenet.de>
1080        * fixed small bug where clicking on the start button at the portal page
1081          didn't open the wifidog portal, but the requested page
1082        * updated source to generate a clean PHPdoc output
1083        * updated PHPdoc generating script
1084
10852006-03-07 Max Horváth <max.horvath@freenet.de>
1086        * init_php.php now does a 100% strict check for variable types of
1087          elements to be processed when magic_quotes are turned on
1088        * fixed duplicate use of SSL_AVIABLE define in common.php
1089          This fixes ticket #95.
1090        * fixed problens with slashes in htospots_map.php
1091          This fixes ticket #97.
1092        * fixed variable typo in NodeListXML.php
1093        * introduced new InterfaceElements class which is being used to create
1094          HTML code - this reduces HTML markup in PHP code and reduces HTML errors
1095          we had i.e. on the node administration page (unclosed div).
1096          It is being used on the node administration page now and will be updated
1097          for the other admin pages ...
1098        * when adding an owner or tech officer on the node admin page and pressing
1099          enter in the input field the statistics where called (no owner or tech
1100          officer was added) - this has been fixed
1101        * database schema update 35 wasn't compatible with PostgreSQL version 7,
1102          the update script has been changed to be compatible with it ...
1103          This fixes ticket #94.
1104        * Gabriel Hahmann did a translation of WiFiDog-Auth in portuguese ... it has
1105          been included
1106          This fixes ticket #98.
1107        * on node administration page owners have less rights than admins
1108
11092006-03-02 Max Horváth <max.horvath@freenet.de>
1110        * converted PNGs to GIFs because Internet Explorer cannot handle alpha
1111          transparency of PNGs
1112
11132006-02-28 Max Horváth <max.horvath@freenet.de>
1114        * the content selector for an owner could produce notices
1115        * the button add existing content in the content manager will only be shown
1116          if content is actually available
1117        * the start button on the portal page won't be shown anymore if a user
1118          didn't access it from a WiFiDog hotspot
1119        * deleted wifidog/templates/message_unknown_hotspot.html as this error
1120          message will be displayed using the genecir error message template
1121        * display of generic error messages will be handled by the MainUI class
1122        * deleted wifidog/portal/missing_original_url.php as its functions is being
1123          handled by wifidog/portal/index.php now
1124        * deleted wifidog/templates/message_default.html as its functions is being
1125          handled by wifidog/gw_message.php now
1126        * deleted wifidog/templates/message_activate.html as its functions is being
1127          handled by wifidog/gw_message.php now
1128        * account validation hints finally show the real validation grace time
1129          (used to display 15 minutes)
1130        * deleted wifidog/templates/message_denied.html as its functions is being
1131          handled by wifidog/gw_message.php now
1132        * deleted wifidog/templates/message_failed_validation.html as its functions
1133          is being handled by wifidog/gw_message.php now
1134        * deleted wifidog/templates/user_management_menu.html as its not being
1135          used anymore
1136        * deleted wifidog/local_content/default/footer.html as its not being
1137          used anymore
1138        * deleted wifidog/local_content/default/header.html as its not being
1139          used anymore
1140        * deleted wifidog/local_content/default/portal.html as its not being
1141          used anymore
1142        * deleted wifidog/local_content/default/new.css as its wasn't ever used
1143        * deleted wifidog/local_content/README as its content isn't valid anymore
1144          used anymore
1145        * Login site now uses a Smarty template to render HTML page
1146        * class MainUI now also delivers $isOwner variable for Smarty
1147
11482006-02-26 Max Horváth <max.horvath@freenet.de>
1149        * Hotspots map page now uses a direct Javascript call for the link
1150          "Show me on the map" (resulting in the browser not jumping to the top of
1151          the page if a user clicks on such a link)
1152        * refactored hotspot status page, it now uses node list classes to generate
1153          output
1154        * WIFI411_CSV has been removed from hotspot status page - it didn't work
1155          properly - a working version can be added to /wifidog/classes/NodeLists
1156        * RSS feed of hotspot status now delivers language of user
1157        * RSS and XML feed of hotspot status now actually do deliver data from
1158          the requested network (before the code accepted network selection but
1159          actually switched back to the current network)
1160        * RSS feed of hotspot status page now gets announced in browser
1161
11622006-02-25 Max Horváth <max.horvath@freenet.de>
1163        * fixed undefined variable bugs in statistic classes (use of date_from and
1164          date_to), variables were processed directly from request, without any
1165          check
1166          This fixes ticket #71.
1167        * clicking on a username in user logs now generates a individual user
1168          report as it does when clicking on a username on the online users page
1169        * Changing the value of the "Is persistent" checkbox doesn't have to
1170          saved when JavaScript is enabled in the browser. Before this change
1171          you had to save a content. So if you wanted to delete a persistant content
1172          you first had to uncheck this checkbox, save the content and delete the
1173          content after saving it. If JavaScript is enabled in your browser you
1174          can go straight ahead, uncheck the checkbox and delete the content.
1175          This fixes ticket #73.
1176        * when processing global arrays if magic quotes is enabled, WiFiDog will
1177          check for type variables
1178          This fixes ticket #84.
1179        * the RSS feed of nodes now delivers the correct link to the nodes homepage
1180          This fixes ticket #80.
1181        * small fix in schema_validate.php which should affect nobody (in schema
1182          version 9)
1183          This fixes ticket #79.
1184        * fixed "Show all available contents for this hotspot" link which didn't
1185          work if WiFiDog wasn't located in the root folder of the webserver
1186        * the "Show all available contents for this hotspot" link won't be shown
1187          anymore unless all requirements are meet that all content of a hotspot
1188          would be shown. The requirements are: you need to have at least one
1189          Content Group tagged artistic and locative content, with at least one
1190          content group element available for display.
1191          This fixes ticket #35.
1192        * adjusting the location of a node via the Google maps geocoding service)
1193          and clicking the button "Use these coordinates" didn't work
1194          This fixes ticket #81 and #82.
1195        * the content select box now only shows the content to a user of which is
1196          is the owner from (same mechanism has already been used on the content
1197          manager page) or all content if the user is a superadmin
1198        * wifidog/admin/content_admin.php removed, because the content manager now
1199          uses the generic object administration interface
1200        * the creation date of a network can be changed now (this value wasn't
1201          displayed in the admin interface, even though it was present in the
1202          database)
1203        * revamped administration sidebar, cleaner interface for the superadmin,
1204          for the owner of a node nothing changes
1205        * added "server administration" section to the administration interface
1206        * Added administration of webservers. For one webserver not much changes.
1207          The SSL available setting has been moved to this section (and removed
1208          from config.php). Running WiFiDog on two or more webserver (with one
1209          database) you now can define the different hostnames of the webserver.
1210          Of course you can also define, which of those webserver serves SSL. This
1211          is for example essential for the Google maps feature (different API keys
1212          for different hostnames)
1213        * for every network you now can define it's own Google Map initial values
1214          and map types
1215        * Hotspots map page now supports different maps for different networks
1216        * Hotspots map page now supports different map types for different networks
1217          This fixes ticket #69
1218        * Hotspots map page now offers full multilingual support (text in the
1219          JavaScript file was english only)
1220        * Hotspots map page now uses a Smarty template to render HTML page
1221
12222006-02-21 Max Horváth <max.horvath@freenet.de>
1223        * fixed access restriction for HTMLeditor in templates folder
1224        * fixed XML error in HTMLeditors CSS and HTML templates
1225        * fixed undefined variable bug in content class ContenGroup
1226        * start page now uses a Smarty template to render HTML page
1227        * start page now also displays information about deployed/operational nodes
1228        * information about valid/online users and deployed/operational nodes gets
1229          cached if caching has been enabled (valid/online users for 1 minute,
1230          deployed/operational nodes for 5 minutes)
1231
12322006-02-17 Max Horváth <max.horvath@freenet.de>
1233        * refactored lost username site - now it also includes the help toolbox
1234        * lost username page now focuses input field automaticly (like on login or
1235          signup page)
1236        * refactored lost password site - now it also includes the help toolbox
1237        * lost password page now focuses input field automaticly (like on login or
1238          signup page)
1239        * refactored sesend validation email site - now it also includes the help
1240          toolbox
1241        * refactored resend validation email page now focuses input field
1242          automaticly (like on login or signup page)
1243
12442006-02-16 Max Horváth <max.horvath@freenet.de>
1245    * added full PHPdoc documentation to Mail class
1246    * added more temporary-email-address-providers to the black-list
1247        * Login site now uses a Smarty template to render HTML page
1248        * refactored signup site - now it also includes the help toolbox
1249        * removed Phlickr directory in /lib dir as Phlickr must be installed via
1250          PEAR
1251        * modified gen.sh to include new template folders for the
1252          translation file generation
1253
12542006-02-15 Max Horváth <max.horvath@freenet.de>
1255        * Login site now uses a Smarty template to render HTML page
1256
12572006-02-14 Max Horváth <max.horvath@freenet.de>
1258        * converted Session class to PHP5 style
1259        * moved code used used to init PHP into wifidog/include/init_php.php
1260        * fixed bug regarding APC (super globals weren't initialized before their
1261          first use
1262        * in an attemp to enter the administration interface of WiFiDog and not
1263          being logged in you'll be redirected to the administration interface after
1264          a successful login, if you are an admin or owner of a node. This only
1265          works for a virtual login, as it isn't needed to be done when logging in
1266          via a WiFiDog node (then you have to login anyway on the splash page
1267          first)
1268        * fixed preview of network in administration interface as content for a
1269          network as is isn't available in the code, yet
1270
12712006-02-13 Rob Janes <janes.rob@gmail.com>
1272    * cron/cleanup.php needed new way to call common.php
1273        * added cron/vacuum.php to round things out
1274
12752006-02-07 Benoit Grégoire  <bock@step.polymtl.ca>
1276        * Fix a bunch of file inclusion bugs in the statistics subsystem.
1277          This is only a ad-hac fix. It seems the requires for just about every
1278          class have been stripped off. This must be fixed, all classes should
1279          require_once all classes or include that they need that isn't included by
1280          a parent class.
1281
12822006-02-06 Benoit Grégoire  <bock@step.polymtl.ca>
1283        * wifidog/local_content/default/hotspot_logo.jpg: Delete deprecated file
1284        * wifidog/local_content/default/hotspot_logo_banner.jpg: Delete deprecated
1285          file
1286
12872006-02-04 Max Horváth <max.horvath@freenet.de>
1288        * MainUI class now uses Smarty templates to render HTML pages
1289        * display of debug messages by using $_REQUEST['debug_request'] on any
1290          page is now only possible for a super admin
1291        * caching class now supports lifetime of a cache and every data type
1292          supported by PHP (except the resource-type)
1293        * Content class caches available content plugins for 7 days if caching has
1294          been enabled -> results in a nice speed-up on every page call because
1295          of 17 saved filesystem queries
1296        * converted Security class to PHP5 style and it's functions to static
1297          functions
1298        * fixed broken HTMLeditor support
1299        * implemented PEAR::HTML_Safe cache support - if PEAR::HTML_Safe has been
1300          installed it strips down all potentially dangerous content within HTML
1301          that has been entered using the content plugins Langstring,
1302          TrivialLangstring and HTMLeditor
1303        * moved /wifidog/include/HTMLeditor to /wifidog/content/HTMLeditor
1304        * fixed thrown exception in path_defines_base.php (sprintf() was used
1305          uncorrectly)
1306        * template for definition of SYSTEM_PATH has been added to config.php
1307          for easier definiton when path detection failes
1308        * from now on caching is enabled by default in config.php - it means that
1309          WiFiDog caching features will automaticly be used if PEAR::Cache_Lite
1310          has been installed
1311        * updated installation file to represent all the new modules that can be
1312          installed to use all WiFiDog features
1313
13142006-01-31 Benoit Grégoire  <bock@step.polymtl.ca>
1315        * path_defines_base.php:  Fix syntax errors in the exception thrown. Add
1316          more meaningfull output
1317
13182006-01-29 Max Horváth <max.horvath@freenet.de>
1319        * WiFiDog now detects APC PHP cache and eAccelerator PHP cache and disables
1320          both PHP caches, because WiFiDog currently doesn't run with either of
1321          those PHP caches (I'm still investigating why)
1322        * added a missing <ul> HTML tag on the administration page
1323        * the validation mail sent to new users now includes the full path to the
1324          WiFiDog installation (before it assumed WiFiDog to be installed in
1325          the document root of the webserver)
1326        * fixed display of start button of portal when WiFiDog is not installed
1327          in the document root of the webserver
1328        * replaced $_SERVER["DOCUMENT_ROOT"]-stuff with our defines made in
1329          path_defines_base.php
1330        * updated HTMLeditor content class to use the new, moved stylesheet.css
1331        * fixed error messages not displaying technical support e-mail address
1332
13332006-01-25 Max Horváth <max.horvath@freenet.de>
1334        * a notice message regarding timezones was being displayed when running PHP
1335          5.1.0+ due to rewritten date functions of PHP. There is a new config flag
1336          in config.php named DATE_TIMEZONE. Set it to your local timezone.
1337          Don't forget to update your local.config.php in case you're using it.
1338
13392006-01-24 Benoit Grégoire  <bock@step.polymtl.ca>
1340        * Dependencies.php:  We missed one more instance of non-unifrom code for
1341          path detection. The Dependencies class now uses the code in
1342          include/path_defines_base.php like the rest of the system. Also make it
1343          returns more usefull error messages.
1344        * SmartyWifidog.php: Output the error returned by Dependencies if Smarty
1345      cannot be found for some reason.
1346
13472006-01-23 Max Horváth <max.horvath@freenet.de>
1348        * Removed compiled PHPdoc documentation
1349        * moved createDoc.sh to "doc" directory, documentation can be generated on
1350          the fly now, in the future we'll be generating a nightly PHPdoc on
1351          wifidog.org
1352        * renamed "ChangeLog" to CHANGELOG, resulting this file being parsed by
1353          PHPdoc
1354        * moved "header.gif" image to its own folder in the images directory
1355        * touched almost every PHP file in WiFiDog auth server for PHPdoc generating
1356          compiling without any warnings
1357        * Initialized uninitialized variables in Node class
1358        * Fixed initialization error of one variable
1359        * Configuration file (config.php) will be read before path detection is
1360          being started (otherwise there was no chance to set a manual SYSTEM_PATH)
1361
13622006-01-22 Benoit Grégoire  <bock@step.polymtl.ca>
1363        * common.php: Real fix for Ticket #59 ;)
1364        * common.php: Untested fix for Ticket #59
1365
13662006-01-18 François Proulx <francois.proulx@gmail.com>
1367        * Remove unneeded .cvsignore files since the svn:ignore property is set to
1368          the same list
1369
13702006-01-11 Rob Janes <janes.rob@gmail.com>
1371    * classes/User.php: added setters, getters, throw exceptions, added
1372      refresh() subr, tweaked language
1373
13742006-01-09 Max Horváth <max.horvath@freenet.de>
1375        * createDoc.sh: added description of how to install requirements
1376
13772006-01-08 Benoit Grégoire  <bock@step.polymtl.ca>
1378        * common.php: Improve path detection code, and start moving PATH detection
1379          back to a central location. You should NEVER go to any $_SERVER[]
1380          variables for path related stuff, all you need is already available
1381          in defines.
1382        * UserReport.php: Remove dangling reference to BASEPATH.
1383        * install.php: Use centralised path detection.
1384
13852006-01-04 Benoit Grégoire  <bock@step.polymtl.ca>
1386        * config.php, common.php: Completely remove SYSTEM_PATH from config.php,
1387          making one less config option to manage.  It is now autodetected.
1388
13892006-01-03 Rob Janes <janes.rob@gmail.com>
1390        * added support for classes/EventLogging.php.
1391        * modified include/common.php to pull in the EventLogging class
1392        * modified index.php to kick start error logging with minimal setup.
1393          I didn't setup a css for this, so any errors are simply pushed out
1394          when the logging channel is destructed.
1395        * other changes to include/common.php - a host of utility functions,
1396          prefixed with "cmn" to avoid namespace collision.
1397        * stock config.php, added global $AVAIL_LOCALE_ARRAY, cause of my change
1398          to include/common.php, wrapping the require_once in a function.
1399
14002006-01-04 Pascal Leclerc <isf@plec.ca>
1401    * install.php: New security validation and small bugs fix in admin account
1402      creation
1403
14042006-01-02 Rob Janes <janes.rob@gmail.com>
1405        * split static stylesheet.css from smarty template stuff.
1406          local_content/default/stylesheet.css has only smarty template stuff.
1407          local_content/common/stylesheet.css has all the rest.
1408        * classes/MainUI.php changed to <link ...> the common stylesheet.css, while
1409          still smarty fetching the templated stylesheet.
1410        * classes/SmartyWifidog.php changed to set a smarty template variable so
1411          that the templating stylesheet could work.
1412
14132005-12-29 François Proulx <francois.proulx@gmail.com>
1414        * Integrating Philippe's code for User class
1415        * This build needs extensive testing please
1416        * E-mail blacklisting (Mail class)
1417
14182005-12-29 François Proulx <francois.proulx@gmail.com>
1419        * Added Aidan's file_exists_incpath function to Dependencies class
1420        * Translated and standardized most of PostgreSQL abstraction class.
1421        * Removed blank lines at end of many files
1422        * Tested the new Phlickr package, which fixes URL on Flickr
1423
14242005-12-28 Max Horváth <max.horvath@freenet.de>
1425        * Removed BASEPATH define from source - resulting in a better
1426          require-overview
1427        * speed improvement of 7% by optimizing Dependencies class
1428        * improved documentation of content classes
1429
14302005-12-26 François Proulx <francois.proulx@gmail.com>
1431        * Fixed bug when the same user was owner of many nodes
1432        * Added missing reference to content_display_location initial data in dump
1433          script
1434
14352005-12-26 François Proulx <francois.proulx@gmail.com>
1436        * Tiny modifications to config.php
1437        * Reinserted the deprecated defines, created errors on my system
1438        * Fully translated FormSelectGenerator class, Locale
1439        * Added comments to Utils, Locale etc..
1440        * Fully tested installation from scratch using blank database with
1441          installation script
1442        * Improved installation script a bit
1443        * Synched SQL for CVS schema 29 --> 33
1444
14452005-12-26 Max Horváth <max.horvath@freenet.de>
1446        * added new headers to every source file
1447        * converted file to represent a tab as four (4) spaces
1448        * added PhpDocumentor documentation
1449        * added WiFiDog skin to HTMLeditor
1450        * language selection in a content class now shows the language name instead
1451          of the language code
1452        * added caching support to content classes Langstring and TrivialLangstring
1453
14542005-12-15 Max Horváth <max.horvath@freenet.de>
1455        * fixed bug in dependencies class when gettext support for PHP is not
1456          available
1457
14582005-12-14 Max Horváth <max.horvath@freenet.de>
1459        * fixed bug in config.php:59 ... was unable to select DB server
1460
14612005-12-08 Max Horváth <max.horvath@freenet.de>
1462        * added FCKeditor to the supported libraries
1463        * added new content type: HTMLeditor
1464        * added new caching class which uses PEAR::Cache_Lite - must be enabled in
1465          config.php
1466        * HTMLeditor is the first class using the new caching class
1467        * removed unused function from content type Langstring
1468        * beautified and reorganized config.php and added a new switch for the
1469          caching class
1470
14712005-12-06 Max Horváth <max.horvath@freenet.de>
1472        * fixed SQL bug when calling the "report configuration" page as a node owner
1473
14742005-12-05 François Proulx <francois.proulx@gmail.com>
1475        * Crunched the Google Maps Div block for better display on small screens
1476
14772005-12-05 Max Horváth <max.horvath@freenet.de>
1478        * fixed bug when calling the preview version of a login page
1479
14802005-11-30 Benoit Grégoire  <bock@step.polymtl.ca>
1481        * User.php: Fix a bug in the sql query in isUserValid(). Checked that the
1482          change works with postgresql 7.4 and 8. It is still not understood why
1483          ISF doesn't encounter this bug on it's production server.
1484
14852005-11-28 François Proulx <francois.proulx@gmail.com>
1486        * Improved Flickr user output
1487        * Mostly completed Flickr admin UI
1488        * Changed display algorithm to display sequentially
1489
14902005-11-25 Rob Janes <janes.rob@gmail.com>
1491        * EventLogging class initial checkin
1492
14932005-11-14 Max Horváth <max.horvath@freenet.de>
1494        * fixed path to included classes
1495          Guys, please check the paths to included files twice next time you're
1496          moving files
1497
14982005-11-12 François Proulx <francois.proulx@gmail.com>
1499        * Fixed schema 33 update
1500        * fixed css
1501
15022005-11-11 François Proulx <francois.proulx@gmail.com>
1503        * Fixed Admin hotspot location map
1504        * Take note: Google Maps updated their API key system, so that you simply
1505          need to register a key for the whole domain.
1506          ie. one key for http://auth.abc.org will work even in sub-directories
1507        * Changed the Content classes structure to make them "pluggable" more easily
1508          as requested during last developpers meeting
1509        * node_list.php now support column sorting, node_id are naturally sorted
1510          (numerical order, alphabetic)
1511        * Added 2-dimensionnal natural sort algorithm to Utils class
1512        * fixed Node::getSelectNodeUI to naturally sort by node_id
1513        * Improved Flickr content class
1514        * Modified Flickr database schema
1515        * Modified CSS look and feel
1516
15172005-11-08 Philippe April  <philippe@ilesansfil.org>
1518        * Put a note to mention the roles of users in the logged in users list
1519        * Fixed online users link to statistics
1520
15212005-11-01 Max Horváth <max.horvath@freenet.de>
1522        * added german translation
1523        * modified gen.sh to include geocoder and statistics classes for the
1524          translation file generation
1525        * modified hotspot status page to allow translations of every string
1526        * modified node list page to allow translations of every string
1527        * modified FAQ page to allow translations of every string
1528        * fixed bug in FAQ page which caused the Safari browser to display very
1529          large text
1530        * modified online users page in administration to allow translations of
1531          every string
1532        * added Phlickr directory to /lib
1533
15342005-10-25 Francois Proulx <francois.proulx@gmail.com>
1535        * /classes/DateTime.php : First iteration of DateTime abstraction class
1536        * Basic support for datetime input field.
1537        * TODO : Overhaul with full-fledged datetime selector...
1538
15392005-10-25 Francois Proulx <francois.proulx@gmail.com>
1540        * AuthenticatorRadius : Fixed legacy variable misuse
1541
15422005-10-24 Benoit Grégoire  <bock@step.polymtl.ca>
1543        * AuthenticatorRadius:  Fix bug reported by kouete, by inspection. Fix not
1544          actually tested. Guys, read the documentation of the function parameters
1545          when you code, it's there to help you ;)
1546
15472005-10-21 Francois Proulx <francois.proulx@gmail.com>
1548        * Integration testing for Radius debugging
1549        * Added network_id parameter to hotspot_status.php for selecting network
1550        * Default network will be automatically selected...
1551
15522005-10-04 Francois Proulx <francois.proulx@gmail.com>
1553        * Scaled down network logo
1554        * Changed CSS accordingly
1555        * Modified online users SQL query to sort better
1556
15572005-10-04 Francois Proulx <francois.proulx@gmail.com>
1558        * Removed unwanted file from checkout
1559
15602005-10-07 Philippe April  <philippe@ilesansfil.org>
1561        * Released wifidog-auth-1.0.0_m2
1562
15632005-10-06 Benoit Grégoire  <bock@step.polymtl.ca>
1564        * AuthenticatorLocalUserNoSignup:  Make a new authenticator, identical to
1565          AuthenticatorLocalUser but disalowing new user signup.  When setting up
1566          a server, you can add your users, and then change the authenticator class
1567          from AuthenticatorLocalUser to AuthenticatorLocalUserNoSignup
1568        * signup.php: Actually enforce it. Still needs improvement, as the network
1569          is still shown for signing up.
1570
15712005-10-04 Francois Proulx <francois.proulx@gmail.com>
1572        * Translated some error message in SQL abstraction
1573        * Cleaned up error messages when starting from scratch
1574        * Added link to install script, when the database is empty.
1575        * Fixed initial data dump script
1576
15772005-10-04 Benoit Grégoire  <bock@step.polymtl.ca>
1578        * Remove a bunch of deprecated methods from the Node object,
1579          document undocumented methods.
1580        * Make the node id editable.  This allows the gateway "MAC address as node
1581          ID" patch by London wireless to be usable with the standard auth server,
1582          and to transition to using MAC address as node ID.
1583        * Fix a saving problem with all the content types with some versions of PHP
1584        * Add a new Content type:  IFrameRest.  This allows the result of a REST
1585          style query returning HTML to be displayed in a HTML iframeset. Currently
1586          supported are substitution of the node_id, the user_id and the last
1587          display date in the get query.
1588        * CVS version of the auth server should now be "reasonnably" safe to use in
1589          production, so the 2005-09-01 notice is no longuer in effect.
1590
15912005-10-04 Francois Proulx <francois.proulx@gmail.com>
1592        * Translated signup page messages
1593
15942005-09-27 Benoit Grégoire  <bock@step.polymtl.ca>
1595        * Partial login page content manager support (Node only for now)
1596
15972005-09-27 Philippe April  <philippe@ilesansfil.org>
1598        * Guess the best language from what the browser sends,
1599          otherwise use the default.
1600
16012005-09-26 Francois Proulx <francois.proulx@gmail.com>
1602        * Translated the few new sentences on the login page
1603
16042005-09-26 Benoit Grégoire  <bock@step.polymtl.ca>
1605        * login/index.php, stylesheet.css:  Make the create new account bigger, and
1606          remove unnecessary words.
1607
16082005-09-26 Francois Proulx <francois.proulx@gmail.com>
1609        * Completed translations
1610
16112005-09-26 Francois Proulx <francois.proulx@gmail.com>
1612        * Fixed annoying bug in new google maps code
1613
16142005-09-25 Francois Proulx <francois.proulx@gmail.com>
1615        * Complete rewrite of Google maps code, now stands as a js class
1616        * relooking of mapping stuff
1617        * wrote basic "Find the closest hotspot" widget for canada geocoding only...
1618        * fixed broken xml, damn blank lines...
1619
16202005-09-25 Benoit Grégoire  <bock@step.polymtl.ca>
1621        * Statistics:  At long last, the monster statistics commit.
1622          We finally have a stable, documented and uniform codebase for statistics.
1623          This resulted is removal of several functions in other classes too.
1624          There are a few new reports, but mostly, each report is a lot more
1625          flexible.
1626          Still TODO:
1627          - Security:  This is to be implemented directly in the Statistics class,
1628            by forcing restrictions to the selected nodes and network.
1629          - Support selecting multiple users for a report.
1630            The code and SQL queries support it, but the UI doesn't. An easy and
1631            quick way would be to simply parse a coma-separated list. Comment are
1632            off course welcome!
1633
16342005-09-25 Francois Proulx <francois.proulx@gmail.com>
1635        * Updated initial SQL script to schema 29
1636        * Remove useless includes in some files, preventing from using the "plugin"
1637          contents
1638
16392005-09-25 Philippe April  <philippe@ilesansfil.org>
1640        * Make method getCurrentRealNode ORDER BY DESC so it picks
1641          up the latest network name
1642
16432005-09-20 Francois Proulx <francois.proulx@gmail.com>
1644        * Changed the output layout of the Google Maps hotspots list
1645        * Added "Loading" message on Google Maps
1646
16472005-09-17 Francois Proulx <francois.proulx@gmail.com>
1648        * Fixed forgotten reference to getNetwork in AuthLocalUser
1649
16502005-09-17 Francois Proulx <francois.proulx@gmail.com>
1651        * Fixed a few bugs in Radius class
1652        * Improved syntax and completed 100% of French translations
1653
16542005-09-17 Francois Proulx <francois.proulx@gmail.com>
1655        * Fixed RADIUS bug #1287000
1656
16572005-09-16 Francois Proulx <francois.proulx@gmail.com>
1658        * Added Mail Classes to circumvent mb_send_mail UTF-8 problems
1659        * This class provides UTF-8 mailing for validation e-mail, lost password,
1660          lost username...
1661        * Fixes reported bug where users would not receive validation email on
1662          some servers
1663
16642005-09-13 Francois Proulx <francois.proulx@gmail.com>
1665        * Added bytes in words for online users
1666
16672005-09-13 Francois Proulx <francois.proulx@gmail.com>
1668        * Fixed bug in user stats
1669
16702005-09-13 Francois Proulx <francois.proulx@gmail.com>
1671        * Added access permissions for statistics.
1672
16732005-09-12 Benoit Grégoire  <bock@step.polymtl.ca>
1674        * schema_validate.php:  Fix a bug version 26.  The conversion of the old
1675          account_origin as a parameter to the authenticator was wrong.  To fix it
1676          manually if you already ran the script, you must quote the parameter in
1677          column network_authenticator_params in the networks table.
1678        * Network.php:  Fix improper quoting of Authenticator arguments.
1679        * RssPressReview.php:  Make expansion of today's item optionnal.
1680
16812005-09-11 Francois Proulx <francois.proulx@gmail.com>
1682        * Fixed dependency check, found a workaround for the file_exists problem
1683
16842005-09-11 Francois Proulx <francois.proulx@gmail.com>
1685        * Added dependency check for Phlickr
1686
16872005-09-11 Francois Proulx <francois.proulx@gmail.com>
1688        * Fixed Flickr support
1689        * Now using PEAR version of Phlickr
1690        * Download the latest package and install like this: pear install
1691          PhlickrXYZ.tar.gz
1692
16932005-09-10 Francois Proulx <francois.proulx@gmail.com>
1694        * Fixed dependency check
1695
16962005-09-10 Francois Proulx <francois.proulx@gmail.com>
1697        * Removed many blank lines after php tags
1698        * added more checks, for dates etc...
1699        * changed sorting mode
1700
17012005-09-10 Benoit Grégoire  <bock@step.polymtl.ca>
1702        * Add UI to add a new Network
1703        * Improve UI to add a new Node and new Content
1704
17052005-09-10 Philippe April  <philippe@ilesansfil.org>
1706        * signup.php: Fixed bug in detecting is the user is already part of the
1707          network.
1708        * classes/{Authenticator,Network,Node}.php: isset, and issues preventing
1709          users from logging out.
1710        * add BASEPATH to most files with require_once
1711        * Added dependency checking class
1712        * Don't show the admin menu if user does not have access
1713        * Got rid of user_log_detailed.html, using stats.php instead
1714
17152005-09-10 Francois Proulx <francois.proulx@gmail.com>
1716        * Automatically redirect user to login form when trying to access admin
1717        * Added various isset, empty tests, vars init in stats (to avoid PHP
1718          warning)
1719
17202005-09-08 Philippe April  <philippe@ilesansfil.org>
1721        * New stats system with graphs
1722        * Changed the UI a bit to reflect this change
1723        * Updated stylesheet
1724
17252005-09-08 Benoit Grégoire  <bock@step.polymtl.ca>
1726        * portal/index.php:  Custom portal redirect now operational.
1727
17282005-09-08 Benoit Grégoire  <bock@step.polymtl.ca>
1729        * MainUI:  Move call to garbage_collect() here.
1730        * portal/index.php:  New feature:  Custom portal redirect.
1731        * rework much of the logout code
1732
17332005-09-07 Benoit Grégoire  <bock@step.polymtl.ca>
1734        * login/index.php:  Fix getSplashOnlyUser() method call.
1735
17362005-09-07 Benoit Grégoire  <bock@step.polymtl.ca>
1737        * RssPressReview.php:  Fix z-index so the hovers will overlap the expanded
1738          news.
1739        * login/index.php:  Reorganise code to make it more legible and comment what
1740          it does. Emphasise error messages and put them right above where they
1741          clicked so users can actually see them.
1742        * Security.php:  Remove deprecated login code
1743        * Authenticator.php: Change calling convention for better encapsulation
1744        * New feature:  Support multiple simultaneous logins if enabled in network
1745          configuration
1746        * New feature (in testing): Splash-only node support
1747
17482005-09-05 Benoit Grégoire  <bock@step.polymtl.ca>
1749        * include/common.php:  Add code to undo the effect of magic_quote if enabled
1750          in the server config.  It is still strongly recommended to disable
1751          magic_quote
1752        * Node.php:  Add UI for splash only node and custom portal
1753        * Update schema
1754
17552005-09-04 Francois Proulx <francois.proulx@gmail.com>
1756        * Removed update.php script ( should not have been in CVS )
1757        * Moved authenticator require in Network getAuthenticator()
1758
17592005-09-03 Philippe April  <philippe@ilesansfil.org>
1760        * Schema change: Added last_paged column to nodes table
1761        * Replaced HOTSPOT_NETWORK_NAME with hotspot_network_name in all templates
1762        * s/Networt/Network/
1763        * Fixed signing up and validation, typos
1764
17652005-09-01 Benoit Grégoire  <bock@step.polymtl.ca>
1766        WARNING:  DO NOT use the CVS auth server in production until further notice.
1767        Massive internal changes are underway.
1768        Use the release tagged 1.0m1 in production.
1769        * Network abstraction mostly complete, including UI.
1770          All that is missing is new network creation, network stakeholder UI and
1771          testing.
1772        * Cleanup the config file of all the now unneeded constants.
1773          Note that the install script is currently broken.
1774          There can now be multiple networks on the server.
1775          The install script will have to make sure that there is at least one, with
1776          one super-admin
1777
17782005-08-31 Francois Proulx <francois.proulx@gmail.com>
1779        * Fixed bug where node ID containing periods, whitespaces or underscores
1780          would confuse PHP
1781        * MD5 hash is used to make sur the http vars are unique
1782        * This is only valid for Node administration
1783
1784NOTE:  the 1.0m1 release was tagged here
1785
17862005-08-31 Benoit Grégoire  <bock@step.polymtl.ca>
1787        * Node.php:  Fix node creation
1788
17892005-08-31 Francois Proulx <francois.proulx@gmail.com>
1790        * Fixed new node creation bug
1791
17922005-08-29 Philippe April <philippe@ilesansfil.org>
1793        * js/gmaps_hotspots_status_map.js: Fixed small bug in that makes prevents
1794          IE to see the map properly.
1795
17962005-08-22 Pascal Leclerc  <pascal@plec.ca>
1797        * install.php, Change javascript to OnClick + dependencie note
1798        * schema_validate.php, Fix broken DB update for install.php
1799        * SmartyWifidog.php, Add automatic redirect to install.php if Smarty not
1800          installed
1801
18022005-08-22 Francois Proulx <francois.proulx@gmail.com>
1803        * Added edit button for quickly accessing Content editing mode
1804        * Changed the layout so the admin ui fits in a tighter space
1805
18062005-08-21 Francois Proulx <francois.proulx@gmail.com>
1807        * Added reference to new street address fields in mapping page and on status
1808          template
1809        * Fix bug on line 756 of RssPressReview , added check for empty var.
1810        * Flickr support is broken, added  bug to sf.net tracker
1811
18122005-08-21 Francois Proulx <francois.proulx@gmail.com>
1813        * Node admin UI should now be completed.
1814        * Minor bug fixes in Geocoder
1815        * Merged node_owners and node_tech_officers table into node_stakeholders
1816
18172005-08-19 Benoit Grégoire  <bock@step.polymtl.ca>
1818        * New schema version
1819        * install.php, tmp/magpie_cache/:  Move all magpie caches
1820          to a central location, adjust install script to match.
1821        * classes/MainUI.php:  Add $_REQUEST array output if debug_request is set as
1822          a parameter to the page
1823        * classes/Network.php, classes/Node.php:  Change content ordering to be most
1824          recently subscribed first, this is a stopgap measure while waiting for
1825          Content ordering to be explicitely settable.
1826        * classes/Content/RssAggregator.php:  Full admin UI, some bug fixes
1827        * lib/RssPressReview/RssPressReview.php: New version, adds isFeedAvailable()
1828          and getFeedTitle() methods.
1829          Fixes minor bugs
1830
18312005-08-17 Pascal Leclerc  <pascal@plec.ca>
1832    * Added install script + minor changes in schema_validate.php
1833
18342005-08-15 Benoit Grégoire  <bock@step.polymtl.ca>
1835        * Re-Run sync_sql_for_cvs.sh, did not run to completion last time.
1836
18372005-08-15 Benoit Grégoire  <bock@step.polymtl.ca>
1838        * Run sync_sql_for_cvs.sh
1839        * sql/dump_initial_data_postgres.sh:  Fix a hardcoded reference to rss_url
1840          which no longer exists
1841        * .project:  Remove mistakenly commited file in last commit
1842        * .cvsignore:  Add file to avoid previous error
1843
18442005-08-12 Francois Proulx <francois.proulx@gmail.com>
1845        * Added missing GisPoint fille to CVS
1846        * Fixed some bugs
1847        * Added Technical officer table
1848        * Added technical officer management to node UI
1849
18502005-08-12 Francois Proulx <francois.proulx@gmail.com>
1851        * Changed config.php GMAPS_API_KEY to GMAPS_PUBLIC_API_KEY
1852        * Added GMAPS_ADMIN_API_KEY, needed for admin UI
1853        * This is a stupid limitation of the Google Maps API which matches the
1854          complete URL path
1855        * Added /classes/GisPoint.php class
1856        * Will add geocode + Google Maps capabilities very soon
1857        * Notice : the XML schema will change very soon...
1858        * I will try to keep the streetAddress field intact so I won't break
1859          backward compat.
1860
18612005-08-12 Benoit Grégoire  <bock@step.polymtl.ca>
1862        * classes/MainUI.php: Move the call to schema_validate() in MainUI's
1863          constructor
1864        * lib/RssPressReview/RssPressReview.php: Finish rewrite. Move there to
1865          reflect it's independently maintained status
1866        * wifidog/classes/Content/HotspotRss.php:  Delete the class, obsolete
1867        * wifidog/classes/Content/RssAggregator.php:  Functionnal, but needs it's
1868          admin UI written.
1869        * wifidog/include/schema_validate.php:  Create the table structure for the
1870          new RssAggregator.
1871          Remove rss_url in nodes table, no longer needed.  Move it's data to the
1872          new Content class.
1873
18742005-08-11 Francois Proulx <francois.proulx@gmail.com>
1875        * Refactored the Admin UI.
1876        * I need to write the upload form and rewrite statistics
1877
18782005-08-10 Francois Proulx <francois.proulx@gmail.com>
1879        * More GIS stuff
1880
18812005-08-10 Francois Proulx <francois.proulx@gmail.com>
1882        * Added Geocoders
1883          - /classes/AbstractGeocoder.php
1884          - /classes/Geocoders/GeocoderCanada.php
1885          - /classes/Geocoders/GeocoderUsa.php
1886        * This will be used for enterring GIS data
1887        * Coming in the next few days: set hotspot gis using Google Maps + Geocoding
1888
18892005-01-25 Pascal Leclerc  <pascal@plec.ca>
1890        * Fix hardcoded images path in classes/MainUI.php
1891
18922005-07-25 Francois Proulx <francois.proulx@gmail.com>
1893        * Fixed bug in hotspot_status , added htmlspecialchars();
1894        * This solved the bug where ampersands would break the XML
1895
18962005-07-17 Francois Proulx <francois.proulx@gmail.com>
1897        * Fixed bugs in gen.sh, compile.sh locale scripts
1898
18992005-07-12 Francois Proulx <francois.proulx@gmail.com>
1900        * Changed XML element from hotspotsMetadata to hotspots and added networkUri
1901          element to networkMetadata
1902
19032005-07-12 Francois Proulx <francois.proulx@gmail.com>
1904        * Fixed XML protocol for exchanging hotspots status.
1905        * Should now be considered stable (stamped v1.0)
1906        * Fixed hotspots status map to reflect the changes
1907        * Added french translations
1908
19092005-07-11 Francois Proulx <francois.proulx@gmail.com>
1910        * Changed link to hotspots map using NON ssl because Google Keys are
1911          sensitive to the whole path.
1912
19132005-07-11 Benoit Grégoire  <bock@step.polymtl.ca>
1914        * classes/RssPressReview.php: Begin rewrite.
1915        * classes/MainUI.php: Add addFooterScript() function.
1916        * venues_map.php:  Workaround the IE DOM problem.
1917
19182005-07-05 Francois Proulx <francois.proulx@gmail.com>
1919        * Changed wording in hotspots status page added legend
1920
19212005-07-05 Francois Proulx <francois.proulx@gmail.com>
1922        * Minor adjustements to icon positionning
1923
19242005-07-05 Francois Proulx <francois.proulx@gmail.com>
1925        * Changed google maps marker icons
1926
19272005-07-05 Francois Proulx <francois.proulx@gmail.com>
1928        * Added missing elements in XML exchange format
1929        * Stable v1.0 for XML exchange format and Google Maps mapping
1930        * Added GMaps constants to config file
1931        * Unsmartied index.php , added link to map
1932        * Check config.php to set corresponding values
1933        * You can now use hotspot_status.php?format=XML along with xslt query string
1934          parament to convert your XML document
1935        * For this to work, You need to have activated XSLT ( see config file )
1936
19372005-07-05 Francois Proulx <francois.proulx@gmail.com>
1938        * Added Google Maps mapping venues_map.php
1939        * /js/venues_status_map.js  JavaScript code for Mapping
1940        * In beta : tested successfuly with 48 nodes in the Montreal area, loads in
1941          a snap
1942
19432005-07-03 Francois Proulx <francois.proulx@gmail.com>
1944        * Updated the XML venues status format ( version 1.0, once approved )
1945        * Added long / lat fields to nodes table ( for mapping purposes )
1946
19472005-06-17 Francois Proulx <francois.proulx@gmail.com>
1948        * Added IFrame and SimpleIFrame content types.
1949
19502005-06-28 Benoit Grégoire  <bock@step.polymtl.ca>
1951        * classes/Content/Langstring.php:  Bug fix:  Langstring was always
1952          non-persistent, no matter the checkbox.  Move the code to
1953          TrivialLangstring.php where it belongs.
1954
19552005-06-21 Benoit Grégoire  <bock@step.polymtl.ca>
1956        * portal/inted.php:  Implement the start button functionnality (maybe it
1957          would be better to call it "use the Internet").  From now on, once
1958          authenticated and when pressing the start button on the portal, the user
1959          will be sent to the page he originally tried to access.  A second window
1960          will be popped with the portal page so he can come back to it. The window
1961          is collapsed, and can be expanded back by clicking on the link. I tried
1962          to make it cross platform (and mostly did) but it's still buggy in IE.
1963
1964          At the same time, this fixes the goof reported by Rob Kelley of
1965          nycwireless.net
1966
1967        * portal/missing_original_url.php:  Displayed when the user tries to use the
1968          start button but for some reason the original url is unavailable
1969        * common.php:  New define CURRENT_REQUEST_URL, hopefully containing the full
1970          URL in the user's URL bar.
1971
1972
19732005-06-17 Francois Proulx <francois.proulx@gmail.com>
1974        * Removed forced Pattern Language on all hotspots
1975        * Do not show hotspot logo in portal page, only on login, until we find a
1976          better layout
1977
19782005-06-16 Francois Proulx <francois.proulx@gmail.com>
1979        * Added XML output format for hotspot_status.php
1980        * Rough draft v1.0
1981        * TODO move to different classes once stabilized
1982        * Can use XSLT, if activated ( XSLT_SUPPORT constant )
1983        * ie : http://wifidog-auth.org/hotspot_status.php?format=XML&xslt=http://wifidog-auth.org/xslt/hotspot_status.xsl
1984        * or simply : http://wifidog-auth.org/hotspot_status.php?format=XML
1985
19862005-06-06 Francois Proulx <francois.proulx@gmail.com>
1987        * Added long description field to content table
1988        * MUST use schema_validate
1989        * Modified Pattern Language to be more generic
1990        * resend changelog
1991
19922005-06-06 Francois Proulx <francois.proulx@gmail.com>
1993        * Made changes to Pattern Language ( Kate Armstrong )
1994
19952005-05-30 Philippe April <philippe@ilesansfil.org>
1996        * Show username in user_stats.php instead of user_id
1997          and in other admin pages
1998
19992005-05-30 Francois Proulx <francois.proulx@gmail.com>
2000        * Changed language selectbox name so it does not clash with ISF's domain
2001          cookie
2002        * Fixed setlocale algorithm in Locale.php
2003
20042005-05-29 Francois Proulx <francois.proulx@gmail.com>
2005        * Missing null check in validate.php
2006
20072005-05-27 Francois Proulx <francois.proulx@gmail.com>
2008        * Changed the signup process to make it smoother for users
2009        * The user will automatically be granted the 15 minutes if he's signing up
2010          at a real hotspot
2011        * If the user closes his browser during the 15 minutes and loses its
2012          session, we will regenerate it
2013        * Added big red message to the top of the portal page, warning user to
2014          validate as soon as possible
2015        * Fixed translation typos
2016
20172005-05-26 Benoit Grégoire  <bock@step.polymtl.ca>
2018        * Someone moved the fallback gettext functions definition (for when gettext
2019          isn't installed) inside the static setCurrentLocale method, completely
2020          breaking the system when PHP doesn't have gettext support.  This is an
2021          untested fix.
2022
20232005-05-24 Francois Proulx <francois.proulx@gmail.com>
2024        * Fixed bug in auth.php to let users go through when the click twice on the
2025          login button
2026        * Fixed bug in hotspot_log.php
2027
20282005-05-24 Francois Proulx <francois.proulx@gmail.com>
2029        * Added "Get access statistics" button to Node admin to get hotspot specific
2030          stats
2031        * Added search box in Users log to get a specific user stats quickly
2032
20332005-05-24 Francois Proulx <francois.proulx@gmail.com>
2034        * Fixed typo in some translations
2035        * Cleaned-up todos
2036
20372005-05-18 Francois Proulx <francois.proulx@gmail.com>
2038        * Added strip_tags in RssPreview ( some malformed HTML would break the page
2039          layout)
2040
20412005-05-16 Francois Proulx <francois.proulx@gmail.com>
2042        * Changed login message in MainUI to make it clearer what the login button
2043          will do
2044
20452005-05-13 Philippe April <philippe@ilesansfil.org>
2046        * Added deployment status to node_list
2047
20482005-05-11 Francois Proulx <francois.proulx@gmail.com>
2049        * Began writing user profiles
2050        * Added many methods to User class
2051        * Added node quota fields in DB ( bandwidth, throttling ...)
2052
20532005-05-10 Francois Proulx <francois.proulx@gmail.com>
2054        * Fixed Login link in signup page ( MainUI.php ) if the Session has gw_id,
2055          gw_address, gw_port show physical login link
2056
20572005-05-10 Francois Proulx <francois.proulx@gmail.com>
2058        * Added download button CSS class to style button
2059
20602005-05-10 Francois Proulx <francois.proulx@gmail.com>
2061        * Fixed wrong method name in File.php
2062        * Added strip tags to Langstring
2063        * Basic styling of content_admin table
2064
20652005-05-04 Francois Proulx <francois.proulx@gmail.com>
2066        * Fixed serialization issue ( flickr)
20672005-05-04 Francois Proulx <francois.proulx@gmail.com>
2068        * Improved caching
2069        * Wrote very basic gridview code for Flickr
2070
20712005-05-04 Francois Proulx <francois.proulx@gmail.com>
2072        * Implemented caching for Flickr
2073        * Need to contact Phlickr to see how we could do better, since serialize
2074          does not work OK on objects
2075
20762005-05-04 Francois Proulx <francois.proulx@gmail.com>
2077        * Fixed bug concerning Content-Length header
2078        * Changed default Unit size for setLocalFileSize to bytes
2079
20802005-05-04 Francois Proulx <francois.proulx@gmail.com>
2081        * Added BLOB support
2082        * modified file_download.php to support new header attributes
2083        * Added ImportLargeObject, UnlinkLargeObject to PG SQL abtraction
2084        * Make sure your PHP.ini contains the right value to allow big downloads
2085        * Check : http://ca3.php.net/manual/en/features.file-upload.common-pitfalls.php
2086        * ISF Live server is now configured to support 100 megabytes files
2087
20882005-05-04 Francois Proulx <francois.proulx@gmail.com>
2089        * Fixed CSS IE Bug
2090        * Fixed SQL query
2091        * NEED HELP FROM A WEB DESIGNER !!!!!
2092
20932005-05-03 Francois Proulx <francois.proulx@gmail.com>
2094        * Disabled logging in Pattern Language archives
2095
20962005-05-03 Francois Proulx <francois.proulx@gmail.com>
2097        * Having for SQL query... :-(
2098
20992005-05-02 Francois Proulx <francois.proulx@gmail.com>
2100        * PatternLanguage is now completed
2101
21022005-04-30 Francois Proulx <francois.proulx@gmail.com>
2103        * Logout button will now destroy session AND render token USED
2104
21052005-04-30 Francois Proulx <francois.proulx@gmail.com>
2106        * Fixed bug that could potentially let non owners add content in /content
2107          through content groups
2108        * Admin menu won't show node selector if the user is not owner of at least
2109          one hotspot
2110        * Added Width, height support for Picture
2111
21122005-04-30 Francois Proulx <francois.proulx@gmail.com>
2113        * Did my best for content styling ... ( it's 5h00 am )
2114
21152005-04-30 Francois Proulx <francois.proulx@gmail.com>
2116        * Updated sync_sql_for_cvs.sh
2117
21182005-04-30 François Proulx <francois.proulx@gmail.com>
2119        * ChangeLog entry missed by CVS ?!
2120        * Locale now decomposes the locale string by '_'
2121        * Now works on Mac OS X ( but you must use fr_CA, en_CA or fr_FR ... )
2122
21232005-04-30 François Proulx <francois.proulx@gmail.com>
2124        * Trying to solve RSS encoding bug...
2125        * Testing on live server
2126
21272005-04-29 François Proulx <francois.proulx@gmail.com>
2128        * Removed all inline unuseful javascript code on submit buttons
2129          onclick='submit()'
2130        * This conflicted with the actual click on the submit button in Safari
2131        * Fixed check in Network for isOwner, only check superAdmin
2132        * Fixed bug so you can't add an existing content group to itself (deadlock)
2133        * Started coding Pattern language narrative display
2134
21352005-04-29 François Proulx <francois.proulx@gmail.com>
2136        * Wrote User.php addcontent, removeContent, getAllContent()
2137        * Wrote Content.php subscrite() and unsubscribe()
2138        * Added parameters to getAllContent() in Node and Network
2139          (exclude_subscribed_content)
2140        * These will be used for subscribing a to some content
2141        * Pattern Language will be the first to use it
2142        * Online users lists
2143        * Fixed bugs in Node and Network ( isOwner check )
2144
21452005-04-28 François Proulx <francois.proulx@gmail.com>
2146        * Logout button build a query string containing gw_id, gw_address, gw_port
2147          ( if available ), so that a user at a physical hotspot will get the login
2148          page from the hotspot he is.
2149        * Fixed but in Locale ( did not propertly set the locale in the session )
2150
21512005-04-28 François Proulx <francois.proulx@gmail.com>
2152        * Added check in MainUI toolbar so that it won't show "NOT logged in ?"
2153          message when connect to a real hotspot ( not virtual )
2154        * This message confused many users ( they clicked and got the virtual login
2155          instead ! )
2156        * Hide adminstration features ( statistics, hotspot creation, network wide
2157          content etc...) from all but Super admins
2158        * Fixed getAllLocativeArtisticContent in Node.php added is_persistent check
2159        * Added $associate_existing_content parameter to processNewContentUI to
2160          allows reuse for existing content ( in ContentGroup )
2161        * Fixed bug in FlickrPhotoStream delete ( missing return from parent )
2162        * Added security check in all content classes ( ProcessAdminUI )
2163
21642005-04-26 François Proulx <francois.proulx@gmail.com>
2165        * Replaced show only content groups by show persistent
2166
21672005-04-26 François Proulx <francois.proulx@gmail.com>
2168        * Added missing /content directory
2169
21702005-04-26 François Proulx <francois.proulx@gmail.com>
2171        * Added /content/ for displaying all content elements
2172        * Logging is disable when viewing them
2173        * All content elements will expand
2174        * Pattern languages won't display everything ( special property )
2175          isExpandable
2176        * Added a link in portal pages to go to /content/
2177        * Added Show all contents button in content_admin.php
2178
21792005-04-27 Benoit Grégoire  <bock@step.polymtl.ca>
2180        * Content.php, ContentGroup.php:  All Content now implement the
2181          isDisplayableAt($node).  Used by the portal, if content has nothing
2182          displayabel, the entire content is skipped.
2183
21842005-04-27 Benoit Grégoire  <bock@step.polymtl.ca>
2185        * FlickrPhotostream.php:  Fix the object so it doesn't crash when flicker is
2186          disabled.
2187
21882005-04-27 Benoit Grégoire  <bock@step.polymtl.ca>
2189        * ContentGroup.php:  Fully functionnal content rotation engine, with all
2190          options supported. Rotation based on session may not be reliable if the
2191          user isn't truly logged in (from a node).
2192
21932005-04-26 François Proulx <francois.proulx@gmail.com>
2194        * Most of the missing translations
2195
21962005-04-26 François Proulx <francois.proulx@gmail.com>
2197        * Changed back File to non trivial
2198        * portal page stylesheet
2199
22002005-04-26 Benoit Grégoire  <bock@step.polymtl.ca>
2201        * ContentGroupElement.php:  It shouldn't be allowed to create a new content
2202          element in isolation.  Unfortunately the UI allows if for now.  Such
2203          content will now be deleted.
2204        * Locale:  Fix string selection algorithm to pick the right language.
2205        * Content:  Implement display logging.
2206
22072005-04-26 François Proulx <francois.proulx@gmail.com>
2208        * stylesheet rework
2209
22102005-04-26 François Proulx <francois.proulx@gmail.com>
2211        * Fixed wrong location for change password link
2212
22132005-04-25 François Proulx <francois.proulx@gmail.com>
2214        * Portal page styling
2215
22162005-04-26 Benoit Grégoire  <bock@step.polymtl.ca>
2217        * ContentGroup.php:  Previous fix didn't work.  New fix.
2218
22192005-04-26 Benoit Grégoire  <bock@step.polymtl.ca>
2220        * ContentGroup.php:  Make bad selection mode eror non-fatal.
2221
22222005-04-25 Benoit Grégoire  <bock@step.polymtl.ca>
2223        * Fix bug in ContentGroup enumeration
2224
22252005-04-25 François Proulx <francois.proulx@gmail.com>
2226        * More stylesheets work
2227
22282005-04-25 François Proulx <francois.proulx@gmail.com>
2229        * Much better stylesheet
2230
22312005-04-25 Benoit Grégoire  <bock@step.polymtl.ca>
2232        * UI fully functionnal
2233
22342005-04-25 François Proulx <francois.proulx@gmail.com
2235        * More interface work
2236
22372005-04-25 François Proulx <francois.proulx@gmail.com
2238        * Completed integration of new interface with new objects
2239
22402005-04-25 Benoit Grégoire  <bock@step.polymtl.ca>
2241        * Integration merge, should work, but there will be display problems
2242          everywhere.  Expect further commits today.
2243        * Almost 100% complete Network abstraction
2244        * Much better object encapsulation.  Deprecated methods not removed yet.
2245        * Add MainUI class.  Used to display the interface.  Inner workings still
2246          need work.
2247
22482005-04-23 François Proulx <francois.proulx@gmail.com>
2249        * Added Preferred Size support for Flickr pictures
2250
22512005-04-23 François Proulx <francois.proulx@gmail.com>
2252        * Completed missing translations
2253
22542005-04-23 François Proulx <francois.proulx@gmail.com>
2255        * Fixed bugs in File and EmbeddedContent
2256        * Completed first iteration of EmbeddedContent
2257        * Can now play multimedia content
2258        * Could not test fallback with my browser ( Safari and Firefox )
2259        * Need help to test content in different browser to see how it reacts...
2260
22612005-04-22 François Proulx <francois.proulx@gmail.com>
2262        * Fixed bug in FlickrPhotostream.php
2263        * Params did not match new methods requirements ( getUserByEmail )
2264        * Changed stylesheet class name for Flickr to match new changes
2265        * Fixed bugs in File
2266        * Wrote part of EmbeddedContent ( partially working )
2267        * TODO: add support for parameters and attributes in EmbeddedContent
2268
22692005-04-22 François Proulx <francois.proulx@gmail.com>
2270        * Fix schema version in François's commit
2271
22722005-04-21 François Proulx <francois.proulx@gmail.com>
2273        * Added explicit admin UI exceptions support for Flickr
2274        * Completed File and Picture objects
2275
22762005-04-20 François Proulx <francois.proulx@gmail.com>
2277        * Completed Flickr support ( explicit exceptions catching )
2278        * Most of File object is done
2279        * Fixed bug in generic_object_admin.php
2280        * changed stylesheet class tags for Flickr
2281
22822005-04-18 François Proulx <francois.proulx@gmail.com>
2283        * Added Flickr content support
2284        * Part of File object is done
2285
22862005-04-19 Benoit Grégoire  <bock@step.polymtl.ca>
2287        * Working (beta...) content manager and portal.
2288        * Add content preview mode
2289
22902005-04-18 Benoit Grégoire  <bock@step.polymtl.ca>
2291        * Hotspot and network content association, continue access control work.
2292        * hotspot_owner.php: Fix wrong assignement of user_id that prevented the
2293          script from working.
2294        * All files:  Remove whitespace and carriage return after the ?> closing
2295          tags.
2296
22972005-04-18 Benoit Grégoire  <bock@step.polymtl.ca>
2298        * Much more complete admin, initial access control work.
2299
23002005-04-15 Benoit Grégoire  <bock@step.polymtl.ca>
2301        * Support more of the content object model, do a half-decent CSS for the
2302          admin interface.
2303
23042005-04-14 Benoit Grégoire  <bock@step.polymtl.ca>
2305        * Content.php:  Use full langstring interface by default;
2306
23072005-04-14 Benoit Grégoire  <bock@step.polymtl.ca>
2308        * Content.php:  Fix db reference;
2309
23102005-04-14 Benoit Grégoire  <bock@step.polymtl.ca>
2311        * Fix Content object enumeration preventing usage of admin interface
2312        * Partial fix for RSS feed encoding (multiple feed aggregation still broken)
2313
23142005-04-14 Benoit Grégoire  <bock@step.polymtl.ca>
2315        * First part of the future content delivery infrastructure. Many files added
2316
23172005-04-01 François Proulx  <francois.proulx@gmail.com>
2318        * Modified gen.sh script to match UTF-8
2319        * Added PAP RADIUS encryption support ( asked by Paris Sans Fil )
2320
23212005-04-01 Benoit Grégoire  <bock@step.polymtl.ca>
2322        * wifidog/templates/auth_sources_selection.html:  Add missing file from
2323          Francois's commit.
2324
23252005-04-01 Philippe April <philippe@ilesansfil.org>
2326        * Fixed missing parenthesis in classes/User.php
2327        * Removed unused files
2328        * fixed schema_validate.php (typos)
2329
23302005-04-01 Francois Proulx  <francois.proulx@gmail.com>
2331        * EVERYTHING IS NOW UTF-8 YOU MUST EDIT YOUR FILES WITH AN UTF-8 COMPLIANT
2332          EDITOR
2333        * The database will be converted to UTF-8 (version 5)
2334        * Added select boxes ( or hidden ) html form elements to choose the network
2335          for signup, lost password, username
2336
23372005-04-01 Benoit Grégoire  <bock@step.polymtl.ca>
2338        * Add constraints to account_origin to detect errors on inserts.
2339        * Remove IDRC test server
2340
23412005-04-01 Philippe April <philippe@ilesansfil.org>
2342        * User.php: Add reference to $db global variable.
2343        * Tagged v0_1_0_alpha1
2344        * Removed spaces in AuthenticatorLocalUser.php
2345
23462005-03-31 Benoit Grégoire  <bock@step.polymtl.ca>
2347        * Remove spaces after php blocks in various files.
2348        * Temporarily fix single authentication source not present bug in login
2349          smarty template.  All other places where we select the network will be
2350          fixed tommorow.
2351        * Fix initial schema errors.
2352
23532005-03-31 Benoit Grégoire  <bock@step.polymtl.ca>
2354        * More RADIUS install documentation.
2355        * Fix schema_validate.php
2356
23572005-03-31 Francois Proulx  <francois.proulx@gmail.com>
2358        * Moved language definition
2359        * Moved e-mail subjects to User class ( each e-mail functions )
2360
23612005-03-31 Francois Proulx  <francois.proulx@gmail.com>
2362        * Added missing schema_validate.php modifs.
2363
23642005-03-31 Francois Proulx  <francois.proulx@gmail.com>
2365        * Added PEAR install procedure
2366
23672005-03-30 François Proulx  <francois.proulx@gmail.com>
2368        * Finished RADIUS authentication and accounting
2369        * Accounting Unique session ID is now based on the same token we use
2370        * Fixed all issues with lost_username, lost_password etc...
2371        * User class has new static function getUsersByEmail and getUsersByUsername
2372        * Added translations for new features
2373        * Translated the validation, lost password, username e-mails
2374        * Tested quite a bit, this version is considered stable
2375        * A few examples on how set different RADIUS or local authenticators can be
2376          found in the config.php
2377
23782005-03-29 François Proulx  <francois.proulx@gmail.com>
2379        * schema_validate.php : Modified schema : dropped e-mail + account unique
2380          index, dropped email not empty constraint
2381        * Schema is now at version 3
2382        * Coded RADIUS authentication
2383        * Modified templates to show a select box when more than one server is
2384          configured
2385        * Coded RADIUS accounting and backward compatibility accounting
2386        * Modified many statistics SQL queries to match new Users table
2387        * modified statistics templates to match user_id and account_origin
2388        * TODO : Fix lost_username and lost_password ( issue since we dropped the
2389          unique constraint on emails... )
2390        * TODO : Heavy testing possibly with remote RADIUS servers
2391
23922005-03-28 Benoit Grégoire  <bock@step.polymtl.ca>
2393        * sql:  Put initial data in a transaction, and specify the wifidog user so
2394          you do not have to su to it while using sync_sql_for_svs
2395
23962005-03-28 Benoit Grégoire  <bock@step.polymtl.ca>
2397        * common.php:  Add get_guid() function
2398        * validate_schema.php: New auto-upgrade script to allow autaumatic schema
2399          upgrade.  Note that you must still update dump_initial_data_postgres.sh
2400          and use sync_sql_for_cvs.sh so new users aren't left in the cold.
2401        * New class Authenticator (and subclasses):  Begin virtualizing the login
2402          process.
2403
24042005-03-24 Benoit Grégoire  <bock@step.polymtl.ca>
2405        * Statistics.php: Fix getMostGreedyUsers returning bad values when incoming
2406          and outgoing for all connections from a user have null values.
2407        * wifidog/local_content/default/portal.html: Fix layout so it resizes
2408          properly.  This in an interim measure.
2409        * Update schema.  This will allow automatic schema updates in the future.
2410          TO update a live server:
2411
2412      BEGIN;
2413      CREATE TABLE schema_info (
2414            tag text PRIMARY KEY,
2415            value text
2416          );
2417          INSERT INTO schema_info (tag, value) VALUES ('schema_version', '1');
2418          COMMIT;
2419
24202005-03-16 Matthew Asham <matthewa@bcwireless.net>
2421    * config.php: will use "local.config.php" instead, if present.  avoid cvs
2422      over-writing.
2423    * signup.php: if CUSTOM_SIGNUP_URL is defined, signup.php will re-direct.
2424      For integration with existing auth systems
2425    * hotspot_status.php: ob_clean may complain about buffering.  muted.
2426    * ./classes/RssPressReview.inc: if rss_source['url'] is blank, ignore the
2427      feed.
2428
24292005-02-22 Benoit Grégoire  <bock@step.polymtl.ca>
2430        * sql/dump_initial_data_postgres.sh, wifidog-postgres-initial-data.sql,
2431          wifidog-postgres-schema.sql:-Widen the connections size to fix int4
2432          wraparound problems.  To update a running server, execute the following
2433          sql sniplet:
2434
2435      BEGIN;
2436      ALTER TABLE connections RENAME incoming TO incoming_old;
2437      ALTER TABLE connections ADD COLUMN incoming int8;
2438      ALTER TABLE connections RENAME outgoing TO outgoing_old;
2439      ALTER TABLE connections ADD COLUMN outgoing int8;
2440      UPDATE connections set incoming=incoming_old, outgoing=outgoing_old;
2441      ALTER TABLE connections DROP COLUMN incoming_old;
2442      ALTER TABLE connections DROP COLUMN outgoing_old;
2443      COMMIT;
2444
2445        * wifidog/admin/hotspot.php: Missing file from phil's commit.
2446        * wifidog/locale/fr/LC_MESSAGES/messages.mo, messages.po:  New translation
2447          by Benoit St-André
2448
24492005-02-14 Philippe April <philippe@ilesansfil.org>
2450        * gw_message.php: the "activate" message was not properly defined and
2451          would cause an error to show up instead of the nice activate your account
2452          message
2453
24542005-02-14 Philippe April <philippe@ilesansfil.org>
2455        * wifidog/locale/gen.s: Was not working as expected, it will now get the
2456          gettext from smarty properly.
2457        * Updated TODO with ideas on making config better
2458
24592005-01-31 Benoit Grégoire  <bock@step.polymtl.ca>
2460        * wifidog/templates/hotspot_status.html:  Restore the number of nodes
2461        * wifidog/hotspot_status.php: Restore the number of nodes, add formatting
2462          and more information to the RSS feed.
2463
24642005-01-26 Philippe April <isf_lists@philippeapril.com>
2465        * Some kind of virtual login (we need to talk about this).
2466        * New User and Node classes
2467        * Modified all files to work with the classes.
2468        * Remove mgmt_helpers (all done in User class now)
2469
24702005-01-25 Benoit Grégoire  <bock@step.polymtl.ca>
2471        * classes/Node.php:  New file, untested code example
2472        * wifidog/admin/admin_common.php: Remove double-defined BASEPATH
2473
24742005-01-25 Philippe April <isf_lists@philippeapril.com>
2475        * Changed initial postgres inserts sql file, it wasn't working properly
2476
24772005-01-25 Pascal Leclerc  <pascal@plec.ca>
2478        * Added admin and owner administration pages
2479
24802005-01-23 Philippe April <isf_lists@philippeapril.com>
2481        * Added gateway error messages (validation period, etc.)
2482
24832005-01-20 Philippe April <isf_lists@philippeapril.com>
2484        * Modularized the admin interface, added functions
2485
24862005-01-18 Philippe April <isf_lists@philippeapril.com>
2487        * Smarty'ized more, I think it's done now
2488
24892005-01-12 Philippe April <isf_lists@philippeapril.com>
2490        * i18n and smarty'ized parts
2491
24922005-01-11 Benoit Grégoire  <bock@step.polymtl.ca>
2493        * INSTALL: Mandate PHP5
2494        * wifidog/hotspot_status.php: Allow export of the list as a RSS feed
2495        * wifidog/classes/RssPressReview.inc:  Make it truly functionnal.
2496        * wifidog/portal/index.php:  Support multiple RSS feeds.  The system will
2497          automatically pick the best 5 entries from all the feeds.  It will
2498          compensate for disparate publication intervals.  An entry from a feed that
2499          does not publish often will live longer than an entry from a feed that
2500          publishes very often.  If a feed doesn't have any entry that makes the
2501          cut, it will not appear at all.
2502        * wifidog/templates/hotspot_status.html:  Add link to the RSS version.
2503
25042005-01-11 Benoit Grégoire  <bock@step.polymtl.ca>
2505        * wifidog/config.php:  Add list of hotspot to network rss feed list (not yet
2506          functionnal)
2507        * wifidog/hotspot_status.php:  Allow RSS export of the list of deployed
2508          Hotspots.
2509        * wifidog/admin/incoming_outgoing_swap.php:  Script to swap incoming and
2510          outgoing in your data. Only use this if you had gateways before 1.0.2
2511          and wish to correct your logs before you upgrade.
2512        * wifidog/classes/RssPressReview.inc:  Missing file from previous commit.
2513        * wifidog/portal/index.php: Preliminary work to enable smart press review
2514          of multiple RSS feeds.
2515
25162005-01-10 Benoit Grégoire  <bock@step.polymtl.ca>
2517        * include/common.php: Fix SSL security warnings.  If SSL is enabled and the
2518          page was actually served over SSL, all media in the file will be served
2519          over SSL. Add a new define (BASE_NON_SSL_PATH) to allow us to make links
2520          that break out of SSL mode.  From now on, use the self adapting
2521          BASE_URL_PATH in most circumstance, BASE_SSL_PATH to enter SSL mode,
2522          and BASE_URL_PATH to break out of it.
2523
25242005-01-10 Benoit Grégoire  <bock@step.polymtl.ca>
2525        * admin/user_stats.php: Add three top tens to the statistics:  Top ten
2526          apetite for bandwidth, top ten travelers, most addicted users.
2527
25282005-01-04 Benoit Grégoire  <bock@step.polymtl.ca>
2529        * wifidog/local_content/default/hotspot_logo_banner.jpg: Make it much
2530          thinner.
2531        * wifidog/local_content/default/login.html: Remove announcements
2532        * wifidog/include/user_management_menu.php: Fix mailto:
2533        * wifidog/auth/index.php: Fix auth server part of the no data transmited
2534          statistics bug.
2535        * wifidog/admin/index.php: Add link to statistics
2536        * wifidog/admin/user_stats.php: Activate security.
2537        * wifidog/index.php: Make the distinction between the two hotspot status
2538          pages clearer.
2539
25402004-12-08 Benoit Grégoire  <bock@step.polymtl.ca>
2541        * wifidog/index.php: Add menu
2542        * wifidog/include/user_management_menu.php: Editorial change, make
2543          translateable
2544        * wifidog/portal/index.php:  Fix RSS feeds
2545
25462004-12-03 Benoit Grégoire  <bock@step.polymtl.ca>
2547        * wifidog/admin/user_stats.php,  wifidog/classes/Statistics.php:  Embryonic
2548          aggregate user stats.  Currently allows you to find out the rate at which
2549          your users subscribe.
2550        * wifidog/config.php, wifidog/local_content/default/login.html,
2551          wifidog/include/user_management_menu.php:  Add hotspot status page to
2552          login page.
2553        * wifidog/hotspot_status.php: Cosmetic
2554        * wifidog/admin/hotspot_log.php: Stats now need admin privileges
2555        * wifidog/index.php: Cosmetic.
2556
25572004-11-19 Benoit Grégoire  <bock@step.polymtl.ca>
2558        * TODO: Add email domains to blacklist
2559        * wifidog/config.php, wifidog/include/user_management_menu.php: Add tech
2560          support email address
2561        * wifidog/hotspot_status.php: List of HotSpots that are open with summary of
2562          information.  Designed to be included as part of another page.
2563        * wifidog/local_content/common/wifidog_logo_banner.gif: Add wifidog logo
2564        * wifidog/local_content/default/hotspot_logo_banner.jpg: Shrink the logo
2565          and write unknown hotspot, however this is still really ugly
2566        * wifidog/local_content/default/login.html, portal.html, stylesheet.css:
2567          Cosmetic fixes
2568        * wifidog/local_content/default/login.html.fr, portal.html.fr: Delete the
2569          files, this isn't the approach we will use for translation.
2570        * sql/wifidog-postgres-initial-data.sql, wifidog-postgres-schema.sql:
2571          Update with new node information structures.
2572
25732004-11-04 Benoit Grégoire  <bock@step.polymtl.ca>
2574        * wifidog/admin/hotspot_log.php: Add number of currently connected users
2575          here as well.
2576
25772004-11-03 Benoit Grégoire  <bock@step.polymtl.ca>
2578        * wifidog/ping/index.php: Log user-agent
2579        * extensive statistics work
2580        * sql/wifidog-postgres-schema.sql: Add description field for hotspots and
2581          log user-agent
2582
25832004-10-28 Benoit Grégoire  <bock@step.polymtl.ca>
2584        * sql/wifidog-postgres-schema.sql:  Add constraints to avoid empty string
2585          in email or user_id.
2586        * Some statistics fixes
2587
25882004-09-29 Alexandre Carmel-Veilleux <acv@acv.ca>
2589        * wifidog/admin/index.php: Integrated the changes contributed
2590          on the mailing list by Rikhardur EGILSSON (fname.lname@oecd.org),
2591          mainly a missing ' in some HTML.
2592
25932004-09-28 Yanik Crépeau <yanik@exScriptis.com>
2594    * wifidog/include/common.php: Added commented header with cvs
2595          keywords.
2596        * wifidog/include/common.php: Added commented code (not executing) for
2597          further testing with language/localization issues.
2598
25992004-09-27 Benoit Grégoire  <bock@step.polymtl.ca>
2600        * sql/wifidog-postgres-schema.sql:  Remove non SQL standard "COMMENT ON"
2601          comments
2602
26032004-09-27 Benoit Grégoire  <bock@step.polymtl.ca>
2604        * sql/wifidog-postgres-schema.sql:  Drop procedural language stuff
2605
26062004-09-27 Benoit Grégoire  <bock@step.polymtl.ca>
2607        * sql/wifidog-postgres-schema.sql:  Fix layout for the node_owners table
2608        * Begin integrating Patrick Tanguay's new layout and generate the css
2609          dynamically to allow for background images.
2610
26112004-09-22 Benoit Grégoire  <bock@step.polymtl.ca>
2612        * portal/index.php:  Fix users appearing online at every hotspot.
2613        * wifidog/classes/Style.php, wifidog/login/index.php:  Fix some potential
2614          cache problems and help with validation.
2615
26162004-09-18 Benoit Grégoire  <bock@step.polymtl.ca>
2617        * wifidog/config.php:  Add VALIDATION_GRACE_TIME configuration parameter.
2618        * wifidog/auth/index.php:  Move grace time date arithmetics to the database,
2619          fixes validation period not working.  Stop storing VALIDATION_FAILES
2620          status to the database.  Add check for validation period expiration at
2621          stage login, not just stage counters, this will fix one minute
2622          validation period.
2623        * wifidog/login/index.php:  Check validation period activation, and if
2624          period is expired, explain to the user instead of redirecting to the
2625          gateway.
2626        * wifidog/user_management/index.php:  Fix SQL error at new user registration.
2627
26282004-09-02 Benoit Grégoire  <bock@step.polymtl.ca>
2629        * wifidog/node_list.php: Complete the status page
2630        * Add images
2631        * Add hotspot creation date
2632
26332004-08-31 Benoit Grégoire  <bock@step.polymtl.ca>
2634        * sql/: Update the postgres schemas and add scripts to ease maintaining it.
2635        * sql/sync_sql_for_cvs.sh: Should you modify the schema in your db, run this
2636          script to the chances will be available in the cvs schemas and initial
2637          data.
2638        * sql/dump_initial_data_postgres.sh: This does the actual dump of the data
2639          in a runnable form.  Note that this needs to be edited manually if you add
2640          a new table requiring initial data.
2641        * INSTALL:  Update for postgres.  Somebody please test this.
2642
26432004-08-31 Benoit Grégoire  <bock@step.polymtl.ca>
2644        * wifidog/ping/index.php: Implement logging of which hotspot sent the
2645          heartbeat, from which ip and when.
2646        * wifidog/node_list.php:  Primitive but functionnal hotspot status page.
2647        * wifidog/include/user_management_menu.php:  Change menu labels
2648        * wifidog/local_content/default/login.html: Improve layout.  Someone needs
2649          to make this stylesheet correct, I took shortcuts...
2650        * wifidog/local_content/default/stylesheet.css:  Reduce H1 font size.
2651        * wifidog/user_management/index.php:  Display the menu, will eventually
2652          allow us to present proper help text.
2653
26542004-08-30 Benoit Grégoire  <bock@step.polymtl.ca>
2655        * Add link to original requested site.
2656        * wifidog/node_list.php:  New file.  Will become the main node status page.
2657
26582004-08-28 Benoit Grégoire  <bock@step.polymtl.ca>
2659        * Primitive network status available form the index page
2660        * Administrative security is implemented.
2661
26622004-08-28 Benoit Grégoire  <bock@step.polymtl.ca>
2663        * Fix big gaping security hole in login page (password would be ignored if
2664          the username was used to login)
2665        * PostgreSql port
2666        * Change the method to determine who is online
2667        * Stop keeping unused token once user successfully logs in.
2668        * Fix missing update of token update date.
2669        * Counters wouldn't get updated for stage=LOGOUT
2670        * wifidog/auth/index.php:  Added a Messages: response in addition to Auth:
2671          so we can know what the hell the server is up to.  Currently you need to
2672          run wifidog in debug level 7 to see it. That message should be parsed so
2673          it is visible in debug level 6.
2674        * wifidog/auth/index.php:   Fix code injection vulnerability.
2675
26762004-08-27 Benoit Grégoire  <bock@step.polymtl.ca>
2677        * SSL support and RSS improvement
2678        * Last commit tested with mysql support
2679
26802004-08-24 Pascal Leclerc  <pascal@plec.ca>
2681        * wifidog/admin/user_log.php: Add total to incoming and outgoing
2682        * Replace all SERVER_NAME by HTTP_HOST to fix non-standard server ports
2683
26842004-08-11 Benoit Grégoire  <bock@step.polymtl.ca>
2685        * wifidog/config.php: Add USER_MANAGEMENT_PAGE
2686        * wifidog/include/user_management_menu.php:  Code meant to deal with
2687          non-standard ports broke the menu.  Hopefully fixed.
2688        * Add alex's mising changelog entry...
2689
26902004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
2691        * wifidog/ping/index.php: will now reply if the wifidog auth server is up.
2692          To be used by wifidog to do heartbeats.
2693
26942004-08-07 Benoit Grégoire  <bock@step.polymtl.ca>
2695        * Add code to import a NoCat user database (passwd).  The username will be
2696          generated from the first part of the email if the name was en email.
2697        * Change password hashing algorithm to make it compatible with NoCat (For
2698          the curious among you, the hashing algorithm is now:  take the md5
2699          digest in binary format of the password, and base64 encode it.
2700        * Table schema changed to accomodate newhash length (users.pass is now
2701          varchar(32))
2702        * The user is now allowed to login with either his username or his email.
2703
27042004-08-03 Pascal Leclerc  <pascal@plec.ca>
2705        * wifidog/classes/SmartyWifidog.php: Fix path validation bug, replace
2706          NODE_CONTENT_URL with NODE_CONTENT_PHP_RELATIVE_PATH
2707        * wifidog/classes/AbstractDb.php: Add class=warning for better display
2708        * wifidog/config.php: Add SYSTEM_PATH and test/fix non-standard server ports
2709
27102004-08-03 Benoit Grégoire  <bock@step.polymtl.ca>
2711        * Make gettext support optionnal, and define GETTEXT_AVAILABLE, will be set
2712          to true if gettext is available.  If false, blank _() and gettext()
2713          functions will be defined so the system still works.
2714
27152004-08-03 Benoit Grégoire  <bock@step.polymtl.ca>
2716        * Fix BASE_URL_PATH to properly detect non-standard server ports (hopefully).
2717
27182004-08-02 Benoit Grégoire  <bock@step.polymtl.ca>
2719        * wifidog-auth lives! New since the dark ages
2720        * Demo page to allow people to hack more easely on it
2721        * Support for multiple nodes.  TODO:  Merge with the database project.
2722        * Very cool local content architecture.  Every hotspot can have a folder in
2723          the local_content directory.  This folder can be filed by a single logo,
2724          leaving all the rest to the default content, or be completely custom
2725          (stylesheet, login page, portal page, header, etc.)
2726        * Everything in local content is templated with smarty, no problem with
2727          web designer wrecking havoc on the auth server.  You can edit everything
2728          in local_content/default even if you only speak html.
2729        * No need to set any path in the web server config files (that one was a
2730          bitch to implement)
2731        * RSS feed support (optionnal, with magpierss), one feed per node (url
2732          stored in the database, works great, but no gui to edit it yet) and one
2733          network-wide RSS feed.
2734        * All path are editable from the config file
2735        * "Productize" the thing, so it make sense for other groups to install it
2736          (the network name, url, default RSS, and such are set from the config
2737          file).
2738        * Put most strings in gettext calls for easy future translation.
2739        * User can request that the server send the validation email again
2740        * User can change password
2741        * User who forgot his username can have it mailed to him.
2742        * User who lost his password can ask the system to generate a new one and
2743          mail it to him.
2744        * Email is now a separate field to preserve user privacy.
2745        * Enforces (politely) that there are no duplicate emails in the database
2746        * Database abstraction layer with very nice debugging features (just append
2747          true at the end of the call, and you'll see the query, the results, the
2748          query plan and number of affected rows.  Also allow future upgrade to
2749          postgres.
2750        * Lots of other things I forgot.
Note: See TracBrowser for help on using the browser.