233 Commits

Author SHA1 Message Date
Trenton H
4fbe7f16f3
Stops duplicated action runs against internal PRs (#4430) 2023-10-26 01:05:52 +00:00
Trenton H
d480e91196
Feature: Add ahead of time compression of the static files for x86_64 (#4390)
Compressed staticfiles. x86_64 only at this point
2023-10-20 16:22:05 -07:00
shamoon
f170cc0354
CI: Install frontend dependencies separately, once (#4336) 2023-10-09 09:44:20 -07:00
shamoon
57b8ee37ec
CI: Shard frontend tests, improve GC, use max workers (#4316) 2023-10-04 19:35:16 -07:00
shamoon
cdcd22e6a6 Revert #4292 2023-09-28 21:58:40 -07:00
shamoon
b1b3eb4406 Fix removed pull_request event from ci 2023-09-28 21:54:03 -07:00
shamoon
b0c6f5e56b
Remove ignore translation branches from ci (#4292) 2023-09-28 20:01:38 -07:00
shamoon
d9abb745a9 Merge branch 'main' into dev 2023-09-26 13:33:27 -07:00
shamoon
7c8b501c40
Run npx install playwright in src-ui dir (#4239) 2023-09-21 17:13:19 -07:00
dependabot[bot]
6170f4f56a
Bump docker/login-action from 2 to 3 (#4221)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 13:34:58 +00:00
dependabot[bot]
0b00f8f4f0
Bump docker/setup-buildx-action from 2 to 3 (#4220)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 13:24:14 +00:00
dependabot[bot]
a45c128c38
Bump docker/setup-qemu-action from 2 to 3 (#4211)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 07:31:58 +00:00
dependabot[bot]
666c12f2e8
Bump docker/metadata-action from 4 to 5 (#4209)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 22:12:14 -07:00
dependabot[bot]
49a2e2f3fa
Bump docker/build-push-action from 4 to 5 (#4212)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 04:37:16 +00:00
dependabot[bot]
219563146d
Bump actions/checkout from 3 to 4 (#4208)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 03:52:56 +00:00
shamoon
0d01295e79 Update GitHub strings
See #4024
2023-09-19 20:34:27 -07:00
shamoon
3a36d9b1ae Update docker image and ci to node 20 2023-09-14 13:06:14 -07:00
Trenton Holmes
650c816a7b Removes support for Python 3.8 and lower from the code base 2023-09-10 11:42:59 -07:00
shamoon
b9fdf68be3
Update docker image node to v18 (#4149) 2023-09-08 16:48:02 -07:00
Trenton H
0ef3a141a8 Enables Python 3.11 testing 2023-09-08 11:49:16 -07:00
Trenton H
d532913d56 Unlocks all things which were locked due to ARMv7, etc 2023-09-08 11:21:43 -07:00
Trenton H
e797295b82 Drops the building of armv7 and removes most stuff the image does for it 2023-09-08 09:05:27 -07:00
Trenton H
938f388a0b Upload frontend and backend coverage information together so codecov is less wrong with it's initial comment 2023-08-28 18:05:34 -07:00
Trenton H
aad5e9e99f Locks and upgrades all dependencies 2023-07-27 12:30:41 -07:00
Trenton Holmes
05188aed6d Bumps our locked pipenv version for CI and Docker image builds 2023-06-18 10:09:38 -07:00
Trenton Holmes
865efb7752 Sets the retention days for all uploaded artifacts to be 7 days after upload 2023-06-18 10:08:36 -07:00
shamoon
4c4b571a88
Merge pull request #3597 from paperless-ngx/frontend-unit-testing
Development: frontend unit testing
2023-06-17 21:13:34 -07:00
shamoon
77d9a7e9d3 Upload frontend coverage to codecov 2023-06-16 19:49:01 -07:00
shamoon
37e928d869 Run jest tests in ci & upload coverage
update playwright
2023-06-16 07:36:41 -07:00
Trenton H
26b438a888 Updates the Docker base image to Debian Bookworm (from Bullseye) 2023-06-15 07:33:19 -07:00
Trenton H
ee19307ea2 Restore pushing codecov in all cases. I don't think this was doing what I wanted 2023-06-06 09:05:26 -07:00
Trenton H
2c1cd25be4 Rewrites the email parsing to be more clear and concise.
Adds testing to use httpx mocked responses to stand in as a server even offline
2023-06-06 09:05:26 -07:00
shamoon
5461f8a225
Merge pull request #3401 from paperless-ngx/feature/playwright
Development: migrate frontend tests to playwright
2023-05-18 15:53:29 -07:00
shamoon
0c6a9a189b migrate frontend tests to playwright
tasks spec
settings spec
manage spec
document-detail spec
global permissions spec
documents-list & dashboard specs
tasks network requests
settings network requests
permissions network requests
manage network request
bulk-edit network requests
Fix specs
try to get playwright working on ci
rename some specs
reconfigure playwright config
increase webserver timeout for ci
fix report path
2023-05-18 13:47:43 -07:00
Trenton H
548b6352ca Updates the coverage to upload on push, not pull request, as dev doesn't upload fully otherwise 2023-05-15 12:54:35 -07:00
Trenton H
02b2bcafc5 Fixes a small step naming thing, updates codecov to only upload on pull request events 2023-05-05 11:47:43 -07:00
Trenton H
f875ae4abf CI cleanup and improvements.
Removes the building of installers from the repo, they can now be built elsewhere,
on demand, as their building is no longer tied to the Dockerfile
2023-05-05 11:47:43 -07:00
Trenton H
15a264de3d Enables images to be release to Quay.io, alongside the existing registries 2023-03-29 11:35:57 -07:00
Trenton H
4bd1974911 Updates to the latest and still working pipenv version. Updates to latest wheels 2023-03-23 18:00:08 -07:00
tooomm
248f3f2181
don't append changelog PR to unrelated release 2023-03-05 16:36:24 +01:00
Trenton H
3d961a3dbb Enable package caching for frontend testing 2023-03-02 08:03:41 -08:00
Trenton H
afcefe3d04 Fixes creation of the paperless.conf in the release dist 2023-02-23 14:59:34 -08:00
Trenton H
66333caebc Fixes all Python versions uploading to Codecov 2023-02-06 10:02:15 -08:00
Trenton H
a203b006e7 Adjust permissions of the final dist package to the normal first user of a system, instead of runner:docker 2023-02-02 17:09:37 -08:00
Trenton H
8fea4c00ad Improves and clarifies the release distribution steps. No changes to static copying 2023-02-02 17:09:37 -08:00
Trenton H
1547a698cb Switches to Codecov for coverage reporting and status 2023-02-01 17:49:28 -08:00
dependabot[bot]
87b1f5adec Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 12:14:27 -08:00
Trenton H
31bcb613ad Configure ImageMagick on the runner to allow more tests to run by default 2023-01-31 14:37:56 -08:00
Trenton H
f1204d2749 Updates the installer library to be static in the final image, saving the installers into Git and curl-ing the correct revision 2023-01-26 15:47:26 -08:00
Trenton Holmes
75d2a3a45f Moves back to the main release-drafter now that it does what we wanted 2023-01-25 10:17:20 -08:00