User Tools

Site Tools


jreupd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
jreupd [2014/11/03 10:58]
tschulz created
jreupd [2014/11/04 09:08]
tschulz [Update Client]
Line 15: Line 15:
   * check_update.jsp client sends OS version replies with "​NULL"​ or update version e.g. "​1.8.25a"​   * check_update.jsp client sends OS version replies with "​NULL"​ or update version e.g. "​1.8.25a"​
   * get_update.jsp client sends requested version either gets "​NULL"​ or download URL.   * get_update.jsp client sends requested version either gets "​NULL"​ or download URL.
 +
 +
 +===== Update Client =====
 +  * c# based
 +  * client knows the current plugin version
 +  * client performs a GET with a PLATFORM arg of "​Windows 7" to check_update.jsp
 +  * if client gets a version that is not equal to current version it performs a GET with arg of VERSION and PLATFORM to get_update.jsp
 +  * if client gets a url client downloads update and installs it to Program Files\Java Plugin, merges install.reg,​ and stores version.txt in Program Files\Java Plugin
  
  
 ===== Database schema ===== ===== Database schema =====
 ==== Updates Table ==== ==== Updates Table ====
-  * pk (int)+  * update_id ​(int)
   * version(str) e.g. (1.8.25a)   * version(str) e.g. (1.8.25a)
-  * supported platforms(str) e.g. (Windows 7;Windows 8;Windows XP) +  * supported_platforms(str) e.g. (Windows 7;Windows 8;Windows XP) 
-  * URL (str) +  * url (str) 
-  * post date (timestamp)+  * post_date ​(timestamp)
   * seq (int)   * seq (int)
 +  * enabled (boolean)
  
 ==== Users ==== ==== Users ====
-  * pk (int) +  * user_id ​(int) 
-  * Username ​(str) +  * username ​(str) 
-  * Password ​(str)+  * password ​(str)
   * level (int)   * level (int)
- 
- 
- 
  
  
jreupd.txt · Last modified: 2014/11/04 10:12 by tschulz