Commit Graph

93 Commits

Author SHA1 Message Date
Christian Pauly 6db019ae23
feat: Implement new Matrix Dart SDK Database
fix: Edit last event breaks db

feat: Add native sqflite indexeddb database

feat: Split up preload and nonpreload room state boxes
2023-12-06 12:11:47 +01:00
Krille 9b8afbf0f7
builds: Update dart and flutter ci containers 2023-06-12 08:56:32 +02:00
Krille 3ab5ea3f82
builds: Update to flutter container 3.7.12 2023-05-15 09:08:13 +02:00
Nicolas Werner 6a2e47d390
ci: Allow overriding the template in a manual or triggered pipeline
This allows us to manually start a pipeline with a different version of
the template or to automatically start one from a different repo. The
intention is to use this in the ci-template to test changes
automatically.
2023-04-13 18:28:10 +02:00
Krille edd3c014b2
chore: Update to flutter image 3.7.8 2023-03-29 15:30:29 +02:00
td ff66337773
chore: bump flutter and dart images 2023-02-01 15:03:36 +05:30
td 75dca4e950
fix: use tagged dart images in ci 2023-01-27 17:00:33 +05:30
TheOneWithTheBraid c2e8ecfdff refactor: migrate integration tests to more stable setup
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
Signed-off-by: The one with the braid <the-one@with-the-braid.cf>
2023-01-19 16:11:52 +01:00
TheOneWithTheBraid 6ef8a56041 feat: migrate e2ee test to DinD
- migrate e2ee tests to DinD
- test e2ee against Synapse, Conduit and Dendrite
- fix error handling in push rules (thanks to Dendrite tests)

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-23 09:01:53 +01:00
TheOneWithTheBraid f437d2bfee fix: remove tag from CI
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-10-26 11:35:01 +02:00
Christian Pauly 5031ff0175 refactor: Clean up deprecated website data 2022-09-16 08:23:07 +02:00
Nicolas Werner 687cfd1699 Merge branch 'nico/disable-dart-only-test-coverage' into 'main'
fix: coverage_without_olm tests

