summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-25database: switch to use gdbm by defaultJosé Bollo3-92/+288
Change-Id: I25b54a6b1f66f3acef3c1c7cb96e0daaa1019eae Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: call getuid only onceJosé Bollo1-2/+3
Change-Id: I249c0b712a66016bb578f203dc62ecaf6dac2b91 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: use PATH_MAX of systemJosé Bollo1-6/+2
Change-Id: I4b6567eb738c710109a2799f31575f83f5d852d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: simplifyJosé Bollo2-85/+20
Change-Id: I061051c5f8db1680368a2fd0089f554cd5969d73 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: fix regression bugJosé Bollo1-0/+3
Change-Id: I01722b00fc47e9b09c15e5123b8b0ef1a089c62e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: include null and improve readabilityJosé Bollo1-4/+7
Change-Id: Iecf336beb8c5187fd4ed86f7785cd6bf1170cf19 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: fix bugsJosé Bollo1-2/+2
Change-Id: I69b84976d48eaca56d6053750ab2b6445021b216 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: Handle UNKNOWN-APP!José Bollo1-0/+4
Change-Id: I850465cb233792a617ef27acf0228665e873226c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: refactor path compute of databaseJosé Bollo1-21/+39
Change-Id: I6d0f90e72d9896c1b9a2827d318e4b1296a6f47d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove unused variablesJosé Bollo1-2/+0
Change-Id: I20ad19d9e42ff40ac60533bc031d5c776cf42bf1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: factorize insert and replaceJosé Bollo1-47/+30
Change-Id: I55ce17f70221c3b9c62d75484d9882a136e9c261 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: generalize use of get_keyJosé Bollo1-103/+13
Change-Id: Ie3612d66271c2d298207b7580ff125bf6705bfdc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: Add get_key functionJosé Bollo1-32/+60
Change-Id: I7789734f46a58f5c3e1e7e75143869dd33f53e03 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove tailing tabsJosé Bollo1-51/+51
Change-Id: I76e1029dc9a4ca6002394742b058d7f1859175b3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: don't bother linker with localsJosé Bollo1-12/+12
Change-Id: Iba2c95c5bc9f7b1b0b07f98b69290ea014f82d20 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: return -1 when init failsJosé Bollo1-3/+3
Change-Id: Ica032ca1de51c8ec47eb543eda762b8ae70b2895 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: fix warningsJosé Bollo1-7/+8
Change-Id: I20f0720bbfe5420a4f411d2dbe268d1d3cdd0cc5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove duplited linesJosé Bollo1-4/+0
Change-Id: Ife25a2660f5f76b0e3f4eda3de2bcf86b2b997a5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24cleanup swap fileJosé Bollo1-0/+0
Change-Id: I4879ae484fbf3253081aabc5e432ab8c27ebdede
2017-10-24pam_agl: remove unused functionJosé Bollo1-13/+0
Change-Id: Ia55953111b662500c013787d58052afe5fcf6997 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24auth-binding: replace AFB_ERROR_V2 by AFB_ERRORJosé Bollo1-1/+1
Change-Id: I26cd8ac335f8cbf04b9119e99df4485341075b6b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24fix use of make event in preinitLoïc Collignon58-3724/+13
Change-Id: I3a2eb2805bdf618e3c8349776b02bbe1b7475ccc Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-10-24replaced store binding with a database binding based on a berkeley dbLoïc Collignon68-344/+4350
Change-Id: I03978ecbf996ebc6d53a88dfd2b275051080016f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-08-01fixed some an issue on the html UI.Loïc Collignon2-1/+18
Change-Id: Iabf8fb1220117b63dae74cd477fa02461a023118 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-08-01fixed a crash when logout.Loïc Collignon1-2/+1
Change-Id: I6073c89e9e507d79f6bf09254376465959d34782 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-31authenticate keys against a json document.Loïc Collignon1-45/+121
Change-Id: I988ccef75bf3f1def40893aa506d169a3926e32a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-31use libudev instead of a udev rule and a script.Loïc Collignon3-119/+286
Change-Id: Id19f4cd48d525621adc9ded9fc9e08d856dc08a5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-31added alternative UI.Loïc Collignon2-0/+106
Change-Id: Ic90ee4fdf051d3b467771f87a598605831bb53d6 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-31added some events to the API, like failure.Loïc Collignon4-5/+44
Change-Id: Ib102a729ab5666906edf19f24c04662a5c26fdba Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-31changed absolute path to relative in testing scripts.Loïc Collignon2-2/+2
Change-Id: Icb566aa15091eece4e018382aae3beb546f4b9d2 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-31updated CMakeLists.txt with license and fixed a wrong pathLoïc Collignon4-1/+73
Change-Id: I0e02cc5ce1f5a42f98e614c6dc9edb45e354f2f0 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-31update .gitignore for KDevelop4Loïc Collignon3-4/+7
Change-Id: Ibe9b328c83ec6a79336a677a7002e81991088aee Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-07-11first somewhat working version.Loïc Collignon30-152/+1500
Change-Id: I3101dc6b8add87eccac3bbf177b1320137f72463 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-06-26added the PAM's module stub.Loïc Collignon2-1/+47
Change-Id: Idc8470327d9eac2bad534cdfd4b58e8dc6e5ba6e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-06-26added udev's rule sample.Loïc Collignon1-0/+2
Change-Id: If9e34127d6f06cfafc5ef7a307d5ce1691901fc5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-06-26added the binding's stub.Loïc Collignon4-0/+104
Change-Id: Ifa41de28f071d013a4631f69fb238b53c2ab98e1 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-06-26updated the readme.Loïc Collignon1-1/+24
Change-Id: I03b77765d05ec87e9c2035ab08624fac7f17dc39 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-06-26Added a default .gitignore.Loïc Collignon1-0/+3
Change-Id: Ic13a6fce414fcb552d11ebbf6f4d872396cd0299 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-06-26Initial commitLoïc Collignon [IoT.bzh]2-0/+22