drupal-mod-rahunas
6 years agoOnly drop the generated user/login status table if exists master
Neutron Soutmun [Sun, 2 Sep 2012 02:15:46 +0000]
Only drop the generated user/login status table if exists

7 years agoForce update generated data cache on user updated
Neutron Soutmun [Wed, 4 Jan 2012 09:12:02 +0000]
Force update generated data cache on user updated

7 years agoOptimize the user SQL query
Neutron Soutmun [Wed, 4 Jan 2012 08:56:33 +0000]
Optimize the user SQL query

* rahunas.user.inc (rahunas_admin_account):
  - Generate the "rad_loginstat" and "rad_userstatus" which rarely
    changes and do the data caching for 5 minutes.
  - Optimize the user SQL query on the generated tables.

7 years agoImport latest rahu_{radius,xmlrpc}.class.php from RahuNAS
Neutron Soutmun [Mon, 26 Dec 2011 02:39:40 +0000]
Import latest rahu_{radius,xmlrpc}.class.php from RahuNAS

8 years agoFix "passed by reference" warning in user/edit
Neutron Soutmun [Tue, 21 Jun 2011 17:53:49 +0000]
Fix "passed by reference" warning in user/edit

  * rahunas/rahunas.user.inc (_rahunas_user_forms):
    - Add the dummy function to get the forms in the category.
  * rahunas/rahunas.user.inc (rahunas_user_profile_form):
    - Call the dummy function (_rahunas_user_forms) to get the form instead,
      could not call module_invoke() as $edit and $account need to be passed
      by reference.
  * rahunas/rahunas.module (rahunas_rahunas):
    - Drop extra code as it useless.

