-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created an API to login, get projects and submit timesheet #88
Conversation
In order to test the code you forgot your
|
@blomman9 Thank you. And I have fixed the changes that you requested and now you can test the API. Please let me know if you found anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
created a basic small API please review.
What is the purpose of these lines in userlogin.php?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed as requested. Please review again!
Please don't make the files executable.
Also please add vendor to Remove file With regards to input validation on submitTime.php |
Closing the PR as some minimalist API is already provided by ttapi servlet that works directly with Time Tracker database. Anuko Time Tracker Android App uses it. Currently it is for for access to shared Time Tracker server hosted by Anuko. Eventually things may be open-sourced. |
Hi @anuko I was really looking forward to this API especially using JWT. I read there is no way to invalidate a token once its commissioned, but it makes sense in an app over API calls that potentially can be logged, to issue time based tokens such as JWT (and not solely rely on session or cookie). Will you reconsider? I can take another look at the MR if you want to. |
No description provided.