Changeset 282
- Timestamp:
- 11/19/04 22:28:26 (4 years ago)
- Files:
-
- trunk/wifidog-auth/ChangeLog (modified) (1 diff)
- trunk/wifidog-auth/TODO (modified) (1 diff)
- trunk/wifidog-auth/sql/wifidog-postgres-initial-data.sql (modified) (1 diff)
- trunk/wifidog-auth/sql/wifidog-postgres-schema.sql (modified) (16 diffs)
- trunk/wifidog-auth/wifidog/config.php (modified) (2 diffs)
- trunk/wifidog-auth/wifidog/hotspot_status.php (added)
- trunk/wifidog-auth/wifidog/include/user_management_menu.php (modified) (1 diff)
- trunk/wifidog-auth/wifidog/local_content/common/wifidog_logo_banner.gif (added)
- trunk/wifidog-auth/wifidog/local_content/default/hotspot_logo_banner.jpg (modified) (previous)
- trunk/wifidog-auth/wifidog/local_content/default/login.html (modified) (2 diffs)
- trunk/wifidog-auth/wifidog/local_content/default/login.html.fr (deleted)
- trunk/wifidog-auth/wifidog/local_content/default/portal.html (modified) (1 diff)
- trunk/wifidog-auth/wifidog/local_content/default/portal.html.fr (deleted)
- trunk/wifidog-auth/wifidog/local_content/default/stylesheet.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wifidog-auth/ChangeLog
r268 r282 1 1 # $Header$ 2 2004-11-19 Benoit Gr�ire <bock@step.polymtl.ca> 3 * TODO: Add email domains to blacklist 4 * wifidog/config.php, wifidog/include/user_management_menu.php: Add tech support email address 5 * wifidog/hotspot_status.php: List of HotSpots that are open with summary of information. Designed to be included as part of another page. 6 * wifidog/local_content/common/wifidog_logo_banner.gif: Add wifidog logo 7 * wifidog/local_content/default/hotspot_logo_banner.jpg: Shrink the logo and write unknown hotspot, however this is still really ugly 8 * wifidog/local_content/default/login.html, portal.html, stylesheet.css: Cosmetic fixes 9 * wifidog/local_content/default/login.html.fr, portal.html.fr: Delete the files, this isn't the approach we will use for translation. 10 * sql/wifidog-postgres-initial-data.sql, wifidog-postgres-schema.sql: Update with new node information structures. 11 2 12 2004-11-04 Benoit Gr�ire <bock@step.polymtl.ca> 3 13 * wifidog/admin/hotspot_log.php: Add number of currently connected users here as well. trunk/wifidog-auth/TODO
r158 r282 2 2 -Node manager 3 3 -User profile 4 -Link to original website requested (but don't log it). 4 5 Blacklist emails: 6 simplicato.net 7 mytrashmail.com 8 spamhole.com 9 mailexpire.com 10 sneakemail.com 11 spamex.com 12 emailias.com 13 mymailoasis.com 14 spamcon.org 15 spamgourmet.com 16 spammotel.com trunk/wifidog-auth/sql/wifidog-postgres-initial-data.sql
r267 r282 23 23 INSERT INTO token_status (token_status) VALUES ('USED'); 24 24 25 INSERT INTO node_deployment_status (node_deployment_status) VALUES ('DEPLOYED'); 26 INSERT INTO node_deployment_status (node_deployment_status) VALUES ('IN_PLANNING'); 27 INSERT INTO node_deployment_status (node_deployment_status) VALUES ('IN_TESTING'); 28 INSERT INTO node_deployment_status (node_deployment_status) VALUES ('NON_WIFIDOG_NODE'); 29 INSERT INTO node_deployment_status (node_deployment_status) VALUES ('PERMANENTLY_CLOSED'); 30 INSERT INTO node_deployment_status (node_deployment_status) VALUES ('TEMPORARILY_CLOSED'); 25 31 26 32 INSERT INTO nodes (node_id, name, rss_url) VALUES ('default', 'Unknown node', NULL); trunk/wifidog-auth/sql/wifidog-postgres-schema.sql
r267 r282 77 77 home_page_url text, 78 78 last_heartbeat_user_agent text, 79 description text 79 description text, 80 map_url text, 81 street_address text, 82 public_phone_number text, 83 public_email text, 84 mass_transit_info text, 85 node_deployment_status character varying(32) DEFAULT 'IN_PLANNING'::character varying NOT NULL 80 86 ); 81 87 … … 110 116 111 117 -- 112 -- TOC entry 13 (OID 300919) 118 -- TOC entry 10 (OID 318918) 119 -- Name: node_deployment_status; Type: TABLE; Schema: public; Owner: wifidog 120 -- 121 122 CREATE TABLE node_deployment_status ( 123 node_deployment_status character varying(32) NOT NULL 124 ) WITHOUT OIDS; 125 126 127 -- 128 -- TOC entry 14 (OID 300919) 113 129 -- Name: idx_token; Type: INDEX; Schema: public; Owner: wifidog 114 130 -- … … 118 134 119 135 -- 120 -- TOC entry 1 4(OID 300920)136 -- TOC entry 15 (OID 300920) 121 137 -- Name: idx_token_status_and_user_id; Type: INDEX; Schema: public; Owner: wifidog 122 138 -- … … 126 142 127 143 -- 128 -- TOC entry 1 0(OID 299870)144 -- TOC entry 11 (OID 299870) 129 145 -- Name: administrators_pkey; Type: CONSTRAINT; Schema: public; Owner: wifidog 130 146 -- … … 135 151 136 152 -- 137 -- TOC entry 1 1(OID 299874)153 -- TOC entry 12 (OID 299874) 138 154 -- Name: token_status_pkey; Type: CONSTRAINT; Schema: public; Owner: wifidog 139 155 -- … … 144 160 145 161 -- 146 -- TOC entry 1 2(OID 299889)162 -- TOC entry 13 (OID 299889) 147 163 -- Name: connections_pkey; Type: CONSTRAINT; Schema: public; Owner: wifidog 148 164 -- … … 153 169 154 170 -- 155 -- TOC entry 1 5(OID 299901)171 -- TOC entry 16 (OID 299901) 156 172 -- Name: nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: wifidog 157 173 -- … … 162 178 163 179 -- 164 -- TOC entry 1 6(OID 299912)180 -- TOC entry 17 (OID 299912) 165 181 -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: wifidog 166 182 -- … … 171 187 172 188 -- 173 -- TOC entry 1 7(OID 310107)189 -- TOC entry 18 (OID 310107) 174 190 -- Name: node_owners_pkey; Type: CONSTRAINT; Schema: public; Owner: wifidog 175 191 -- … … 180 196 181 197 -- 182 -- TOC entry 19 (OID 299891) 198 -- TOC entry 19 (OID 318920) 199 -- Name: node_deployment_status_pkey; Type: CONSTRAINT; Schema: public; Owner: wifidog 200 -- 201 202 ALTER TABLE ONLY node_deployment_status 203 ADD CONSTRAINT node_deployment_status_pkey PRIMARY KEY (node_deployment_status); 204 205 206 -- 207 -- TOC entry 21 (OID 299891) 183 208 -- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: wifidog 184 209 -- … … 189 214 190 215 -- 191 -- TOC entry 18(OID 299914)216 -- TOC entry 20 (OID 299914) 192 217 -- Name: administrators_ibfk_1; Type: FK CONSTRAINT; Schema: public; Owner: wifidog 193 218 -- … … 198 223 199 224 -- 200 -- TOC entry 2 0(OID 300909)225 -- TOC entry 22 (OID 300909) 201 226 -- Name: fk_users; Type: FK CONSTRAINT; Schema: public; Owner: wifidog 202 227 -- … … 207 232 208 233 -- 209 -- TOC entry 2 1(OID 300913)234 -- TOC entry 23 (OID 300913) 210 235 -- Name: fk_nodes; Type: FK CONSTRAINT; Schema: public; Owner: wifidog 211 236 -- … … 216 241 217 242 -- 218 -- TOC entry 2 2(OID 310097)243 -- TOC entry 25 (OID 310097) 219 244 -- Name: fk_users; Type: FK CONSTRAINT; Schema: public; Owner: wifidog 220 245 -- … … 225 250 226 251 -- 227 -- TOC entry 2 3(OID 310101)252 -- TOC entry 26 (OID 310101) 228 253 -- Name: fk_nodes; Type: FK CONSTRAINT; Schema: public; Owner: wifidog 229 254 -- … … 233 258 234 259 260 -- 261 -- TOC entry 24 (OID 318922) 262 -- Name: fk_node_deployment_status; Type: FK CONSTRAINT; Schema: public; Owner: wifidog 263 -- 264 265 ALTER TABLE ONLY nodes 266 ADD CONSTRAINT fk_node_deployment_status FOREIGN KEY (node_deployment_status) REFERENCES node_deployment_status(node_deployment_status) ON UPDATE CASCADE ON DELETE RESTRICT; 267 268 trunk/wifidog-auth/wifidog/config.php
r234 r282 7 7 * 8 8 * $Log$ 9 * Revision 1.12 2004/11/20 03:28:25 benoitg 10 * 2004-11-19 Benoit Gr�ire <bock@step.polymtl.ca> 11 * * TODO: Add email domains to blacklist 12 * * wifidog/config.php, wifidog/include/user_management_menu.php: Add tech support email address 13 * * wifidog/hotspot_status.php: List of HotSpots that are open with summary of information. Designed to be included as part of another page. 14 * * wifidog/local_content/common/wifidog_logo_banner.gif: Add wifidog logo 15 * * wifidog/local_content/default/hotspot_logo_banner.jpg: Shrink the logo and write unknown hotspot, however this is still really ugly 16 * * wifidog/local_content/default/login.html, portal.html, stylesheet.css: Cosmetic fixes 17 * * wifidog/local_content/default/login.html.fr, portal.html.fr: Delete the files, this isn't the approach we will use for translation. 18 * * sql/wifidog-postgres-initial-data.sql, wifidog-postgres-schema.sql: Update with new node information structures. 19 * 9 20 * Revision 1.11 2004/09/28 20:46:40 yanik_crepeau 10 21 * Added experimental (and commented) code for next developpments … … 31 42 define('HOTSPOT_NETWORK_NAME', '�e sans fil'); 32 43 define('HOTSPOT_NETWORK_URL', 'http://www.ilesansfil.org/'); 44 define('TECH_SUPPORT_EMAIL', 'tech@ilesansfil.org'); 33 45 define('UNKNOWN_HOSTPOT_NAME', 'Unknown HotSpot'); 34 46 trunk/wifidog-auth/wifidog/include/user_management_menu.php
r227 r282 40 40 $retval .= "</ul>\n"; 41 41 $retval .= "<p class='sidenote'>Accounts on ".HOTSPOT_NETWORK_NAME." are <emp>totally free</emp>, use the left menu to create a new one or recover a lost username or password.</p>\n"; 42 $retval .= "<p class='sidenote'>Please report any problem or interruption in our service to: <a href='".TECH_SUPPORT_EMAIL."'>".TECH_SUPPORT_EMAIL."</a></p>\n"; 42 43 //$retval .= "</div>\n"; 43 44 return $retval; trunk/wifidog-auth/wifidog/local_content/default/login.html
r228 r282 3 3 4 4 <div id='head'> 5 <h1>Greetings! Welcome to {$hotspot_name}, a {$hotspot_network_name} free HotSpot 6 </h1> 5 <h1>Greetings! Welcome to {$hotspot_name}, a {$hotspot_network_name} free HotSpot</h1> 7 6 </div> 8 7 … … 26 25 </div> 27 26 <div id="content"> 27 <h2>Announcements</h2> 28 <dl> 29 <dt>16/11/2004: <a href='http://auth.ilesansfil.org/phpsurveyor/index.php?sid=3'>Sondage pour les usagers</a> / <a href='http://auth.ilesansfil.org/phpsurveyor/index.php?sid=2'>User survey</a></dt> 30 <dd>Aidez les b�voles d'� sans fil �ous offrir un meilleur service en remplissant notre sondage. / Please help our volunteers support you by filling our survey.</dd> 31 </dl> 32 <dl> 33 <dt>15/11/2004: Ouvert �ous: <a href='http://www.ilesansfil.org/wiki/Events_2f2004_2d11_2d20'>Journ�de formation le 20 novembre</a>.</dt> 34 <dd>Vous appr�ez notre projet et vous souhaitez nous aider �uvrir plus de HotSpots? C'est votre chance d'apprendre comment faire...</dd> 35 </dl> 36 37 28 38 29 39 <div class="logos"> 30 <img src= '{$network_logo_url}' alt='{$hotspot_network_name} logo'/><br />31 <img src= '{$wifidog_logo_url}' alt='WifiDog logo'/>40 <img src="{$network_logo_url}" alt="{$hotspot_network_name} logo" /><br /> 41 <img src="{$wifidog_logo_url}" alt="WifiDog logo" /> 32 42 </div> 33 <img src= '{$hotspot_logo_url}' alt='{$hotspot_name} logo'/>43 <img src="{$hotspot_logo_url}" alt="{$hotspot_name} logo" class="hotspot" /> 34 44 35 <h2>Announcements</h2>36 <dl>37 <dt>31/9/2004: {$hotspot_network_name} is currently transitioning from NoCat to the brand new Wifidog captive portal. Please note that your previous username and password should still work.</dt>38 </dl>39 45 </div> 40 46 trunk/wifidog-auth/wifidog/local_content/default/portal.html
r230 r282 18 18 <div id='content'> 19 19 20 <p><a href='{$hotspot_network_url}'><img src='{$network_logo_banner_url}' alt='{$hotspot_network_name} logo' ></a></p>20 <p><a href='{$hotspot_network_url}'><img src='{$network_logo_banner_url}' alt='{$hotspot_network_name} logo' border='0'></a></p> 21 21 <p>Content from "<a href='{$hotspot_network_url}'>{$hotspot_network_name}</a>"</p> 22 22 {$network_rss_html} trunk/wifidog-auth/wifidog/local_content/default/stylesheet.css
r227 r282 29 29 30 30 h2 { 31 clear: both;31 /*clear: both;*/ 32 32 border-bottom: 1px solid #BFDCB5; 33 33 color: #628C53;