8 years agoUpdate reports
Neutron Soutmun [Tue, 21 Jun 2011 14:42:39 +0000]
Update reports

  * rahunas/rahunas.module, rahunas/rahunas.report.inc:
    - Update graph and replace OFC (Open Flash Chart) with flot.
    - Comment out some features that still in alpha state and should consider
      to keep or drop later.
  * rahunas/scripts/flot/*:
    - Add flot as the graph backend.
  * rahunas/ofc/*:
    - Drop Open Flash Chart, as unneeded.

10 years agoRandom wait to prevent the dead lock 0.1
Neutron Soutmun [Thu, 4 Jun 2009 08:55:07 +0000]
Random wait to prevent the dead lock

  * Try to randomize waiting time before retry to prevent the dead lock in case
    that the request just sent at nearly the same time.

10 years agoAdjust graph y-axis step calcuation
Neutron Soutmun [Thu, 4 Jun 2009 08:43:05 +0000]
Adjust graph y-axis step calcuation

  * Adjust graph y-axis step calculation for the values less than 25,
    which make graph more suitable plotting.

10 years agoVertical x-axis labels and retry to open data
Neutron Soutmun [Thu, 4 Jun 2009 08:16:37 +0000]
Vertical x-axis labels and retry to open data

  * Change the x-axis of bar chart in vertical alignment.
  * Change the x-axis for the darken text color.
  * Retry to open data file for 3 times before give up.

10 years agoFix basepath for getting chartdata correctly
Neutron Soutmun [Wed, 20 May 2009 02:54:06 +0000]
Fix basepath for getting chartdata correctly

  * Fix the basepath for getting chartdata correctly on clean url environtment

10 years agoSubstitute IDtype with IDType
Neutron Soutmun [Sun, 17 May 2009 06:11:07 +0000]
Substitute IDtype with IDType

  The spreadsheet application do not allow IDtype

10 years agoRemove temporary debug message
Neutron Soutmun [Sun, 17 May 2009 04:07:33 +0000]
Remove temporary debug message

10 years agoImport new user
Suriya Soutmun [Sat, 16 May 2009 21:33:17 +0000]
Import new user

  Import new user from xls file and create new group for username with group
  and default group from exist for user without group

10 years agoFix syntax error
Suriya Soutmun [Thu, 14 May 2009 06:53:05 +0000]
Fix syntax error

10 years agoEnable / Disable menu register user
Suriya Soutmun [Thu, 14 May 2009 06:49:04 +0000]
Enable / Disable menu register user

  New variable use to check status of menu to show or not

10 years agoUser suggestion from any part
Suriya Soutmun [Thu, 14 May 2009 06:44:19 +0000]
User suggestion from any part

    In old method use suggest from the begining of user name in this new style
    use some part of user to suggest username.

10 years agoChange the word from drop to kick active users
Neutron Soutmun [Thu, 14 May 2009 04:34:21 +0000]
Change the word from drop to kick active users

  * Using the word that make senses to users

10 years agoImplemented SHA-Password
Neutron Soutmun [Thu, 14 May 2009 03:46:19 +0000]
Implemented SHA-Password

  * All Cleartext-Password now are deprecated.
  * Old Cleartext-Password would be replaced by SHA-Password when users reuest
    to change password.

10 years agoAjust the lot number that get for PDF filename
Neutron Soutmun [Thu, 14 May 2009 01:52:21 +0000]
Ajust the lot number that get for PDF filename

  * Adjust the lot number to do not decrease by 1 which now
    it would be the number as same as the RefID.

10 years agoFix for IE catching issue
Suriya Soutmun [Wed, 13 May 2009 20:39:57 +0000]
Fix for IE catching issue

  Fix for IE catching issue by add Cache-Control header

10 years agoFix pdf file parsing in clean url (again)
Suriya Soutmun [Wed, 13 May 2009 20:07:02 +0000]
Fix pdf file parsing in clean url (again)

To fix pdf file parsing in clean url environment sending header
with content-type setting to pdf file and read the original file

10 years agoFix pdf filename parsing for clean url environment
Suriya Soutmun [Wed, 13 May 2009 19:51:44 +0000]
Fix pdf filename parsing for clean url environment

10 years agoAdjust menu list
Suriya Soutmun [Wed, 13 May 2009 19:35:10 +0000]
Adjust menu list

Remove import users from menu list and rearrange menu list

10 years agoFix problem after system ungracefully shutdown
Suriya Soutmun [Wed, 13 May 2009 19:15:20 +0000]
Fix problem after system ungracefully shutdown

  On ungracefully shutdown the authenticated users would not close the sessions
  cause of the radius senses the users as already in use, therefore always
  try to close the user session on kicking process even if the rahunas server
  do not track the users by set the terminate-cause to NAS_ERROR rather than
  ADMIN_RESET

10 years agoMerge branch 'master' of ssh://git.rahunas.org/home/rahunasdev/git/rahunas-drupal...
Suriya Soutmun [Wed, 13 May 2009 18:28:45 +0000]
Merge branch 'master' of ssh://git.rahunas.org/home/rahunasdev/git/rahunas-drupal-module

10 years agoHunting group fix Auth-Type Accept
Suriya Soutmun [Wed, 13 May 2009 18:26:25 +0000]
Hunting group fix Auth-Type Accept

  Change Auth-Type from Accept to PAP to fix accepted wrong password.

10 years agoAdjust pdf generator to use the RahuNAS logo
Neutron Soutmun [Wed, 13 May 2009 17:54:29 +0000]
Adjust pdf generator to use the RahuNAS logo

  * Adjust pdf generator to use the RahuNAS logo
  * Upload the images/rahunas-logo-card.png to be and example logo

10 years agoAdd new and update report charts
Neutron Soutmun [Wed, 13 May 2009 17:30:47 +0000]
Add new and update report charts

10 years agoRemove interface configuration
Suriya Soutmun [Wed, 13 May 2009 12:15:19 +0000]
Remove interface configuration

  remove interface configuration menu and file rahunas.configpage.inc.

10 years agoFix typo.
Neutron Soutmun [Tue, 5 May 2009 09:01:43 +0000]
Fix typo.

2009-05-05  Suriya Soutmun <darksolar@gmail.com>

* rahunas/rahunas.module: Fix typo.

10 years agoAdjust the drop active users to new change
Neutron Soutmun [Tue, 5 May 2009 08:56:10 +0000]
Adjust the drop active users to new change

2009-05-05  Suriya Soutmun <darksolar@gmail.com>

* rahunas/rahunas.module: Adjust the drop active users to satisfy new change
  for the virtual server from rahunas project.
* -rahunas/config.php: Drop the obsolete config file.

10 years agoSyncing with rahunas project, v-server support
Neutron Soutmun [Tue, 5 May 2009 08:37:36 +0000]
Syncing with rahunas project, v-server support

2009-05-05  Suriya Soutmun <darksolar@gmail.com>

* rahunas/rahu_{radius,xmlrpc}.class.php,
  +rahunas/networkchk.php: Syncing with rahunas project.
  - Add virtual server support.

10 years agoComment out debug.
Suriya Soutmun [Sat, 2 May 2009 09:00:51 +0000]
Comment out debug.

2009-05-02  Suriya Soutmun <darksolar@gmail.com>

* rahunas/rahunas.report.inc: Comment out debug.

10 years agoMerge branch 'master' of ssh://git.rahunas.org/home/rahunasdev/git/rahunas-drupal...
Suriya Soutmun [Sat, 2 May 2009 08:56:27 +0000]
Merge branch 'master' of ssh://git.rahunas.org/home/rahunasdev/git/rahunas-drupal-module

10 years agoAdd more detail for summary report.
Suriya Soutmun [Sat, 2 May 2009 08:55:20 +0000]
Add more detail for summary report.

2009-05-02  Suriya Soutmun <darksolar@gmail.com>

* rahunas/rahunas.report.inc:
- Add most usage report.
- Add daily amount users report.
- Add summary header.
* rahunas/rahunas.module:
  - Add theme for most usage report.
- Add theme for daily amount users repot.
- Remove unuseable menu.

10 years agoAdd Open Flash Chart and add graph into the place
Neutron Soutmun [Sat, 2 May 2009 08:33:39 +0000]
Add Open Flash Chart and add graph into the place

2009-05-02  Neutron Soutmun <neo.neutron@gmail.com>

* +rahunas/ofc/*: Add Open Flash Chart library.
* +rahunas/rahunas-chartdata.php: Add new function to prepare data for
  Open Flash Chart.
* rahunas/rahunas.report.inc: Add graph into to the place.

10 years agoAdd clients logins summary report.
Suriya Soutmun [Fri, 1 May 2009 22:05:24 +0000]
Add clients logins summary report.
2009-05-02  Suriya Soutmun <darksolar@gmail.com>
* rahunas/rahunas.report.inc:
- Summary report with session concept.
* rahunas/rahunas.user.inc:
- Use variable $_POST to check users which selected to import.
* rahunas/rahunas.module:
- Add menu tab for report.
- Add theme for report.

10 years agoInitial import
Suriya Soutmun [Thu, 23 Apr 2009 12:21:04 +0000]
Initial import

2009-04-23  Suriya Soutmun <darksolar@gmail.com>

* +rahunas/*:
- Initial import.