Commit graph

102 commits

Author SHA1 Message Date
kolaente
6b0edd2d9a
Use yarn caches when building docker images 2020-12-10 15:46:51 +01:00
konrad
b822b3616b Frontend Testing With Cypress (#313)
Wait until the request is finished

Wait for the newly created task exists in the dom

Wait until the login request is done

Wait until the list request is done

Make sure no user token is in local storage when trying to register

Make sure to always upload test results

Disable capturing videos of test runs in CI

Add uploading test result screenshots from ci

Assert a success notification is shown after creating a new list

Change input element locators

Fix testing for favorite lists

Make sure faked usernames are always random

Make sure the tests work

Make sure to use node 12 everywhere in ci

Add docs

Fix setting api url for running tests

Use a working node version

Ignore cypress screenshots and videos

Set cache folders

Explicitly ignore cypress files when running unit tests

Trigger Drone

Only run unit tests with yarn test:unit

Add serve dist command to serve built static files

Trigger Drone

Fix cypress image

Change cypress image

Unify test & build step back again to prevent double installation of dependencies

Add cache location config

Move test steps to separate pipeline

Run cypress tests in drone

Fix all tests

Make all factory methods static

Use factories everywhere

Cleanup

Add tests for the editor

Add tests for viewing link shares

Fix seed

Add test to make sure settings elements are hidden if the user does not have the right to edit the current list

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/313
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 13:52:35 +00:00
kolaente
b4e0e7e2f6
Change cache key for dependencies 2020-12-08 19:21:21 +01:00
konrad
e15d15ed90 Add yarn cache to drone (#312)
Fix cache configuration for releases

Change cache bucket

Change dependency cache folder

Only start installing dependencies once cache has been restored

Fix configuration for dependency caching

Fix s3 access key & secret

Add yarn cache to drone

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/312
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-06 17:45:44 +00:00
konrad
fb3cf94cba Better reminders (#308)
Fix setting the new reminder component to null after adding a new date

Add "close on change" event which only fires if the component closed and the value actually changed

Hide the "today" option after 21:00

Add "confirm" button to close the component

Use disabled in reminders

Add a disabled property to the datepicker

Cleanup workarounds for flatpickr

Use the new datepicker for end dates

Use the new datepicker for start date

Use the new datepicker for due dates

Mobile styling

Format

Sync flatpickr when clicking on choose a date

Make sure to only hide the popup when not clicked something inside of it

Make flatpickr dates work

Use datepicker component for reminders

Merge branch 'master' into feature/better-reminders

Fix bottom padding of inline flatpickr

Set time

Add method to calculate the neares time

Move time helpers in separate folder

Remove separate flatpickr date

Cleanup

Set the flatpickr date when setting changing the date

Better formatting of the chosen date

Bubble

Set date when choosing one

Fix test

Show correct weekday in preview

Change hover background color

Make label to show if selected date is null configurable

Use a different icon for weekend

Ignore test files when linting

Add tests to dron

Move day interval calculation to separate file and test it

Add next date calculation

Add basic date picker component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/308
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-28 13:59:27 +00:00
kolaente
8944019f5b
Only trigger desktop rebuilds on pushes to master 2020-10-18 20:41:58 +02:00
kolaente
be630668b3
Trigger a rebuild of the desktop app on builds to master for the frontend 2020-10-18 14:14:03 +02:00
kolaente
dea3d54cea
Pin telegram notify in drone 2020-07-24 18:31:25 +02:00
kolaente
b07bbe4474
Switch release bucket to scaleway s3 2020-07-14 13:45:57 +02:00
kolaente
155d24da95
Add yarn timeout to build 2020-06-23 09:18:17 +02:00
kolaente
3e3ee46b0d
Fix docker arm build tag 2020-06-22 22:19:53 +02:00
kolaente
1aa340360f
Simplify pipeline 2020-06-22 19:13:43 +02:00
kolaente
c79369a625
Add docker multiarch manifest build step 2020-06-22 18:57:20 +02:00
kolaente
9ec018ea5f
Fix docker arm build plugin 2020-06-22 18:37:09 +02:00
kolaente
27096d7bd5
Add suffix for auto built docker images per arch 2020-06-22 18:30:02 +02:00
kolaente
db96f944f8
Make sure the version includes the tag when building docker images 2020-06-22 16:32:36 +02:00
konrad
90ba845b21 Add docker build pipelines for arm and amd64 (#164)
Only run docker pipelines when pushing to master

Add docker build pipelines for arm and amd64

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/164
2020-06-22 11:55:03 +00:00
kolaente
b79593a372
Fetch tags when building in ci to display proper versions 2020-05-09 22:09:46 +02:00
kolaente
15edfe0a49
Fix version console log when compiling for Docker 2020-05-09 21:57:59 +02:00
kolaente
f75c3ed4f7
Fix drone config 2020-05-09 21:42:29 +02:00
kolaente
8789135eed
Add logging frontend version to console on startup 2020-05-09 21:39:46 +02:00
kolaente
bdb2dba49c
Switch docker image to node for building 2020-05-08 21:59:06 +02:00
kolaente
f1561a491b
Fix changing api url when releasing 2020-05-05 23:34:58 +02:00
kolaente
0c6b0cb48d
Change default api url to 3456 (Vikunja default) 2020-05-05 22:47:17 +02:00
kolaente
d46faec23d
Make api url configurable in index.html 2020-05-05 22:44:58 +02:00
kolaente
234db32e30
Remove dependency in docker build step when releasing latest 2020-05-01 11:51:53 +02:00
kolaente
2b59fabbc6
Remove dependency in docker build step when releasing 2020-05-01 11:51:26 +02:00
konrad
1c734f15d1 Add telegram release notificiation (#98)
Add telegram release notificiation

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/98
2020-04-06 19:58:49 +00:00
kolaente
c458f902da
Change release bucket 2020-03-01 22:53:40 +01:00
kolaente
f3ec9be8e5
Fix drone testing pipeline triggering only when pushing to master and not on prs 2020-03-01 16:52:36 +01:00
konrad
11d9aaae12 Update dependencies (#40) 2019-12-15 20:42:40 +00:00
kolaente
cad4df5558
Use yarn image instead of installing it every time 2019-10-19 18:36:41 +02:00
kolaente
13d06769cf
Removed rancher configuration 2019-07-13 19:33:23 +02:00
konrad
0aa0a39620
Fixed drone config 2019-04-25 20:08:12 +02:00
konrad
8f07d99695
debug 2019-04-25 20:07:34 +02:00
konrad
2057432e29
debug 2019-04-25 20:07:00 +02:00
konrad
30b575615b
debug 2019-04-25 20:05:36 +02:00
konrad
011b0c3f98
Updated drone config for drone 1 2019-04-25 20:05:12 +02:00
konrad
3647e93b91
Updated drone config for drone 1 2019-04-25 20:03:19 +02:00
konrad
ae499fd8a0 Fix for task dates update (#24) 2019-03-03 21:38:12 +00:00
konrad
42ed060460
remove drone github update step 2018-11-28 22:54:20 +01:00
konrad
eab55d1306
added drone config to update github mirror 2018-11-28 21:31:32 +01:00
kolaente
13024086d9
Fixed drone build 2018-11-06 10:26:41 +01:00
konrad
9ed7f7a272
Added autodeploy to rancher 2018-09-09 19:57:27 +02:00
konrad
6ec92f68e5
Fixed config overwrite by drone 2018-09-08 21:44:18 +02:00
konrad
fad767e73d
Fixed config in build 2018-09-08 21:22:28 +02:00
konrad
78a6c3f4e2
Added dockerfile 2018-09-08 17:56:45 +02:00
konrad
e5c3316ad4
fixed drone config 2018-09-08 17:52:24 +02:00
konrad
a52b496017
fixed drone config 2018-09-08 17:52:06 +02:00
konrad
6acc9c2a91
Push frontend releases to a different bucket 2018-09-08 17:51:34 +02:00
konrad
44d6fe0f71
Fixed drone config 2018-09-08 17:45:01 +02:00
konrad
c63fd7c20f
Added drone config 2018-09-08 17:44:29 +02:00