See merge request famedly/company/frontend/famedlysdk!1100
2022-08-15 14:00:01 +00:00
Christian Pauly a01921e6bc chore: Fix e2ee tests by login with username instead of mxid
Hacky workaround because the UIA
Proxy does not work reliably with
login via mxid.
2022-08-15 15:24:31 +02:00
Nicolas Werner 4ac1615ad6 fix: coverage_without_olm tests
The coverage calculation is currently broken in dart/test, see
https://github.com/dart-lang/test/issues/1698 for reference.
2022-08-15 13:03:06 +02:00
Nicolas Werner 073d98cf3d feat: add coverage to MRs 2022-08-08 15:42:54 +02:00
Christian Pauly 7885281c72 refactor: Use import sorter and ci templates 2022-07-21 15:44:04 +02:00
Nicolas Werner 50eea778fa chore: Use a specific version of the flutter-linux images 2022-06-28 12:31:47 +02:00
Nicolas Werner 756c3efdf2 ci: use flutter images to install less
Also removes the additional test user, since that is not necessary.
2022-05-17 12:06:28 +02:00
Lanna Michalke 4d603f73a5 chore: migrate google/dart to dart
- migrate deprecated google/dart image to dart

Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-04-27 13:31:49 +02:00
Nicolas Werner c83c1c7564 fix: properly create the directory for the pub credentials
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-03-25 21:37:07 +01:00
TheOneWithTheBraid cf6802fe74 fix: automatically publish on tags
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-03-25 16:42:36 +01:00
Nicolas Werner 01ea283b80 fix: Compatibility with a future codemetrics package
https://github.com/dart-code-checker/dart-code-metrics/issues/674 says
the analyze will need to be passed explicitly in the future.
There is no reason to not do that now already.
2022-02-04 07:12:39 +00:00
Christian Pauly ab006d1061 chore: Remove pin for code metrics
The bug got fixed in the latest
version.
2022-02-03 09:22:51 +01:00
Christian Pauly 2761691e7c fix: Pin code metrics version for workaround a bug 2022-02-01 15:06:56 +01:00
Krille Fear 2c1bc80013 fix: Remove broken olm file
I think this is something left over
from the time we had libolm as
a git sub repo.
2021-11-09 16:49:28 +01:00
Krille Fear f36299c3d7 CI: Remove documentation in favor of notion.so
This also means we no longer need the
publish to pub.dev script
because it just removes the
docs as a workaround and does
nothing more.
2021-10-18 07:36:18 +00:00
Nicolas Werner ffea21a309 ci: check code metrics 2021-10-12 11:33:34 +00:00
Jindřich Pikora 12c4695c06 ci: Run pub publish from ci 2021-09-15 09:01:13 +00:00
Christian Pauly 6e9003cbe7 CI: Clean up by simplifying coverage and remove dead code
The coverage_without_olm job can now use the official google/dart
image like the code analyzer job. This makes it much more simple and maybe faster too.
2021-08-20 12:55:56 +02:00
Christian Pauly 438f063550 CI: Remove build api docs job
Now we have the api docs on pub.dev anyway. No need to make all
pipelines 2 minutes longer.
2021-08-03 13:31:43 +00:00
Christian Pauly d308fac43c fix: CI
This switches to the official Dart docker Image for code analyzing and dartdocs
Also this fixes loading Dart from the
official repository in the test job.
2021-06-08 11:40:04 +02:00
Christian Pauly c3d47b16c6 CI: Use correct image 2021-05-25 10:46:34 +02:00
Christian Pauly c66e35c16c refactor: Create a clean database API 2021-05-20 07:36:03 +00:00
Christian Pauly 3e076425e6 CI: Remove update dependency job
Updating dependencies in a library does not make much sense.
Due to we dont have a pubspec.lock the app which uses this library always uses the
newest minor release by default.
For new major releases which have a new API this breaks anyway and needs manual help.
So if we depend on a specific major version we should not force the app to use the latest minor
versions without a reason to stay as compatible as possible.
2021-05-12 14:45:51 +02:00
Lukas Lihotzki a25d1932ee fix: fast pbkdf2 with OpenSSL 2021-04-12 14:48:38 +02:00
Lukas Lihotzki 88bc150722 ci: allow explanatory comments in pubspec.yaml 2021-03-29 13:36:32 +02:00
Krille Fear 9bef8452d3 docs: Clean up dart documentations
Changing to `code` blocks where it cant be resolved to [stuff] things.
2021-03-16 12:32:21 +00:00
Sorunome 4b6974e03a
chore: Make merge trains possible 2021-03-09 19:15:02 +01:00
Krille Fear 44ca96e544 refactor: Update pedantic
This enforces to NOT use curly braces in Strings where not needed
and not await non-future variables.
2021-03-09 17:28:04 +00:00
Sorunome 888fdc2078
fix: have dartdocs use doc folder, mdbook stuff use the docs folder 2021-02-11 13:07:12 +01:00
Sorunome c2637a0015
fix: Dartdoc docs 2021-02-11 13:01:17 +01:00
Sorunome 7715c75be2
fix: Docs CI 2021-02-11 12:52:48 +01:00
Christian Pauly 01bd6703ce CI: Remove installing the game 2020-12-14 14:05:06 +00:00
Christian Pauly d3c44687f6 fix: Missing null check which F*cks me up! 2020-12-14 13:24:39 +00:00
Nicolas Werner ed8f0f9b53 ci: Add automatic dependency update 2020-11-18 13:54:04 +00:00
Christian Pauly 9f4257c5fd chore: Disable license scanning for now 2020-10-26 10:46:28 +00:00
Niklas Zender 2fac61f59b Fix: Pipeline 2020-10-14 13:30:52 +00:00
Niklas Zender 37c60cdc26 Cleanup 2020-10-14 13:26:38 +00:00
Niklas Zender 8f65a83224 Cleanup 2020-10-14 13:24:59 +00:00
Niklas Zender 89176e4347 Activate Gitlab License Tooling 2020-10-14 13:24:59 +00:00