root/trunk/wifidog-auth/ChangeLog @ 512

Revision 512, 16.1 KB (checked in by benoitg, 8 years ago)

2005-03-28 Benoit Gr�goire <bock@…>

  • common.php: Add get_guid() function
  • validate_schema.php: New auto-upgrade script to allow autaumatic schema upgrade. Note that you must still update dump_initial_data_postgres.sh and use sync_sql_for_cvs.sh so new users aren't left in the cold.
  • New class Authenticator (and subclasses): Begin virtualizing the login process.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Header$
22005-03-28 Benoit Gr�goire  <bock@step.polymtl.ca>
3        * common.php:  Add get_guid() function
4        * validate_schema.php: New auto-upgrade script to allow autaumatic schema upgrade.  Note that you must still update dump_initial_data_postgres.sh and use sync_sql_for_cvs.sh so new users aren't left in the cold.
5        * New class Authenticator (and subclasses):  Begin virtualizing the login process.
6         
72005-03-24 Benoit Gr�goire  <bock@step.polymtl.ca>
8        * Statistics.php: Fix getMostGreedyUsers returning bad values when incoming and outgoing for all connections from a user have null values.
9        * wifidog/local_content/default/portal.html: Fix layout so it resizes properly.  This in an interim measure.
10        * Update schema.  This will allow automatic schema updates in the future.  TO update a live server:
11                BEGIN;
12                CREATE TABLE schema_info (
13                    tag text PRIMARY KEY,
14                    value text
15                );
16                INSERT INTO schema_info (tag, value) VALUES ('schema_version', '1');
17                COMMIT;
18       
192005-03-16 Matthew Asham <matthewa@bcwireless.net>
20 * config.php: will use "local.config.php" instead, if present.  avoid cvs over-writing.
21 * signup.php: if CUSTOM_SIGNUP_URL is defined, signup.php will re-direct.  For integration with existing auth systems
22 * hotspot_status.php: ob_clean may complain about buffering.  muted.
23 * ./classes/RssPressReview.inc: if rss_source['url'] is blank, ignore the feed.
24 
252005-02-22 Benoit Gr�goire  <bock@step.polymtl.ca>
26        * sql/dump_initial_data_postgres.sh, wifidog-postgres-initial-data.sql, wifidog-postgres-schema.sql:-Widen the connections size to fix int4 wraparound problems.  To update a running server, execute the following sql sniplet:
27BEGIN;
28ALTER TABLE connections RENAME incoming TO incoming_old;
29ALTER TABLE connections ADD COLUMN incoming int8;
30ALTER TABLE connections RENAME outgoing TO outgoing_old;
31ALTER TABLE connections ADD COLUMN outgoing int8;
32UPDATE connections set incoming=incoming_old, outgoing=outgoing_old;
33ALTER TABLE connections DROP COLUMN incoming_old;
34ALTER TABLE connections DROP COLUMN outgoing_old;
35COMMIT;
36        * wifidog/admin/hotspot.php: Missing file from phil's commit.
37        * wifidog/locale/fr/LC_MESSAGES/messages.mo, messages.po:  New translation by Benoit St-Andr�
38
392005-02-14 Philippe April <philippe@ilesansfil.org>
40        * gw_message.php: the "activate" message was not properly defined and
41        would cause an error to show up instead of the nice activate your account
42        message
43
442005-02-14 Philippe April <philippe@ilesansfil.org>
45        * wifidog/locale/gen.s: Was not working as expected, it will now get the
46        gettext from smarty properly.
47        * Updated TODO with ideas on making config better
48
492005-01-31 Benoit Gr�goire  <bock@step.polymtl.ca>
50        * wifidog/templates/hotspot_status.html:  Restore the number of nodes
51        * wifidog/hotspot_status.php: Restore the number of nodes, add formatting and more information to the RSS feed.
52
532005-01-26 Philippe April <isf_lists@philippeapril.com>
54        * Some kind of virtual login (we need to talk about this).
55        * New User and Node classes
56        * Modified all files to work with the classes.
57        * Remove mgmt_helpers (all done in User class now)
58
592005-01-25 Benoit Gr�goire  <bock@step.polymtl.ca>
60        * classes/Node.php:  New file, untested code example
61        * wifidog/admin/admin_common.php: Remove double-defined BASEPATH
62       
632005-01-25 Philippe April <isf_lists@philippeapril.com>
64        * Changed initial postgres inserts sql file, it wasn't working properly
65
662005-01-25 Pascal Leclerc  <pascal@plec.ca>
67        * Added admin and owner administration pages
68
692005-01-23 Philippe April <isf_lists@philippeapril.com>
70        * Added gateway error messages (validation period, etc.)
71
722005-01-20 Philippe April <isf_lists@philippeapril.com>
73        * Modularized the admin interface, added functions
74
752005-01-18 Philippe April <isf_lists@philippeapril.com>
76        * Smarty'ized more, I think it's done now
77
782005-01-12 Philippe April <isf_lists@philippeapril.com>
79        * i18n and smarty'ized parts
80
812005-01-11 Benoit Gr�goire  <bock@step.polymtl.ca>
82        * INSTALL: Mandate PHP5
83        * wifidog/hotspot_status.php: Allow export of the list as a RSS feed
84        * wifidog/classes/RssPressReview.inc:  Make it truly functionnal.
85        * wifidog/portal/index.php:  Support multiple RSS feeds.  The system will automatically pick the best 5 entries from all the feeds.  It will compensate for disparate publication intervals.  An entry from a feed that does not publish often will live longer than an entry from a feed that publishes very often.  If a feed doesn't have any entry that makes the cut, it will not appear at all.
86        * wifidog/templates/hotspot_status.html:  Add link to the RSS version.
87
882005-01-11 Benoit Gr�goire  <bock@step.polymtl.ca>
89        * wifidog/config.php:  Add list of hotspot to network rss feed list (not yet functionnal)
90        * wifidog/hotspot_status.php:  Allow RSS export of the list of deployed HotSpots.
91        * wifidog/admin/incoming_outgoing_swap.php:  Script to swap incoming and outgoing in your data.  only use this if you had gateways before 1.0.2 and wish to correct your logs before you upgrade.
92        * wifidog/classes/RssPressReview.inc:  Missing file from previous commit.
93        * wifidog/portal/index.php: Preliminary work to enable smart press review of multiple RSS feeds.
94
952005-01-10 Benoit Gr�goire  <bock@step.polymtl.ca>
96        * include/common.php: Fix SSL security warnings.  If SSL is enabled and the page was actually served over SSL, all media in the file will be served over SSL. Add a new define (BASE_NON_SSL_PATH) to allow us to make links that break out of SSL mode.  From now on, use the self adapting BASE_URL_PATH in most circumstance, BASE_SSL_PATH to enter SSL mode, and BASE_URL_PATH to break out of it.
97
982005-01-10 Benoit Gr�goire  <bock@step.polymtl.ca>
99        * admin/user_stats.php: Add three top tens to the statistics:  Top ten apetite for bandwidth, top ten travelers, most addicted users.
100
1012005-01-04 Benoit Gr�goire  <bock@step.polymtl.ca>
102        * wifidog/local_content/default/hotspot_logo_banner.jpg: Make it much thinner.
103        * wifidog/local_content/default/login.html: Remove announcements
104        * wifidog/include/user_management_menu.php: Fix mailto:
105        * wifidog/auth/index.php: Fix auth server part of the no data transmited statistics bug.
106        * wifidog/admin/index.php: Add link to statistics
107        * wifidog/admin/user_stats.php: Activate security.
108        * wifidog/index.php: Make the distinction between the two hotspot status pages clearer.
109
1102004-12-08 Benoit Gr�goire  <bock@step.polymtl.ca>
111        * wifidog/index.php: Add menu
112        * wifidog/include/user_management_menu.php: Editorial change, make translateable
113        * wifidog/portal/index.php:  Fix RSS feeds
114
1152004-12-03 Benoit Gr�goire  <bock@step.polymtl.ca>
116        * wifidog/admin/user_stats.php,  wifidog/classes/Statistics.php:  Embryonic aggregate user stats.  Currently allows you to find out the rate at which your users subscribe.
117        * wifidog/config.php, wifidog/local_content/default/login.html, wifidog/include/user_management_menu.php:  Add hotspot status page to login page.
118        * wifidog/hotspot_status.php: Cosmetic
119        * wifidog/admin/hotspot_log.php: Stats now need admin privileges
120        * wifidog/index.php: Cosmetic.
121
1222004-11-19 Benoit Gr�goire  <bock@step.polymtl.ca>
123        * TODO: Add email domains to blacklist
124        * wifidog/config.php, wifidog/include/user_management_menu.php: Add tech support email address
125        * wifidog/hotspot_status.php: List of HotSpots that are open with summary of information.  Designed to be included as part of another page.
126        * wifidog/local_content/common/wifidog_logo_banner.gif: Add wifidog logo
127        * wifidog/local_content/default/hotspot_logo_banner.jpg: Shrink the logo and write unknown hotspot, however this is still really ugly
128        * wifidog/local_content/default/login.html, portal.html, stylesheet.css: Cosmetic fixes
129        * wifidog/local_content/default/login.html.fr, portal.html.fr: Delete the files, this isn't the approach we will use for translation.
130        * sql/wifidog-postgres-initial-data.sql, wifidog-postgres-schema.sql: Update with new node information structures.
131
1322004-11-04 Benoit Gr�goire  <bock@step.polymtl.ca>
133        * wifidog/admin/hotspot_log.php: Add number of currently connected users here as well.
134
1352004-11-03 Benoit Gr�goire  <bock@step.polymtl.ca>
136        * wifidog/ping/index.php: Log user-agent
137        * extensive statistics work
138        * sql/wifidog-postgres-schema.sql: Add description field for hotspots and log user-agent
139
1402004-10-28 Benoit Gr�goire  <bock@step.polymtl.ca>
141        * sql/wifidog-postgres-schema.sql:  Add constraints to avoid empty string in email or user_id.
142        * Some statistics fixes
143
1442004-09-29 Alexandre Carmel-Veilleux <acv@acv.ca>
145        * wifidog/admin/index.php: Integrated the changes contributed
146        on the mailing list by Rikhardur EGILSSON (fname.lname@oecd.org),
147        mainly a missing ' in some HTML.
148
1492004-09-28 Yanik Cr�peau <yanik@exScriptis.com>
150        * wifidog/include/common.php: Added commented header with cvs
151        keywords.
152        * wifidog/include/common.php: Added commented code (not executing) for
153        further testing with language/localization issues.
154
1552004-09-27 Benoit Gr�goire  <bock@step.polymtl.ca>
156        * sql/wifidog-postgres-schema.sql:  Remove non SQL standard "COMMENT ON" comments
157
1582004-09-27 Benoit Gr�goire  <bock@step.polymtl.ca>
159        * sql/wifidog-postgres-schema.sql:  Drop procedural language stuff
160
1612004-09-27 Benoit Gr�goire  <bock@step.polymtl.ca>
162        * sql/wifidog-postgres-schema.sql:  Fix layout for the node_owners table
163        * Begin integrating Patrick Tanguay's new layout and generate the css dynamically to allow for background images.
164
1652004-09-22 Benoit Gr�goire  <bock@step.polymtl.ca>
166        * portal/index.php:  Fix users appearing online at every hotspot.
167        * wifidog/classes/Style.php, wifidog/login/index.php:  Fix some potential cache problems and help with validation.
168       
1692004-09-18 Benoit Gr�goire  <bock@step.polymtl.ca>
170        * wifidog/config.php:  Add VALIDATION_GRACE_TIME configuration parameter.
171        * wifidog/auth/index.php:  Move grace time date arithmetics to the database, fixes validation period not working.  Stop storing VALIDATION_FAILES status to the database.  Add check for validation period expiration at stage login, not just stage counters, this will fix one minute validation period.
172        * wifidog/login/index.php:  Check validation period activation, and if period is expired, explain to the user instead of redirecting to the gateway.
173        * wifidog/user_management/index.php:  Fix SQL error at new user registration. 
174       
1752004-09-02 Benoit Gr�goire  <bock@step.polymtl.ca>
176        * wifidog/node_list.php: Complete the status page
177        * Add images
178        * Add hotspot creation date
179       
1802004-08-31 Benoit Gr�goire  <bock@step.polymtl.ca>
181        * sql/: Update the postgres schemas and add scripts to ease maintaining it.
182        * sql/sync_sql_for_cvs.sh: Should you modify the schema in your db, run this script to the chances will be available in the cvs schemas and initial data.
183        * sql/dump_initial_data_postgres.sh: This does the actual dump of the data in a runnable form.  Note that this needs to be edited manually if you add a new table requiring initial data.
184        * INSTALL:  Update for postgres.  Somebody please test this.
185
1862004-08-31 Benoit Gr�goire  <bock@step.polymtl.ca>
187        * wifidog/ping/index.php: Implement logging of which hotspot sent the heartbeat, from which ip and when.
188        * wifidog/node_list.php:  Primitive but functionnal hotspot status page.
189        * wifidog/include/user_management_menu.php:  Change menu labels
190        * wifidog/local_content/default/login.html: Improve layout.  Someone needs to make this stylesheet correct, I took shortcuts...
191        * wifidog/local_content/default/stylesheet.css:  Reduce H1 font size.
192        * wifidog/user_management/index.php:  Display the menu, will eventually allow us to present proper help text.
193
1942004-08-30 Benoit Gr�goire  <bock@step.polymtl.ca>
195        * Add link to original requested site.
196        * wifidog/node_list.php:  New file.  Will become the main node status page.
197
1982004-08-28 Benoit Gr�goire  <bock@step.polymtl.ca>
199        * Primitive network status available form the index page
200        * Administrative security is implemented.
201
2022004-08-28 Benoit Gr�goire  <bock@step.polymtl.ca>
203        * Fix big gaping security hole in login page (password would be ignored if the username was used to login)
204        * PostgreSql port
205        * Change the method to determine who is online
206        * Stop keeping unused token once user successfully logs in.
207        * Fix missing update of token update date.
208        * Counters wouldn't get updated for stage=LOGOUT
209        * wifidog/auth/index.php:  Added a Messages: response in addition to Auth: so we can know what the hell the server is up to.  Currently you need to run wifidog in debug level 7 to see it. That message should be parsed so it is visible in debug level 6.
210        * wifidog/auth/index.php:   Fix code injection vulnerability.
211       
2122004-08-27 Benoit Gr�goire  <bock@step.polymtl.ca>
213        * SSL support and RSS improvement
214        * Last commit tested with mysql support
215       
2162004-08-24 Pascal Leclerc  <pascal@plec.ca>
217        * wifidog/admin/user_log.php: Add total to incoming and outgoing
218        * Replace all SERVER_NAME by HTTP_HOST to fix non-standard server ports
219
2202004-08-11 Benoit Gr�goire  <bock@step.polymtl.ca>
221        * wifidog/config.php: Add USER_MANAGEMENT_PAGE
222        * wifidog/include/user_management_menu.php:  Code meant to deal with non-standard ports broke the menu.  Hopefully fixed.
223        * Add alex's mising changelog entry...
224       
2252004-08-11 Alexandre Carmel-Veilleux <acv@acv.ca>
226        * wifidog/ping/index.php: will now reply if the wifidog auth server is up. to be used by wifidog to do heartbeats.
227
2282004-08-07 Benoit Gr�goire  <bock@step.polymtl.ca>
229        * Add code to import a NoCat user database (passwd).  The username will be generated from the first part of the email if the name was en email.
230        * Change password hashing algorithm to make it compatible with NoCat (For the curious among you, the hashing algorithm is now:  take the md5 digest in binary format of the password, and base64 encode it.
231        * Table schema changed to accomodate newhash length (users.pass is now varchar(32))
232        * The user is now allowed to login with either his username or his email.
233       
2342004-08-03 Pascal Leclerc  <pascal@plec.ca>
235        * wifidog/classes/SmartyWifidog.php: Fix path validation bug, replace NODE_CONTENT_URL with NODE_CONTENT_PHP_RELATIVE_PATH
236        * wifidog/classes/AbstractDb.php: Add class=warning for better display
237        * wifidog/config.php: Add SYSTEM_PATH and test/fix non-standard server ports
238
2392004-08-03 Benoit Gr�goire  <bock@step.polymtl.ca>
240        * Make gettext support optionnal, and define GETTEXT_AVAILABLE, will be set to true if gettext is available.  If false, blank _() and gettext() functions will be defined so the system still works.
241
2422004-08-03 Benoit Gr�goire  <bock@step.polymtl.ca>
243        * Fix BASE_URL_PATH to properly detect non-standard server ports (hopefully).
244
2452004-08-02 Benoit Gr�goire  <bock@step.polymtl.ca>
246        * wifidog-auth lives! New since the dark ages
247        * Demo page to allow people to hack more easely on it
248        * Support for multiple nodes.  TODO:  Merge with the database project.
249        * Very cool local content architecture.  Every hotspot can have a folder in the local_content directory.  This folder can be filed by a single logo, leaving all the rest to the default content, or be completely custom (stylesheet, login page, portal page, header, etc.)
250        * Everything in local content is templated with smarty, no problem with web designer wrecking havoc on the auth server.  You can edit everything in local_content/default even if you only speak html.
251        * No need to set any path in the web server config files (that one was a bitch to implement)
252        * RSS feed support (optionnal, with magpierss), one feed per node (url stored in the database, works great, but no gui to edit it yet) and one network-wide RSS feed.
253        * All path are editable from the config file
254        * "Productize" the thing, so it make sense for other groups to install it (the network name, url, default RSS, and such are set from the config file.
255        * Put most strings in gettext calls for easy future translation.
256        * User can request that the server send the validation email again
257        * User can change password
258        * User who forgot his username can have it mailed to him.
259        * User who lost his password can ask the system to generate a new one and mail it to him.
260        * Email is now a separate field to preserve user privacy.
261        * Enforces (politely) that there are no duplicate emails in the database
262        * Database abstraction layer with very nice debugging features (just append true at the end of the call, and you'll see the query, the results, the query plan and number of affected rows.  Also allow future upgrade to postgres.
263        * Lots of other things I forgot.
264       
Note: See TracBrowser for help on using the browser.