James Smith
|
9bc61c0b71
|
update follow activity test to cope with new activities
|
2024-08-02 13:00:55 +01:00 |
|
James Smith
|
30f287c315
|
switch to polymorphic branch of federails
|
2024-08-01 11:31:49 +01:00 |
|
James Smith
|
1e8b5e8c45
|
make creator, collection and model followable (and remove from user)
|
2024-07-31 14:09:33 +01:00 |
|
James Smith
|
68e5708d03
|
fix tests and check activity creation for follows
|
2024-07-31 10:45:37 +01:00 |
|
James Smith
|
6cd4b5e73c
|
Add followable/follower concern and tests
just user->user for now, that will change when federails gets a polymorphic relationship there
|
2024-07-31 10:45:36 +01:00 |
|
James Smith
|
e74bd72b5a
|
add access to listers, and test in shared examples
|
2024-07-27 12:34:16 +01:00 |
|
James Smith
|
6f92d46a91
|
move listable tests into a shared example
|
2024-07-26 23:24:49 +01:00 |
|
James Smith
|
cec0466fce
|
extract list features into concerns and test
|
2024-07-26 23:22:12 +01:00 |
|
James Smith
|
f7e5ebd542
|
fix test double for destroy
|
2024-07-03 16:35:57 +01:00 |
|
James Smith
|
8586230ed7
|
fix model moving
|
2024-07-02 16:16:14 +01:00 |
|
James Smith
|
97de27c526
|
remove absolute_path from test
|
2024-07-02 15:29:09 +01:00 |
|
James Smith
|
b1ce1ff162
|
use attachment for digest calculation
|
2024-07-02 13:15:33 +01:00 |
|
James Smith
|
464d673265
|
remove some test uses of #absolute_path
|
2024-07-02 12:13:01 +01:00 |
|
James Smith
|
d2907e8b9a
|
fix another test that needed a real folder
|
2024-06-25 14:13:30 +01:00 |
|
James Smith
|
f4506b70c9
|
move size test to creation-time, Shrine does this straight away
|
2024-06-25 14:13:30 +01:00 |
|
James Smith
|
33687515d4
|
prevent autocreation of attachment when loading actual fixture file for bounding box test
|
2024-06-25 14:13:30 +01:00 |
|
James Smith
|
92f75a9a03
|
fix library-on-disk tests using a proper MockDirectory
|
2024-06-25 14:13:29 +01:00 |
|
James Smith
|
915476b44c
|
DRY up file/path existence in ModelFile, Model and Library
|
2024-06-25 14:11:50 +01:00 |
|
James Smith
|
ea954a084f
|
handle failures better in path case normalisation
|
2024-04-19 10:23:37 +01:00 |
|
James Smith
|
4e078fc318
|
mock sidekiq across all tests
|
2024-04-18 13:14:42 +01:00 |
|
James Smith
|
c778311129
|
use default problem severities if setting isn't available
resolves #1995
|
2024-04-09 16:29:22 +01:00 |
|
James Smith
|
32ca60ca56
|
Reorganise analysis jobs into their own namespace
|
2024-04-08 11:50:48 +01:00 |
|
James Smith
|
95050cdb55
|
don't treat nil digests as duplicates
|
2024-04-04 18:06:10 +01:00 |
|
James Smith
|
dd9b3012e7
|
permissions cascade downwards, so e.g. administrators get viewer permission automatically
|
2024-03-21 14:54:07 +00:00 |
|
James Smith
|
f7750f0a91
|
remove dynamic rolify methods
so that we can control them more
lint
|
2024-03-21 14:54:06 +00:00 |
|
James Smith
|
a73fbb0ebf
|
add role validation from a set list
|
2024-03-21 14:39:16 +00:00 |
|
James Smith
|
8043cbd730
|
test that users can have roles
|
2024-03-21 14:38:30 +00:00 |
|
James Smith
|
c520031a74
|
give users the viewer role by default
|
2024-03-21 14:38:18 +00:00 |
|
James Smith
|
5a950d181e
|
add basic rolify models and database config
|
2024-03-21 14:38:18 +00:00 |
|
James Smith
|
931320584d
|
remove unnecessary helper specs
|
2024-03-15 16:33:17 +00:00 |
|
James Smith
|
239ba27373
|
make sure usenames are alphanumeric only
|
2024-03-05 23:29:46 +00:00 |
|
James Smith
|
6cbfa6acd4
|
change to a one-line disable thing
|
2024-02-28 15:08:00 +00:00 |
|
James Smith
|
613ef2fa59
|
lint: move rspec rubocop fails into TODO comments inline
|
2024-02-28 15:05:19 +00:00 |
|
James Smith
|
7d9dbe6175
|
ignore mock directory instance variable use with rubocop:todo comments
|
2024-02-28 14:36:33 +00:00 |
|
James Smith
|
3fd4e95719
|
fix some lint errors in some tests
|
2024-02-28 14:26:35 +00:00 |
|
James Smith
|
003592c9ac
|
stop presupported files being set for files that are already presupported
|
2024-02-09 11:45:18 +00:00 |
|
James Smith
|
5615391e30
|
check that only presupported files can be set as a presupported version
|
2024-02-09 11:45:18 +00:00 |
|
James Smith
|
be5a1dca59
|
add ModelFile#presupported_version field and associations
|
2024-02-09 11:45:18 +00:00 |
|
James Smith
|
1a21a04e09
|
i18n spdx validator
|
2024-02-07 12:10:08 +00:00 |
|
James Smith
|
3157e69e5c
|
add translation for ExistingPathValidator message
|
2024-02-07 12:07:06 +00:00 |
|
James Smith
|
69b1c5b044
|
check that problems can be ignored and unignored
|
2024-01-31 14:13:18 +00:00 |
|
James Smith
|
61a8602c6b
|
exclude ignored problems using default scope
|
2024-01-31 13:59:54 +00:00 |
|
James Smith
|
24a6753156
|
add ignored field to Problem
|
2024-01-31 13:54:48 +00:00 |
|
James Smith
|
474356228c
|
normalize license to remove blank strings
|
2024-01-30 23:49:06 +00:00 |
|
James Smith
|
263b5ff8e8
|
minor linting fixes
|
2024-01-30 22:16:29 +00:00 |
|
James Smith
|
89b6cc324a
|
test that license can be set back to nil
|
2024-01-30 21:34:40 +00:00 |
|
James Smith
|
7b9d6da518
|
add option for commercial license, plus translations
|
2024-01-29 10:08:01 +00:00 |
|
James Smith
|
2b76e444ac
|
add SPDX validation for license field
|
2024-01-27 14:55:37 +00:00 |
|
James Smith
|
8cc7de69f7
|
add "visible" scope for Problems
|
2024-01-22 16:02:43 +00:00 |
|
James Smith
|
ac32cd3089
|
change all objects to IDs in jobs
to allow soft-failure if an object is missing by the time it's processed
|
2023-08-24 22:19:00 +01:00 |
|