Commit Graph

13 Commits

Author SHA1 Message Date
hrj ed3afbc47e ensure data directory is present in the repo
to ease running the app on checkout and in CI
2021-04-19 18:51:20 +05:30
hrj da1b7eee23 don't track data/config.json
Auto-generating it is better as random seed can be made unique upon
first run

Signed-off-by: hrj <harshad.rj@gmail.com>
2021-04-19 13:28:45 +05:30
Rahul Rudragoudar 4612dfa1cd
Migrate to HttpServer (#76)
* Migrate to Fibry

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Improve error handling

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update models and fields

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Enable fibry server

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update .gitignore

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Convert captcha class to object

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Rollback error handling

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update models

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Migrate to sun http server

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Refactor: Linter and formatter

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Remove redundant dependancy

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-11 17:57:15 +05:30
hrj 6ea5691c5e run locust tests in CI 2021-04-02 15:42:47 +05:30
Rahul Rudragoudar 6d04cdc3b4
Refactor modules (#56)
* Refactor:Modules

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Add config file

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Restore sample images

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-02-24 15:21:16 +05:30
Rahul Rudragoudar b16c2698d2
Fix issue in GC (#54)
* Update sql to map uuid to token

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Fix millis to secs conversion

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Add synchronisation to media enpoint DB access

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Change error code for rate limiter

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* move prepared statements to Thread Local Storage

* Change test end points

* init GC

* Add GC

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Change status return

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Auto generate token in db

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Remove user management and rate limiting

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Add seed for random number generator

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Store random instance as class member

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update locustfile

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Add API documentation

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Move updateTimeStamp to getChallenge methdod
Remove user tables for the DB

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update Timestamp when creating mapId entry

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Add request method type

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Minor fixes

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Fix issue in GC

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Change db directory

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update locust test

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update .gitignore
2021-02-16 16:02:57 +05:30
hrj 24a6caad57 git ignore samples and project files 2020-07-03 20:57:55 +05:30
hrj 6f17c8fcba make gitignore more specific 2019-06-08 11:44:32 +05:30
Rahul Rudragoudar e67d19c857 Add method to choose a random captcha instance each time (#28)
* git ignore .db

* Add method to choose random captcha
2019-03-26 18:57:56 +05:30
hrj 618823fa7d git ignore target directories 2019-03-05 17:48:54 +05:30
Rahul Rudragoudar cafc855711 Added .png in gitignore 2018-12-17 13:41:37 +05:30
sanjana 03c1e825f5 .gitignore file 2018-01-07 13:38:27 +05:30
hrj 864c9dd9a0
Initial commit 2018-01-02 10:57:01 +05:30