Commit graph

40 commits

Author SHA1 Message Date
Erik Michelson
68a7546a5d
Use yarn berry (#1726) 2021-12-30 18:45:04 +01:00
Renovate Bot
77a60c6c48 Switch the base framework from Create React App to Next.JS
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 14:43:25 +01:00
Renovate Bot
fe5d425d7d Update actions/cache action to v2.1.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 01:59:57 +01:00
Tilman Vatteroth
0b0d695701 Use renovate to update cypress image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 17:08:35 +02:00
Tilman Vatteroth
149789bb65 Update cypress browser image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 12:10:10 +02:00
Tilman Vatteroth
1dfb8bca71 Don't rebuild commits in e2e
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-23 20:12:59 +02:00
Tilman Vatteroth
cf79d4c72e Rename dependency cache step
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-23 20:12:59 +02:00
Tilman Vatteroth
f4e5d795e6
Parallel ci jobs (#1323)
* Add parallel testing to e2e ci job

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-17 21:18:52 +02:00
Tilman Vatteroth
93722f4161
Improve stability and speed of E2E tests (#1319)
* Change cypress settings in CI job
* Catch error from highlight js chunk loading in auto completion
* Refactor code
* Show notification if highlightjs loading failed

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-13 23:02:39 +02:00
Erik Michelson
0aae1f70d2
Add prettier for codestyle and re-format everything (#1294) 2021-06-06 23:14:00 +02:00
Renovate Bot
d6bb87c6b0 Update actions/cache action to v2.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-31 18:03:29 +02:00
Tilman Vatteroth
f0fbaec2aa Update node to 16
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-26 20:53:15 +02:00
Tilman Vatteroth
2c5a03b3ee
Restructures + New Evironment Variables (#1230)
* Use document base uri for react router

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename getAndSetUser to fetchAndSetUser

Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename getFrontPageContent to fetchFrontPageContent

Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Reformat code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Use PUBLIC_URL env var in index.html

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Introduce new environment variables

For better testing (especially if you have multiple endpoints) this commit introduces
REACT_APP_BACKEND_BASE_URL, REACT_APP_FRONTEND_ASSETS_URL and REACT_APP_CUSTOMIZE_ASSETS_URL

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove redundant license information

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove redundant license information

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix rebase issues

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove unused file

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Correct parameter

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix run tasks

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Force use of bash

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix link to cypress picture

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* revert change

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* fix url

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove license info

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Revert rebase issues

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Add missing banner code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix test url

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Useless change to trigger github

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Don't set backend base url because this break the mock mode detection

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Philip Molares <philip.molares@udo.edu>
2021-05-02 22:38:43 +02:00
Renovate Bot
523f1d9105 Update actions/cache action to v2.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:49:03 +02:00
Tilman Vatteroth
36ac8f113c Remove browserstack integration
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-13 21:20:03 +02:00
Erik Michelson
e0e5f2a7dd
Add branch info to browserstack runs (#935) 2021-01-11 21:55:25 +01:00
Tilman Vatteroth
28600d6508
Change copyright year from 2020 to 2021 (#917)
* Change copyright year from 2020 to 2021

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Change copyright year in jetbrains copyright template

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 21:37:59 +01:00
Tilman Vatteroth
887c3b9dd3
Feature/browserstack (#902)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 13:09:33 +01:00
Tilman Vatteroth
dfc2524bd7
Add test mode (#898)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-29 17:13:07 +01:00
Renovate Bot
6190340651 Update actions/setup-node action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-12-19 12:26:35 +01:00
Tilman Vatteroth
590218c7c4
Use safer node_modules cache (#803)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-29 10:07:44 +01:00
Philip Molares
e097aaa5a4
changed when the reuse workflow runs to mimic all other workflows (#792)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-26 22:06:55 +01:00
Philip Molares
c7623e02ca
renamed reuse workflow job name to reuse (#783)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-23 16:06:27 +01:00
Philip Molares
f3bf7cd105
Added reuse information (#782)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-22 21:50:07 +01:00
Erik Michelson
f7ab6f60c8
Always upload screenshots of errors (#759)
When the pipeline is cancelled by a preceding failing job, the screenshot upload job won't run. This change adds the flag that it will run even when preceding jobs failed.
2020-11-17 11:04:29 +01:00
Philip Molares
325b9b40b1 added screenshots artifacts in e2e workflow 2020-11-15 21:22:14 +01:00
Renovate Bot
900ea16d80 Update actions/cache action to v2.1.3 2020-11-07 16:23:46 +01:00
renovate[bot]
3e6bc9e5bf
Update actions/checkout action to v2 (#712)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:45:22 +01:00
renovate[bot]
b8cfe1ae43
Update actions/cache action to v2 (#711)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:43:52 +01:00
Erik Michelson
84df2ea1cf
Add 'yarn lint' command and run it in GH actions (#517)
* Add 'yarn lint' command and run it in GH actions

* Move linting to own workflow

* Remove linting from build-workflow

* Solve linting warnings

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-31 12:48:58 +02:00
mrdrogdrog
7adb86846b
Drop node 10 test (#498) 2020-08-27 14:34:10 +02:00
mrdrogdrog
164b5436ae
Use prod build for e2e tests (#432)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19 22:43:56 +02:00
Tilman Vatteroth
62e870828c change github action workflows to main 2020-08-15 16:30:05 +02:00
renovate[bot]
18e165d1ab
Update dependency cypress to v4.11.0 (#340)
* Update dependency cypress to v4.11.0


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-07-25 13:59:56 +02:00
Tilman Vatteroth
29f76fec67 Correct browser name in e2e workflow 2020-07-19 21:40:40 +02:00
Philip Molares
29709d2ba4
Add YAML-metadata for notes and change the document title accordingly (#310)
* Added yaml-frontmatter extracting and error handling
* add tests
* changed document-title, so the editor can change the title to the title of the yaml metadata. closes #303
* extracted first line parsing in a core rule of markdown-it
document title will now be determined like this:
1. yaml metadata title
2. opengraph title
3. first level one heading
4. 'Untitled'
* added documentTitle e2e test

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-07-18 22:17:36 +02:00
Philip Molares
1b52bac838
readd toolbar (#302)
* added all functionality to the toolbar buttons
* added unit tests for the toolbar functions
* added unit tests to CI
* Added translated titles to buttons of toolbar

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-07-16 11:34:56 +02:00
Philip Molares
f0fe7f5ac2
added e2e tests (#298)
- added e2e tests for
  - banner
  - history
  - intro
  - language
  - link
- added e2e workflow
- added cypress badge to README
2020-07-16 11:22:53 +02:00
mrdrogdrog
70af8a17d1
Restructure github flow (#165)
* Restructure github flow
* Use node js action
* Add more node versions

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-07 00:02:50 +02:00
Philip Molares
eba59ae622
better linting (#72)
Improve linting and fix linting errors

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-27 15:43:28 +02:00