62e227c767
fix: explicitly install cypress
2022-09-21 20:42:49 +02:00
6624db1d49
chore: don't use node alpine image
2022-09-21 20:34:19 +02:00
b542221dac
chore: don't cache node_modules
2022-09-21 20:29:29 +02:00
e5d04c98da
fix: test pnpm cache
2022-09-21 17:29:37 +02:00
d76b526916
feat: use pnpm
2022-09-21 17:29:36 +02:00
2445f0eec8
chore: align docker cypress image version with drone
2022-09-05 17:43:56 +02:00
d23a50a347
chore(deps): update node.js to v18 ( #1845 )
...
Reviewed-on: vikunja/frontend#1845
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-04-21 05:15:30 +00:00
Dominik Pschenitschni
9f5e68a125
feat: change preview api url ( #1584 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1584
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-23 12:05:06 +00:00
98cb14a86c
feat: change port to 4173
...
See: https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#default-preview-port
2022-02-18 13:00:20 +01:00
92864fa5c1
chore(tests): remove test result upload to s3 since we now have cypress dashboard
2022-01-30 22:35:17 +01:00
c21f236249
feat: add cypress dashboard record ( #1462 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1462
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-30 21:33:27 +00:00
Dominik Pschenitschni
9b85817ddb
feat: run vue-tsc in ci ( #1295 )
...
We had this in for a while already, but never cared for the result.
Might make sense to integrate in the pipeline.
To make things easy from the start we could add [`failure: ignore`](https://docs.drone.io/pipeline/macstadium/syntax/steps/#failure ) to the step
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1295
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-06 10:37:51 +00:00
14397ffb31
revert: "feat: always use latest browserlist ( #1021 )"
...
This reverts commit ed6dc94873
.
2021-12-12 16:26:43 +01:00
dpschen
b7ad29f056
fix: upgrade cypress image ( #1096 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1096
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-27 19:32:48 +00:00
dpschen
ed6dc94873
feat: always use latest browserlist ( #1021 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1021
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-17 19:15:57 +00:00
c1c6f21ad2
chore(ci): make sure you cannot tamper the deploy script in a PR
2021-11-14 16:50:07 +01:00
03eee061ff
fix: preview deploy for PRs ( #990 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#990
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 15:36:53 +00:00
be78fc177d
fix: don't try to deploy a review env when not a pr
2021-11-13 15:43:34 +01:00
e49fd16a3a
feat: add preview deploys with netlify ( #972 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#972
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-10 21:25:50 +00:00
14472a45ed
feat(ci): update translations only on cron schedule
2021-10-31 15:10:51 +01:00
2004478c88
revert: chore(deps): update node.js to v17 ( #883 )
...
This reverts commit 149defdd
because node 17 has issues when building
docker images for arm.
2021-10-25 16:40:47 +02:00
149defddda
chore(deps): update node.js to v17 ( #883 )
...
Reviewed-on: vikunja/frontend#883
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-10-20 19:23:27 +00:00
1a784d0709
feat(ci): remove vue3 branch trigger
2021-10-17 23:20:06 +02:00
1fc857d9a2
chore: re-add vue3 branch
2021-10-17 20:50:22 +02:00
eb7b1bf432
chore: remove vue3 from the drone branch trigger
2021-10-17 17:32:00 +02:00
8e1ab8e09b
Merge branch 'main' into vue3
2021-10-15 20:43:11 +02:00
dpschen
e6a935f49d
fix: disable service workers in cypress ( #830 )
...
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#830
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-11 18:39:27 +00:00
43b22360a5
chore: add vue3 branch as drone branch trigger
2021-10-11 17:53:14 +02:00
234951fe3b
chore(ci): use latest version of s3 plugin
2021-10-02 15:43:17 +02:00
1b7a6cecfe
chore(ci): temporarily disable cache
2021-09-29 22:48:01 +02:00
8b01dc6b71
fix: run tests with unstable api
2021-09-26 15:54:58 +02:00
b7ec975384
Change building latest docker image
2021-09-05 14:40:14 +02:00
75174c2496
Switch the :latest docker image tag to contain the latest release instead of the latest unstable
2021-09-05 13:44:05 +02:00
fb20afae92
Move translated files after downloading them
2021-09-05 13:06:45 +02:00
13f01cdc30
Add depends_on for push step
2021-09-05 13:03:15 +02:00
b4919a5662
Add depends_on for upload step
2021-09-05 13:02:43 +02:00
a2e0c7e1f4
Fix git push remote to update crowdin translations
2021-09-05 12:01:53 +02:00
2bc85a9de7
Fix setting secret for updating translations
2021-09-05 11:49:53 +02:00
54ada3f06e
Automatically update approved translations from crowdin
2021-09-05 11:35:50 +02:00
0ce0ad1479
Cleanup drone pipeline
2021-08-06 10:26:16 +02:00
33c34655df
Drone debug
2021-08-06 01:01:26 +02:00
f6aed0fb9f
Change desktop downstream trigger plugin with our own debug build
2021-08-06 00:49:53 +02:00
a08306d612
Add vite ( #416 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#416
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 13:27:15 +00:00
b547029379
Run frontend-tests with dist in ci ( #605 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#605
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-23 11:13:15 +00:00
306a926c66
Add default list setting & creating tasks from home ( #520 )
...
Co-authored-by: sytone <github@sytone.com>
Co-authored-by: Sytone <github@sytone.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#520
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-07-17 21:21:46 +00:00
9e42559d70
Add syncing translations to crowdin
2021-07-13 12:06:50 +02:00
c5e53175cf
Allow failure of the weblate update step
2021-06-25 17:32:48 +02:00
7b99d96df0
Move weblate ping to shell script
2021-06-24 13:23:48 +02:00
f0498fd767
Add translations ( #562 )
...
Reviewed-on: vikunja/frontend#562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
f55d1151f4
Update Node.js ( #549 )
...
Reviewed-on: vikunja/frontend#549
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-06-14 20:33:56 +00:00
570cfc8610
Configure tests retries
2021-06-02 09:08:24 +02:00
9c2d076f58
Make tests less flaky
2021-05-30 21:40:56 +02:00
85ff67ff1c
Switch telegram notifications to matrix
2021-04-07 16:41:48 +02:00
688dc82b19
Add separate manifest template for latest
2021-02-14 23:41:29 +01:00
09680312c1
Fix release pipeline steps
2021-02-12 20:06:50 +01:00
e8d7ea8586
Work around auto tag for main branch
2021-02-12 20:02:51 +01:00
26d9f8d365
Fix waiting for dependency step when building
2021-02-10 18:25:39 +01:00
de774beacd
Change main branch to main
2021-02-10 18:17:20 +01:00
09073e34c4
Make sure all arm64 build steps run in parallel
2021-02-04 22:07:12 +01:00
75a96c0b8d
Add arm64 builds
2021-02-04 21:46:45 +01:00
ddadd89c64
Move all create views to better looking popups ( #383 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#383
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-21 22:33:16 +00:00
cad2d06b41
Make release steps on master depend on building/testing
2021-01-14 22:50:31 +01:00
3346fe00eb
Add downloading assets when building docker images
2020-12-16 20:23:38 +01:00
53ec2364bf
Remove the drone cache image since there is no arm compatible image available
2020-12-10 15:53:03 +01:00
6b0edd2d9a
Use yarn caches when building docker images
2020-12-10 15:46:51 +01:00
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: vikunja/frontend#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
b4e0e7e2f6
Change cache key for dependencies
2020-12-08 19:21:21 +01:00
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: vikunja/frontend#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
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: vikunja/frontend#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
8944019f5b
Only trigger desktop rebuilds on pushes to master
2020-10-18 20:41:58 +02:00
be630668b3
Trigger a rebuild of the desktop app on builds to master for the frontend
2020-10-18 14:14:03 +02:00
dea3d54cea
Pin telegram notify in drone
2020-07-24 18:31:25 +02:00
b07bbe4474
Switch release bucket to scaleway s3
2020-07-14 13:45:57 +02:00
155d24da95
Add yarn timeout to build
2020-06-23 09:18:17 +02:00
3e3ee46b0d
Fix docker arm build tag
2020-06-22 22:19:53 +02:00
1aa340360f
Simplify pipeline
2020-06-22 19:13:43 +02:00
c79369a625
Add docker multiarch manifest build step
2020-06-22 18:57:20 +02:00
9ec018ea5f
Fix docker arm build plugin
2020-06-22 18:37:09 +02:00
27096d7bd5
Add suffix for auto built docker images per arch
2020-06-22 18:30:02 +02:00
db96f944f8
Make sure the version includes the tag when building docker images
2020-06-22 16:32:36 +02:00
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: vikunja/frontend#164
2020-06-22 11:55:03 +00:00
b79593a372
Fetch tags when building in ci to display proper versions
2020-05-09 22:09:46 +02:00
15edfe0a49
Fix version console log when compiling for Docker
2020-05-09 21:57:59 +02:00
f75c3ed4f7
Fix drone config
2020-05-09 21:42:29 +02:00
8789135eed
Add logging frontend version to console on startup
2020-05-09 21:39:46 +02:00
bdb2dba49c
Switch docker image to node for building
2020-05-08 21:59:06 +02:00
f1561a491b
Fix changing api url when releasing
2020-05-05 23:34:58 +02:00
0c6b0cb48d
Change default api url to 3456 (Vikunja default)
2020-05-05 22:47:17 +02:00
d46faec23d
Make api url configurable in index.html
2020-05-05 22:44:58 +02:00
234db32e30
Remove dependency in docker build step when releasing latest
2020-05-01 11:51:53 +02:00
2b59fabbc6
Remove dependency in docker build step when releasing
2020-05-01 11:51:26 +02:00
1c734f15d1
Add telegram release notificiation ( #98 )
...
Add telegram release notificiation
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#98
2020-04-06 19:58:49 +00:00
c458f902da
Change release bucket
2020-03-01 22:53:40 +01:00
f3ec9be8e5
Fix drone testing pipeline triggering only when pushing to master and not on prs
2020-03-01 16:52:36 +01:00
11d9aaae12
Update dependencies ( #40 )
2019-12-15 20:42:40 +00:00
cad4df5558
Use yarn image instead of installing it every time
2019-10-19 18:36:41 +02:00
13d06769cf
Removed rancher configuration
2019-07-13 19:33:23 +02:00
0aa0a39620
Fixed drone config
2019-04-25 20:08:12 +02:00
8f07d99695
debug
2019-04-25 20:07:34 +02:00
2057432e29
debug
2019-04-25 20:07:00 +02:00