]> git.defcon.no Git - hermes/log
hermes
10 years agoFirst stab at a naive permissions-tool master
Jon Langseth [Fri, 16 Aug 2013 12:48:16 +0000 (14:48 +0200)]
First stab at a naive permissions-tool

10 years agoPermissions, a naive approach
Jon Langseth [Fri, 16 Aug 2013 12:13:27 +0000 (14:13 +0200)]
Permissions, a naive approach

10 years agoForgot to die on error in --remove option path
Jon Langseth [Mon, 12 Aug 2013 11:42:25 +0000 (13:42 +0200)]
Forgot to die on error in --remove option path

10 years agocompleted sipalias remove function
Jon Langseth [Mon, 12 Aug 2013 11:22:04 +0000 (13:22 +0200)]
completed sipalias remove function

10 years agoUntested tool to add sip-aliases to users/accounts, with remove-option
Jon Langseth [Tue, 6 Aug 2013 13:59:19 +0000 (15:59 +0200)]
Untested tool to add sip-aliases to users/accounts, with remove-option

10 years agoRemote reset of phones, using sipsak NOTIFY
Jon Langseth [Tue, 6 Aug 2013 10:40:00 +0000 (12:40 +0200)]
Remote reset of phones, using sipsak NOTIFY

10 years agotoot to test location data to see if sip subscriber is online
Jon Langseth [Tue, 6 Aug 2013 10:39:31 +0000 (12:39 +0200)]
toot to test location data to see if sip subscriber is online

10 years agobacklog add
Jon Langseth [Tue, 6 Aug 2013 10:38:14 +0000 (12:38 +0200)]
backlog add

11 years agoUpdates: showsipuser tool to show a sip user, listphones to list registered phones...
Jon Langseth [Wed, 13 Mar 2013 12:01:38 +0000 (13:01 +0100)]
Updates: showsipuser tool to show a sip user, listphones to list registered phones, changed assignphone to allow removing of phones

12 years agoAdded auto-location of config file to scripts tool-scripts
Jon Langseth [Tue, 24 Apr 2012 09:24:32 +0000 (11:24 +0200)]
Added auto-location of config file to scripts tool-scripts

12 years agoAdded tool to list users... ALL users...
Jon Langseth [Thu, 19 Apr 2012 13:24:11 +0000 (15:24 +0200)]
Added tool to list users... ALL users...

12 years agoTool to add SIP user without involving FEIDE ;)
Jon Langseth [Mon, 16 Apr 2012 10:14:09 +0000 (12:14 +0200)]
Tool to add SIP user without involving FEIDE ;)

12 years agoAdding --dryrun|-d option to assignphone and feide2sipuser
Jon Langseth [Mon, 16 Apr 2012 10:10:51 +0000 (12:10 +0200)]
Adding --dryrun|-d option to assignphone and feide2sipuser

12 years agoForgot one instance of 'permitedcalls' ...
Jon Langseth [Tue, 7 Feb 2012 10:28:21 +0000 (11:28 +0100)]
Forgot one instance of 'permitedcalls' ...

12 years agoPermitedcalls is now called permittedcalls in the DB. Fixed a failure-failure resulti...
Jon Langseth [Tue, 7 Feb 2012 10:24:26 +0000 (11:24 +0100)]
Permitedcalls is now called permittedcalls in the DB. Fixed a failure-failure resulting in invalid JSON (double responses)

12 years agoMerge branch 'master' of http://git.defcon.no/hermes
Jon Langseth [Thu, 26 Jan 2012 11:19:12 +0000 (12:19 +0100)]
Merge branch 'master' of http://git.defcon.no/hermes

12 years agoAdded license text
Jon Langseth [Thu, 26 Jan 2012 11:19:04 +0000 (12:19 +0100)]
Added license text

12 years agoAdding the first few local CLI-clients as examples
Jon Langseth [Wed, 25 Jan 2012 19:11:41 +0000 (20:11 +0100)]
Adding the first few local CLI-clients as examples

