Skip to content
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

Move dateToSeconds function behind an endpoint #4937

Merged
merged 13 commits into from
Aug 1, 2022

Conversation

grafitto
Copy link
Contributor

fixes #4879

PR checklist:

  • Update READ.me ?
  • Update API documentation ?

QA checklist:

  • Smoke test the functionality described in the issue
  • Test for side effects
  • UI responsiveness
  • Cross browser testing
  • Code review

@grafitto grafitto marked this pull request as ready for review July 27, 2022 19:23
@grafitto grafitto force-pushed the 4879-click-to-fill-date branch from 63b89d6 to da59a2b Compare July 29, 2022 08:41
@konzz konzz merged commit 8b5780c into development Aug 1, 2022
@konzz konzz deleted the 4879-click-to-fill-date branch August 1, 2022 08:37
daneryl added a commit that referenced this pull request Aug 1, 2022
* Upload attachments

* Remove keys

* storage readableFile and fileContents

* undo s3 spike on uploadMiddleware

* redirect staticFilesMiddleware to /api/files

* file deprecated routes now redirect to /api/files

* fix lints and types

* unignore a testing file for specs

* Mimetype on thumbnail creation and default mimetype serving files

* Remove direct access to filesystem

* Redirect old attachments route to files download route

* Remove unused imports

* fileContents tweak to use readableFile

* spike on uplading readed files to s3 when reading

* reading a file stores it on s3 if not stored

* added minio to docker-compose

* s3 featureFlag per tenant

* use last portion of the path to store s3 object

* fix function cognitive complexity

* minio for api_unit_tests ci

* try unificial minio image for github ci

* test only storage_s3_upload_on_read, more timeout

* use 127.0.0.1 ip on s3 tests

* run all api testa again

* Move dateToSeconds function behind an endpoint (#4937)

* Updated dateToSeconds function

* Removed dateToSeconds to dataUtils

* Moved dateToSecond function to the server

* Renamed date.ts back to date.js

* Added endpoint

* Updated frontend to use date to seconds endpoint

* Added an action to get seconds from date string

* Fixed tests

* Updated server dateToSeconds tests

* Put entity suggestion if suggestion language is not found

* Moved dateToSeconds call to coerceValue call on front end

* Added coerce-values endoint instead of date-to-seconds in the server

* Added a migration

Co-authored-by: Sergio Revilla <sergio@huridocs.org>
Co-authored-by: Kevin Nderitu <nderitukelvin19@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Click-to-fill erratic behavior with dates
2 participants