]> git.defcon.no Git - hermes/log
hermes
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.