12 years agoMade default password lenght a config option. Added permittedcalls-info to doc
Jon Langseth [Wed, 25 Jan 2012 19:04:42 +0000 (20:04 +0100)]
Made default password lenght a config option. Added permittedcalls-info to doc

12 years agoUpdating som doc'
Jon Langseth [Tue, 24 Jan 2012 12:56:14 +0000 (13:56 +0100)]
Updating som doc'

12 years agoRework of structure SQL and sample data. Hermes and Kamailio SQL structures are now...
Jon Langseth [Tue, 24 Jan 2012 12:23:01 +0000 (13:23 +0100)]
Rework of structure SQL and sample data. Hermes and Kamailio SQL structures are now separate, the database names are not bound, DROP TABLE statements are removed, the Kamailio-structure is stripped down to only Hermes-relevant tables.

12 years agoTrivial documentation update. Removing Dumper from tests
Jon Langseth [Sun, 22 Jan 2012 22:04:19 +0000 (23:04 +0100)]
Trivial documentation update. Removing Dumper from tests

12 years agoTests for alias nodes
Jon Langseth [Sun, 22 Jan 2012 22:01:04 +0000 (23:01 +0100)]
Tests for alias nodes

12 years agoTests for numbers nodes.
Jon Langseth [Sun, 22 Jan 2012 21:43:19 +0000 (22:43 +0100)]
Tests for numbers nodes.

12 years agoAdding tests for phone-nodes
Jon Langseth [Sun, 22 Jan 2012 21:25:07 +0000 (22:25 +0100)]
Adding tests for phone-nodes

12 years agoChanged database-references, 'provision' is now called 'hermes', reflects that this...
Jon Langseth [Sun, 22 Jan 2012 21:18:52 +0000 (22:18 +0100)]
Changed database-references, 'provision' is now called 'hermes', reflects that this API does more than the original phone-provisioning-tool. Also, changed return-data on phone/get and phone/remove

12 years agoChanged from GET to POST on all parameter passing. Fixed a nasty bug in previous...
Jon Langseth [Sat, 21 Jan 2012 20:23:56 +0000 (21:23 +0100)]
Changed from GET to POST on all parameter passing. Fixed a nasty bug in previous commit against lib/user_functions.php ..

12 years agoBrainfart, the new generate_password caused all passwords to have the same leading...
Jon Langseth [Sat, 21 Jan 2012 01:37:56 +0000 (02:37 +0100)]
Brainfart, the new generate_password caused all passwords to have the same leading char

12 years agoMerge branch 'auth-refactor'
Jon Langseth [Sat, 21 Jan 2012 01:36:26 +0000 (02:36 +0100)]
Merge branch 'auth-refactor'

12 years agoForgot to add backend config-var to .sample
Jon Langseth [Sat, 21 Jan 2012 01:34:46 +0000 (02:34 +0100)]
Forgot to add backend config-var to .sample

