Граф коммитов

96 Коммитов

Автор SHA1 Сообщение Дата
Kate 8cab226928
refactor(Makefile): Cleanup variables (#1367)
* refactor(Makefile): Cleanup variables

Signed-off-by: provokateurin <kate@provokateurin.de>

* fixup: Adjust one missing variable (poetry_run)

Signed-off-by: Josh <josh.t.richards@gmail.com>

* returned "db" variable back

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

---------

Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Josh <josh.t.richards@gmail.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2024-06-10 17:26:40 +03:00
Alexander Piskun 66466f6ee6
added `make html` makefile command
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-03-05 19:18:53 +03:00
Alexander Piskun e52a68c129
upload coverage in separate step
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-02-06 12:41:00 +03:00
Alexander Piskun ce70659c63
updated Django from 3.2 to 4.2.5, replaced non-supported django-cors-middleware package with django-cors-headers
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-09-06 15:33:34 +03:00
Alexander Piskun 1b13f871f9
added .codecov.yml, adjusted `make coverage`
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2023-06-03 15:18:50 +03:00
Alexander Piskun 19e60b66ad
replaced `pycodestyle` with `flake8`
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2023-05-17 12:42:25 +03:00
Alexander Piskun d28c976a15
moved `mypy` to pre-commit
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2023-05-17 12:25:53 +03:00
Alexander Piskun d04b8e5dc1
moved `bandit` to pre-commit
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2023-05-17 11:42:35 +03:00
Alexander Piskun 0238dde05f
+pre-commit, +isort, -dependabot
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2023-05-16 13:55:53 +03:00
Carl Schwan cf4386837e
Fix small issues and improve theme a bit
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08 11:40:19 +02:00
Carl Schwan c68907b252
Runs Ci on ubuntu-latest
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-05 17:00:38 +01:00
Carl Schwan b304bc9101
Port from pyenv to poetry
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-05 14:14:08 +01:00
Bernhard Posselt f177c73b3c more verbose tests 2018-08-25 10:06:47 +02:00
Bernhard Posselt de6925e46f
Sync Nextcloud releases with GitHub (#544)
* add command for fetching nextcloud releases from github

* simplify loop

* pull out client

* update allauth

* add test for parsing github json

* add docs, finish command

* fix style

* remove extra file

* delete file

* narrow down fixtures

* update changelog

* update changelog
2018-02-04 20:57:47 +01:00
Bernhard Posselt 02d556adf3
Reduce size of detail.js (#538)
* get rid of moment.js

* add generated settings file onto style ignore

* trim down hl.js
2018-01-02 00:40:49 +01:00
Bernhard Posselt 1f52652e88
use in memory db for tests 2018-01-01 17:59:04 +01:00
Bernhard Posselt 1cccc975c1 fix sonar errors 2017-11-14 17:50:40 +01:00
Bernhard Posselt 7e1175f572 also init translations 2017-10-13 16:43:54 +02:00
Bernhard Posselt 7fbcebdd0f
debug 2017-09-15 15:44:38 +02:00
Bernhard Posselt e15de80b0e
run ensure pip 2017-09-15 15:37:23 +02:00
Bernhard Posselt d2ee426f17
use trusty, remove log statement 2017-09-15 13:40:46 +02:00
Bernhard Posselt 289bfa2dac
ebug 2017-09-15 12:40:03 +02:00
Bernhard Posselt 911eb7a66e
use different pip alias 2017-09-15 12:37:01 +02:00
Bernhard Posselt 30ed63c48b hit database less to improve api performance (#515) 2017-08-12 22:43:25 +02:00
Bernhard Posselt b77b91b01a
trim certain info.xml elements 2017-08-08 10:41:55 +02:00
Bernhard Posselt 78dd83ef52 fail build if coverage below 90% (#509)
* fail build if coverage below 95

* add a few test and relax to 90% coverage

* add additional tests for user commands
2017-08-06 19:50:49 +02:00
Bernhard Posselt 277fb6243d
code cleanup and exclude some files in coverage 2017-08-06 17:53:47 +02:00
Bernhard Posselt 739c33cc9f
add code coverage 2017-08-06 16:52:01 +02:00
Bernhard Posselt 9f7a91ca96 Moved certificate and scaffolding into own extensions, add e2e test for validating app release certificate (#508) 2017-08-06 12:00:07 +02:00
Bernhard Posselt a6ab7a6e11 Add utility commands to create new test users and create 3 test users in make test-data 2017-07-22 14:08:29 +02:00
Bernhard Posselt 5965389627 hide bandit config 2017-04-16 21:09:19 +02:00
Bernhard Posselt ca4261e6a1 hide bandit config 2017-04-16 21:09:00 +02:00
Bernhard Posselt 606cb46041 add static security analysis using bandit 2017-04-16 20:31:39 +02:00
Bernhard Posselt 8a7c43be95 Move api into separate app (#473)
* move api into separate app

* fix docs and makefile

* add changelog entries

* add hint for schema
2017-04-15 10:39:09 +02:00
Bernhard Posselt 29e1bab3dd Move setup code into separate commands (#471)
* Move setup code into separate commands

* always specify settings

* update changelog
2017-04-12 18:47:49 +02:00
Bernhard Posselt fb7eb179d1 Replace npm with yarn (#467)
* replace npm with yarn

* fix indention

* install yarn on travis

* install yarn on travis

* install yarn on travis

* install yarn on travis
2017-03-29 17:13:15 +02:00
Bernhard Posselt ccd2ce2f8e added l10n make commands 2017-03-26 15:34:50 +02:00
Bernhard Posselt ae95049bf3 add commands for setting up a few test apps 2017-03-26 15:30:51 +02:00
Bernhard Posselt 06d15b1702 Detail refactoring part 1 (#456)
* refactor details to a certain degree

* pull out templating stuff

* add safe by default for templating

* actually render description

* more cleanup

* get rid of migration code

* more cleanup

* only run tslint on travis

* update lint for travis

* remove escape html method in favor of innerText

* simplify js by moving things into python

* Add test and fix templating

* make tpl api easier

* fix lint

* refactor some more

* get rid of non tracked files

* fix lint
2017-03-24 16:34:33 +01:00
Bernhard Posselt db70fa3e5a Move python setup to separate file (#455)
* move python stuff to separate file

* fix makefile

* update gunicorn

* add comment language selection
2017-03-22 19:05:12 +01:00
Bernhard Posselt 75660b915f Token detail (#453)
* add clean section and detail/token pages

* move display logic to css

* remove even more code

* remove more code

* remove more code

* migrate token

* split out some detail.js stuff
2017-03-21 22:44:18 +01:00
Bernhard Posselt 4f186a24b1 Frontend build docs (#450)
* add frontend build docs

* improve development section

* add author to packagejson

* adjust docs
2017-03-18 20:24:46 +01:00
Bernhard Posselt f8c167d34e Move to webpack (#451)
* move to webpack

* delete unneeded file

* fix markdown on detail page

* remove bower

* kill another bower

* fix tslint
2017-03-18 19:12:34 +01:00
Bernhard Posselt 567fe4c4ce Switch out app list with refactored typescript (#449)
* Switch out app list

* path consistency

* remove frontend deps since we have a frontend build now
2017-03-17 22:42:53 +01:00
Bernhard Posselt 35fb530f58 Add basic testing for dom (#448)
* add basic testing for dom

* fix error message

* prefer const when possible

* add test for parsing a field error

* clean up sig

* Parse field specific errors in parseJSONError

* Remove null check

* add function to turn a django error into a map of id and messages

* format tsconfig

* better description

* add norefferrer escaping

* add docs

* Add test for noReferrerLinks

* Shorter test string

* fix linting
2017-03-17 18:40:15 +01:00
Bernhard Posselt a722f48608 Add typescript (#446)
* add typescript and modules

* add linting for typescript

* fix travis

* fix ts lint errors

* add stricter compiler settings

* stricter options and remove old lint files

* add requirejs to required packages

* Run 'node -v' in travis

* Move 'node -v' in travis
2017-03-17 12:07:08 +01:00
Bernhard Posselt afd0d724a1 turn on eslint for new code 2017-03-16 21:24:03 +01:00
Bernhard Posselt 9c46b41cf8 Add js test suite (#445)
* add js test suite

* rename file

* add failing test to check travis

* use const instead of let

* small adjustements, remove failing test

* slim down karma config
2017-03-16 21:16:27 +01:00
Bernhard Posselt d15e869429 Fix jshint errors (#443) 2017-03-16 18:54:29 +01:00
Bernhard Posselt 867cf374c5 add js lint basics (#442) 2017-03-10 23:25:41 +01:00