12 years agoUpdated documentation: reformatted api-nodes.txt, documented auth/*, made contents...
Jon Langseth [Sat, 21 Jan 2012 01:26:52 +0000 (02:26 +0100)]
Updated documentation: reformatted api-nodes.txt, documented auth/*, made contents more uniform, added TODOs

12 years agoRemoved 'access' => 'no_access' from each and every 'auth/remove_user'
Jon Langseth [Sat, 21 Jan 2012 00:42:51 +0000 (01:42 +0100)]
Removed 'access' => 'no_access' from each and every 'auth/remove_user'

12 years agoTesting uncovered bug, duplicate function name.
Jon Langseth [Fri, 20 Jan 2012 23:06:37 +0000 (00:06 +0100)]
Testing uncovered bug, duplicate function name.

12 years agoUpdated previous tests to new framework
Jon Langseth [Fri, 20 Jan 2012 23:06:12 +0000 (00:06 +0100)]
Updated previous tests to new framework

12 years agoMaking the test-harness more stream-lined. Only updated auth.t so far...
Jon Langseth [Fri, 20 Jan 2012 16:03:25 +0000 (17:03 +0100)]
Making the test-harness more stream-lined. Only updated auth.t so far...

12 years agoAdded support for user-based authentication, resulting changes: Implemented auth...
Jon Langseth [Fri, 20 Jan 2012 14:47:43 +0000 (15:47 +0100)]
Added support for user-based authentication, resulting changes: Implemented auth-nodes: authorize_user, remove_user, list_users. Changed access-responses from int to string. Modified update_authorizations() and authorizations table to include user-type.
Made list_apikeys aware of 'type' column.

12 years agoAdded formal tests for api/auth
Jon Langseth [Fri, 20 Jan 2012 13:46:59 +0000 (14:46 +0100)]
Added formal tests for api/auth

12 years agoAdded general framework for API-key authentication. From this point, the API requires...
Jon Langseth [Thu, 19 Jan 2012 23:47:29 +0000 (00:47 +0100)]
Added general framework for API-key authentication. From this point, the API requires a valid authentication and session handling.

12 years agoForgot to add structure changes
Jon Langseth [Thu, 19 Jan 2012 20:17:31 +0000 (21:17 +0100)]
Forgot to add structure changes

12 years agoExtended session-authentication, added keying of sessions, added session houskeeping...
Jon Langseth [Thu, 19 Jan 2012 20:12:40 +0000 (21:12 +0100)]
Extended session-authentication, added keying of sessions, added session houskeeping. Hopefully the housekeeping functions are not too strict ;)

12 years agoStarting to get parts of an auth-framework operational...
Jon Langseth [Wed, 18 Jan 2012 23:17:00 +0000 (00:17 +0100)]
Starting to get parts of an auth-framework operational...

12 years agoThe generate_password function gave quite simple passwords (all hex values)
Jon Langseth [Wed, 18 Jan 2012 20:54:46 +0000 (21:54 +0100)]
The generate_password function gave quite simple passwords (all hex values)

12 years agoFirst stab at auth. Flow-changes to make things sort'a work
Jon Langseth [Wed, 18 Jan 2012 20:52:26 +0000 (21:52 +0100)]
First stab at auth. Flow-changes to make things sort'a work

12 years agoOoops on last commit. forgot to include a majority of the changes...
Jon Langseth [Wed, 18 Jan 2012 16:21:05 +0000 (17:21 +0100)]
Ooops on last commit. forgot to include a majority of the changes...

12 years agoAdded domain/list, domain/get_server, domain/set_servers, updated sample SQL data...
Jon Langseth [Wed, 18 Jan 2012 16:16:01 +0000 (17:16 +0100)]
Added domain/list, domain/get_server, domain/set_servers, updated sample SQL data to more valid content, added domain-table to config, updated tests ...

12 years agoadding provision URL as part of server-data in SQL
Jon Langseth [Wed, 18 Jan 2012 14:48:23 +0000 (15:48 +0100)]
adding provision URL as part of server-data in SQL

12 years agoChanged sql_dbquery to return result on zero rows. Resulted in some patchings. Added...
Jon Langseth [Wed, 18 Jan 2012 14:25:59 +0000 (15:25 +0100)]
Changed sql_dbquery to return result on zero rows. Resulted in some patchings. Added test for new domain node.

12 years agoAdding the first of many API tests. Run with perl...
Jon Langseth [Tue, 17 Jan 2012 21:39:59 +0000 (22:39 +0100)]
Adding the first of many API tests. Run with perl...

12 years agoMerge http://home.defcon.no/testing/hermes-mediator
Jon Langseth [Tue, 17 Jan 2012 19:01:09 +0000 (20:01 +0100)]
Merge http://home.defcon.no/testing/hermes-mediator

12 years agoImplemented user/available test-node, added collision-detect to user/add_local and...
Jon Langseth [Tue, 17 Jan 2012 18:57:25 +0000 (19:57 +0100)]
Implemented user/available test-node, added collision-detect to user/add_local and user/add_remote

12 years agoMerge http://git.defcon.no/hermes
Jon Langseth [Tue, 17 Jan 2012 18:08:51 +0000 (19:08 +0100)]
Merge http://git.defcon.no/hermes

12 years agoSmall edits after meeting about UI
jonl [Tue, 17 Jan 2012 18:08:14 +0000 (19:08 +0100)]
Small edits after meeting about UI

12 years agoMoving documentation to doc/
Jon Langseth [Tue, 17 Jan 2012 17:50:36 +0000 (18:50 +0100)]
Moving documentation to doc/

12 years agoAdded doc/ directory for documentation et.al.
Jon Langseth [Tue, 17 Jan 2012 17:49:31 +0000 (18:49 +0100)]
Added doc/ directory for documentation et.al.
Added README file and sample SQL data to doc/

12 years agoMoved API-files to a separate API directory.
jonl [Mon, 16 Jan 2012 21:35:56 +0000 (22:35 +0100)]
Moved API-files to a separate API directory.

12 years agoAdded alias/list functionality! Also, moved some data around in lib/alias_functions...
jonl [Mon, 16 Jan 2012 21:08:11 +0000 (22:08 +0100)]
Added alias/list functionality! Also, moved some data around in lib/alias_functions to ease the implementation of alias/list

12 years agoAdded and implemented user/change_pw, user/update and user/change_email, removed...
jonl [Mon, 16 Jan 2012 20:01:35 +0000 (21:01 +0100)]
Added and implemented user/change_pw, user/update and user/change_email, removed a bug from user/get

12 years agoRemoved a WTF, changed default password size to 24
jonl [Mon, 16 Jan 2012 18:35:10 +0000 (19:35 +0100)]
Removed a WTF, changed default password size to 24

12 years agoUpdated to reflect changes to user/list and user/change_pw. Reformatted for printing
jonl [Mon, 16 Jan 2012 18:27:01 +0000 (19:27 +0100)]
Updated to reflect changes to user/list and user/change_pw. Reformatted for printing

12 years agoChanged list node to provide more data. Added change_pw functionality/node. Changed...
jonl [Mon, 16 Jan 2012 18:24:38 +0000 (19:24 +0100)]
Changed list node to provide more data. Added change_pw functionality/node. Changed remove to use the new sql_dbexec_rows

12 years agoAdded sql_dbexec_rows, allows testing of affected rows
jonl [Mon, 16 Jan 2012 18:23:10 +0000 (19:23 +0100)]
Added sql_dbexec_rows, allows testing of affected rows

12 years agoAdded collision prevention to aliases, added todo for the reverse, promoted numbers...
jonl [Thu, 12 Jan 2012 17:30:34 +0000 (18:30 +0100)]
Added collision prevention to aliases, added todo for the reverse, promoted numbers/inpool to a prod-node

12 years agoSeveral changes: Parameter-changes to several nodes, stubs added, verification of...
jonl [Thu, 12 Jan 2012 16:41:58 +0000 (17:41 +0100)]
Several changes: Parameter-changes to several nodes, stubs added, verification of remote domain to add_remote

Added support for ?user=foo@bar.bz as supplement to ?username=foo&domain=bar to:
 user/get
 user/add_local
 user/add_remote
 user/remove
 user/change_pw
 user/update

Added support for ?username=foo&domain=bar as supplement to ?user=foo@bar.bz to:
 phone/get

Added support for ?alias=foo@bar.bz as supplement to ?alias_username=foo&alias_domain=bar to:
 alias/add
 alias/remove

Added verification that user/add_remote is not done for local domains

Added stub code for:
 user/check_pw
 user/update
 alias/list
 alias/list?destination[&e164]

Removed alias/user, will implement this as alias/list?destination=

Added vim swap-files to .gitignore

12 years agoAdding ignore file, initially ignore the running config file
jonl [Thu, 12 Jan 2012 14:57:05 +0000 (15:57 +0100)]
Adding ignore file, initially ignore the running config file

12 years agoHermes is a framework for managing SIP-accounts, aliases and automatic phone-provisio...
jonl [Thu, 12 Jan 2012 14:51:58 +0000 (15:51 +0100)]
Hermes is a framework for managing SIP-accounts, aliases and automatic phone-provisioning, based on Kamailio. This is the initial import.