Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1760 commits
Select commit Hold shift + click to select a range
7c0e603
Sync localization strings with Weblate
Jul 22, 2026
fdc6ff2
[test]: preserve imported data and mapping
rijulpoudel Jul 22, 2026
ad91a09
[fix]: assert complete workbench rows
rijulpoudel Jul 22, 2026
18229a9
[test]: select a field mapping
rijulpoudel Jul 22, 2026
6917f24
[test]: select an AutoMapper suggestion
rijulpoudel Jul 22, 2026
fe1d43c
chore: update speciforum links
grantfitzsimmons Jul 24, 2026
44021fd
[test]: select multiple attachment files
rijulpoudel Jul 24, 2026
7f3488f
[test]: select different attachment file types
rijulpoudel Jul 24, 2026
a1e79de
[test]: import attachments into WorkBench data set
rijulpoudel Jul 24, 2026
f22aa74
Sync localization strings with Weblate
Jul 24, 2026
1669426
Sync localization strings with Weblate
Jul 24, 2026
533e6e7
Merge branch 'main' into issue-8302
grantfitzsimmons Jul 24, 2026
5014577
Lint code with ESLint and Prettier
grantfitzsimmons Jul 24, 2026
ff3caf1
[test]: hide base tables without attachments
rijulpoudel Jul 24, 2026
d87d3af
[test]: show selected row attachment
rijulpoudel Jul 24, 2026
eb34008
Sync localization strings with Weblate
Jul 26, 2026
714096d
Sync localization strings with Weblate
Jul 27, 2026
2c28efd
Fix: Print message only when there are unexpeted extras
Jul 27, 2026
24f2d91
Chore: Add feedback for future dev
Jul 27, 2026
0861828
Test: Add count to print
Jul 27, 2026
657dcd7
Test: Extract allow list to module level
Jul 27, 2026
14ddd04
Merge branch 'main' into issue-7606
grantfitzsimmons Jul 27, 2026
253b716
Lint code with ESLint and Prettier
grantfitzsimmons Jul 27, 2026
fb0be8f
Merge pull request #8339 from specify/issue-5280
CarolineDenis Jul 27, 2026
c6322db
Merge branch 'main' into issue-7606
grantfitzsimmons Jul 27, 2026
767748e
Merge branch 'main' into issue-3922-1
grantfitzsimmons Jul 27, 2026
eb61eab
Lint code with ESLint and Prettier
grantfitzsimmons Jul 27, 2026
0b5702c
fix: change default merge_style in localization tests
melton-jason Jul 27, 2026
eda3333
feat: add mention of the Speciforum
grantfitzsimmons Jul 27, 2026
65bc5e4
Sync localization strings with Weblate
Jul 27, 2026
95e525e
fix: change check_flags to effective_check_flags
melton-jason Jul 27, 2026
849afdd
Merge branch 'main' of github.com:specify/specify7
melton-jason Jul 27, 2026
f330235
Sync localization strings with Weblate
weblate Jul 27, 2026
af052bf
fix: update Weblate effective check flags for tests
melton-jason Jul 27, 2026
d42df39
Merge branch 'main' of github.com:specify/specify7
melton-jason Jul 27, 2026
8bf2c18
Sync localization strings with Weblate
weblate Jul 27, 2026
e0bfc3d
Merge branch 'main' into issue-8302
grantfitzsimmons Jul 27, 2026
86ff4ea
Lint code with ESLint and Prettier
grantfitzsimmons Jul 27, 2026
08b603f
Merge branch 'main' into issue-7606
grantfitzsimmons Jul 27, 2026
84e7f2f
Merge branch 'main' into issue-3922-1
grantfitzsimmons Jul 27, 2026
78bca4d
Lint code with ESLint and Prettier
grantfitzsimmons Jul 27, 2026
9c6bb77
Lint code with ESLint and Prettier
grantfitzsimmons Jul 27, 2026
bc8e813
Sync localization strings with Weblate
Jul 27, 2026
efbd17d
Merge branch 'main' into issue-8351
CarolineDenis Jul 28, 2026
d17263d
Merge branch 'main' into issue-8350
CarolineDenis Jul 28, 2026
8392e2a
Merge branch 'main' into issue-8347
CarolineDenis Jul 28, 2026
972b943
Merge branch 'main' into issue-8345
CarolineDenis Jul 28, 2026
9587f6b
Merge branch 'main' into issue-8343
CarolineDenis Jul 28, 2026
785660b
Merge branch 'main' into issue-8338
CarolineDenis Jul 28, 2026
9828159
Lint code with ESLint and Prettier
CarolineDenis Jul 28, 2026
dfc7655
Lint code with ESLint and Prettier
CarolineDenis Jul 28, 2026
ed4dbd2
Lint code with ESLint and Prettier
CarolineDenis Jul 28, 2026
ac9b54f
Lint code with ESLint and Prettier
CarolineDenis Jul 28, 2026
7932ac7
Lint code with ESLint and Prettier
CarolineDenis Jul 28, 2026
0aeae1f
Lint code with ESLint and Prettier
CarolineDenis Jul 28, 2026
d060172
Merge pull request #8342 from specify/issue-8338
CarolineDenis Jul 28, 2026
5c3a4d7
Merge branch 'main' into issue-8343
CarolineDenis Jul 28, 2026
2cad604
Merge pull request #8344 from specify/issue-8343
CarolineDenis Jul 28, 2026
8d801cc
Merge branch 'main' into issue-8345
CarolineDenis Jul 28, 2026
ce41005
Merge pull request #8346 from specify/issue-8345
CarolineDenis Jul 28, 2026
71d4f71
Merge branch 'main' into issue-8347
CarolineDenis Jul 28, 2026
e83e0d1
Merge pull request #8352 from specify/issue-8347
CarolineDenis Jul 28, 2026
ce2892d
Merge branch 'main' into issue-8350
CarolineDenis Jul 28, 2026
4564e3f
Merge pull request #8353 from specify/issue-8350
CarolineDenis Jul 28, 2026
1cba942
Merge branch 'main' into issue-8351
CarolineDenis Jul 28, 2026
3674db7
Merge pull request #8354 from specify/issue-8351
CarolineDenis Jul 28, 2026
67ec6b7
Merge pull request #8054 from specify/issue-3922-1
CarolineDenis Jul 28, 2026
831d0fa
Merge branch 'main' into issue-8336
CarolineDenis Jul 28, 2026
22371f6
Lint code with ESLint and Prettier
CarolineDenis Jul 28, 2026
303528e
Sync localization strings with Weblate
weblate Jul 28, 2026
d5e0c75
Merge branch 'main' into issue-8336
CarolineDenis Jul 28, 2026
11bf2f9
Sync localization strings with Weblate
weblate Jul 28, 2026
7fd0f2d
Merge branch 'main' into issue-8336
CarolineDenis Jul 28, 2026
de70157
Merge pull request #8337 from specify/issue-8336
CarolineDenis Jul 28, 2026
1d9fb25
Merge branch 'main' into issue-8330
CarolineDenis Jul 28, 2026
79c17f5
Merge pull request #8335 from specify/issue-8330
CarolineDenis Jul 28, 2026
95bf680
Merge branch 'main' into issue-8320
CarolineDenis Jul 28, 2026
06655d4
Merge pull request #8321 from specify/issue-8320
CarolineDenis Jul 28, 2026
cc15630
Merge branch 'main' into issue-8318
CarolineDenis Jul 28, 2026
350243b
Merge pull request #8319 from specify/issue-8318
CarolineDenis Jul 28, 2026
82edf04
Merge branch 'main' into issue-8308
CarolineDenis Jul 28, 2026
f761ea5
Merge pull request #8309 from specify/issue-8308
CarolineDenis Jul 28, 2026
2b791ae
Merge branch 'main' into issue-8303
CarolineDenis Jul 28, 2026
fa8a0c8
Merge pull request #8304 from specify/issue-8303
CarolineDenis Jul 28, 2026
71e3a7a
Merge branch 'main' into issue-8293
CarolineDenis Jul 28, 2026
8bbe850
Sync localization strings with Weblate
Jul 28, 2026
4780e1a
Merge branch 'main' into issue-8293
CarolineDenis Jul 28, 2026
a589fb1
Merge pull request #8294 from specify/issue-8293
CarolineDenis Jul 28, 2026
f5802d2
Merge branch 'main' into issue-8289
CarolineDenis Jul 28, 2026
b0238f1
Merge branch 'main' into issue-8270
CarolineDenis Jul 28, 2026
bfffb0c
Merge pull request #8283 from specify/issue-8270
CarolineDenis Jul 28, 2026
e3428f8
Merge remote-tracking branch 'origin/main' into issue-8326
Jul 28, 2026
df3b8cb
Lint code with ESLint and Prettier
Jul 28, 2026
7f9eba1
Merge branch 'main' into issue-7606
CarolineDenis Jul 28, 2026
4844341
Merge branch 'main' into issue-8302
CarolineDenis Jul 28, 2026
70267b0
Merge branch 'main' into issue-8331
CarolineDenis Jul 28, 2026
2f37d26
Merge pull request #8332 from specify/issue-8331
CarolineDenis Jul 28, 2026
710357e
Merge branch 'main' into issue-8315
CarolineDenis Jul 28, 2026
aef58f0
Merge pull request #8316 from specify/issue-8315
CarolineDenis Jul 28, 2026
310ba34
Sync localization strings with Weblate
Jul 28, 2026
6f13fe1
Sync localization strings with Weblate
weblate Jul 28, 2026
010047c
Merge pull request #7994 from specify/issue-7606
CarolineDenis Jul 28, 2026
cc3b386
Merge branch 'main' into issue-8302
grantfitzsimmons Jul 28, 2026
5d1249e
Sync localization strings with Weblate
Jul 28, 2026
94ce91e
Sync localization strings with Weblate
weblate Jul 28, 2026
11eb1cb
[fix]: Merge origin/main into issue-8326 to resolve conflicts
rijulpoudel Jul 28, 2026
dc28865
Merge branch 'main' into issue-8326
rijulpoudel Jul 28, 2026
b33f83f
[fix]: verify original loan has a preparation before cloning
rijulpoudel Jul 28, 2026
f4ff7c5
[test]: validate a WorkBench data set without uploading
rijulpoudel Jul 28, 2026
75a0069
[test]: upload Taxon data to a non-default tree
rijulpoudel Jul 28, 2026
f7c94d9
Merge remote-tracking branch 'origin/v7_12_0_7_base' into issue-7515-2
melton-jason Jul 28, 2026
f821721
chore: remove whitespace in .env for consisitency
melton-jason Jul 28, 2026
c77009c
Merge pull request #8327 from specify/issue-8326
CarolineDenis Jul 28, 2026
330b784
Merge branch 'main' into issue-8289
CarolineDenis Jul 28, 2026
b2423fd
Merge pull request #8290 from specify/issue-8289
CarolineDenis Jul 28, 2026
dc16a38
Merge branch 'main' into issue-8364
rijulpoudel Jul 28, 2026
da60a32
Merge branch 'main' into issue-8246
grantfitzsimmons Jul 28, 2026
7aa1c9c
Merge branch 'main' into issue-8302
grantfitzsimmons Jul 28, 2026
cd0a9e2
Merge branch 'main' into issue-8365
rijulpoudel Jul 28, 2026
8400c86
Sync localization strings with Weblate
weblate Jul 28, 2026
580f4eb
fix(tests): add more non-schema tables to allowlist
grantfitzsimmons Jul 28, 2026
dd15e21
feat(schema): add component defaults
grantfitzsimmons Jul 28, 2026
3a7f78c
fix(tests): apply allowlist to both missing and extra tables
grantfitzsimmons Jul 28, 2026
baa4ab1
Sync localization strings with Weblate
Jul 29, 2026
8068d8e
Merge branch 'main' into issue-8246
grantfitzsimmons Jul 29, 2026
5dc9261
Merge pull request #8247 from specify/issue-8246
grantfitzsimmons Jul 29, 2026
009fbe6
Sync localization strings with Weblate
weblate Jul 29, 2026
d44128f
Merge branch 'main' into issue-8078
CarolineDenis Jul 29, 2026
4b3ced8
Merge pull request #8341 from specify/issue-8078
CarolineDenis Jul 29, 2026
f284acc
Merge branch 'main' into issue-8364
CarolineDenis Jul 29, 2026
01f1a2d
Merge pull request #8367 from specify/issue-8364
CarolineDenis Jul 29, 2026
20f7c09
[test]: upload child COG with parent COG
rijulpoudel Jul 29, 2026
c78c5be
[test]: upload collection object with parent COG
rijulpoudel Jul 29, 2026
6e084ca
feat: add demo to README
grantfitzsimmons Jul 29, 2026
3e2c632
fix: stop using specify 6 in ci tests
grantfitzsimmons Jul 29, 2026
c05c1d8
Merge remote-tracking branch 'origin/main' into v7_12_0_7_main
melton-jason Jul 29, 2026
0e932b9
chore: cleanup data model tests
grantfitzsimmons Jul 29, 2026
c003f13
chore: add better README to datamodel
grantfitzsimmons Jul 29, 2026
97bc209
chore: remove XML data model things
grantfitzsimmons Jul 29, 2026
8a3596c
chore: remove data model builder
grantfitzsimmons Jul 29, 2026
1f6eacd
fix: replace timestampcreated with id in duplicate dir query
melton-jason Jul 29, 2026
b23e0ad
refactor: use annotation with filter for readability
melton-jason Jul 29, 2026
c11e709
Lint code with ESLint and Prettier
melton-jason Jul 29, 2026
328c4d5
Merge remote-tracking branch 'origin/main' into v7_12_0_7_main
melton-jason Jul 29, 2026
40c2f13
fix: use fix for pull request finding 'CodeQL / Unused import'
grantfitzsimmons Jul 29, 2026
6c62b72
fix: import TestCase properly
grantfitzsimmons Jul 29, 2026
3b7df57
fix: remove unused import
grantfitzsimmons Jul 29, 2026
80d69cd
fix: errors in delete blocker tests
melton-jason Jul 29, 2026
7cd7542
[fix]: assert genus is absent from default Taxon tree
rijulpoudel Jul 29, 2026
cb5bf0a
fix(tests): stop preserving discipline dirs of the same timestamp
melton-jason Jul 29, 2026
b31ebc0
fix: remove test for preserving order of run_key_migration_functions
melton-jason Jul 29, 2026
32711b5
[test]: change WorkBench data set ownership
rijulpoudel Jul 29, 2026
f1be4ba
[test]: require permission to transfer WorkBench data set
rijulpoudel Jul 29, 2026
1d0dd44
[test]: prevent non-owner WorkBench data set transfer
rijulpoudel Jul 29, 2026
e51acc1
[test]: reject invalid WorkBench data set owner
rijulpoudel Jul 29, 2026
3c2e62d
Merge branch 'main' into issue-8365
CarolineDenis Jul 29, 2026
ba992e8
Merge branch 'main' into issue-8366
rijulpoudel Jul 29, 2026
49b9902
Sync localization strings with Weblate
Jul 30, 2026
a574242
Merge branch 'main' into issue-8365
CarolineDenis Jul 30, 2026
d2e0ca9
Merge pull request #8368 from specify/issue-8365
CarolineDenis Jul 30, 2026
f467518
Merge branch 'main' into issue-8366
CarolineDenis Jul 30, 2026
dc34845
Merge pull request #8380 from specify/issue-8366
CarolineDenis Jul 30, 2026
8a78533
Merge branch 'main' into issue-8264
CarolineDenis Jul 30, 2026
69fd742
Merge pull request #8278 from specify/issue-8264
CarolineDenis Jul 30, 2026
62d752c
Merge branch 'main' into issue-8376
grantfitzsimmons Jul 30, 2026
79ccc10
Merge pull request #8377 from specify/issue-8376
grantfitzsimmons Jul 30, 2026
dade764
Merge branch 'main' into issue-8302
grantfitzsimmons Jul 30, 2026
9684c62
Merge branch 'main' into issue-8379
rijulpoudel Jul 30, 2026
fb334d8
feat(datamodel): add schema for matchingmode
grantfitzsimmons Jul 30, 2026
9beaa43
feat(attachments): add support for FNP
grantfitzsimmons Jul 30, 2026
935cbb3
feat(attachments): add support for FNP by description
grantfitzsimmons Jul 30, 2026
d22e16d
feat(attachments): add support for FN and Disposal
grantfitzsimmons Jul 30, 2026
6db0903
Merge branch 'v7_12_0_7_main' into issue-8302
grantfitzsimmons Jul 30, 2026
b926cf2
Lint code with ESLint and Prettier
grantfitzsimmons Jul 30, 2026
7c4da8e
[fix]: addressed coderabbit fixture password warning
rijulpoudel Jul 30, 2026
3452517
fix(migrations): use the new system for captions
grantfitzsimmons Jul 30, 2026
d938595
[test]: export WorkBench data set contents
rijulpoudel Jul 30, 2026
e420b5b
[test]: use selected WorkBench export delimiter
rijulpoudel Jul 30, 2026
d51c8fe
[test]: preserve visible column order in WorkBench export
rijulpoudel Jul 30, 2026
fac4edc
fix: inherit host for authenticated connection and allow host configu…
melton-jason Jul 31, 2026
9ebe0c9
feat: ignore explicit host variables when user name is the same
melton-jason Jul 31, 2026
f6ca303
Merge pull request #8383 from specify/issue-8379
CarolineDenis Jul 31, 2026
28ad912
feat(attachments): add warning dialog for missing items
grantfitzsimmons Jul 31, 2026
f363164
Merge pull request #8311 from specify/issue-8302
grantfitzsimmons Jul 31, 2026
9cfe7e7
Merge branch 'main' into v7_12_0_7_main
grantfitzsimmons Jul 31, 2026
2c4d87b
Merge branch 'main' into issue-8385
rijulpoudel Jul 31, 2026
b5a897d
Merge pull request #8378 from specify/v7_12_0_7_main
grantfitzsimmons Aug 2, 2026
edd7b09
Merge branch 'main' into setup_script_hotfix
grantfitzsimmons Aug 2, 2026
ef57132
Lint code with ESLint and Prettier
grantfitzsimmons Aug 2, 2026
b4793f8
Sync localization strings with Weblate
Aug 2, 2026
6d0b911
Sync localization strings with Weblate
weblate Aug 2, 2026
209ed1d
Sync localization strings with Weblate
weblate Aug 2, 2026
abc1400
fix: stop duplicating roles if descriptions don't match
melton-jason Aug 3, 2026
18f87ce
fix: handle case whne duplicate roles exist :(
melton-jason Aug 3, 2026
f656db3
Merge branch 'main' into issue-8385
CarolineDenis Aug 3, 2026
13e0bcd
Lint code with ESLint and Prettier
CarolineDenis Aug 3, 2026
42bdadf
Merge pull request #8389 from specify/issue-8385
CarolineDenis Aug 3, 2026
e57ddbc
Sync localization strings with Weblate
weblate Aug 3, 2026
817f0fe
Sync localization strings with Weblate
Aug 3, 2026
0c830c4
Merge branch 'main' into setup_script_hotfix
grantfitzsimmons Aug 3, 2026
f5911c1
Merge pull request #8388 from specify/setup_script_hotfix
melton-jason Aug 3, 2026
0107ce7
Merge remote-tracking branch 'origin/main' into fix_duplicated_roles
melton-jason Aug 3, 2026
b738b91
fix: incorrect lookup for role policy bulk create
melton-jason Aug 3, 2026
383e28c
fix: incorrect lookup for role policy bulk create
melton-jason Aug 3, 2026
84a36f0
chore: specify typing of LIBRARY_ROLES
melton-jason Aug 3, 2026
4f21c88
fix(queries): preserve sort again
grantfitzsimmons Aug 3, 2026
2289e56
Merge pull request #8394 from specify/issue-5038-reup
grantfitzsimmons Aug 3, 2026
1bd8a77
Merge branch 'main' into fix_duplicated_roles
melton-jason Aug 4, 2026
30edfc0
fix: account for duplicate roles when creating missing roles
melton-jason Aug 4, 2026
ec9550c
fix: better handle case sensitivity when checking for existing roles
melton-jason Aug 4, 2026
752d6fe
Merge pull request #8391 from specify/fix_duplicated_roles
melton-jason Aug 4, 2026
95ea421
Merge tag 'tags/v7.12.0.7' into issue-7515-2
melton-jason Aug 5, 2026
5cef575
Fix: Remove extra close button for app resource overlay
CarolineDenis Aug 6, 2026
1e5786d
Format
CarolineDenis Aug 6, 2026
bbf5fcb
Fix: Add chnostrat name to accepted chrono field to avoid bio filter
CarolineDenis Aug 6, 2026
46d6e72
Merge pull request #8403 from specify/issue-8401
CarolineDenis Aug 6, 2026
0dd9127
Merge branch 'main' into issue-8402
CarolineDenis Aug 6, 2026
f6ea31c
Merge pull request #8404 from specify/issue-8402
CarolineDenis Aug 6, 2026
2948e3d
Sync localization strings with Weblate
Aug 7, 2026
b181624
Fix: Update conditional statement for COG inheritance
CarolineDenis Aug 11, 2026
1542553
Fix: Normalize catalog Number field
CarolineDenis Aug 11, 2026
8508f1f
Merge branch 'main' into issue-8411
CarolineDenis Aug 11, 2026
fb1c6d6
Merge pull request #8413 from specify/issue-8411
CarolineDenis Aug 11, 2026
1b8a0f1
Sync localization strings with Weblate
Rindiser Aug 13, 2026
e9db236
chore(CHANGELOG): update for 7.12.1
grantfitzsimmons Aug 14, 2026
877792d
chore(CHANGELOG): remove obsolete content
grantfitzsimmons Aug 14, 2026
cca9c9d
Sync localization strings with Weblate
Aug 16, 2026
aaabfb0
Sync localization strings with Weblate
weblate Aug 17, 2026
0bb0a5f
Sync localization strings with Weblate
Aug 18, 2026
e9320be
chore: update date
grantfitzsimmons Aug 28, 2026
04683b5
fix: stop unlinking tree releationships if rank not present
melton-jason Sep 2, 2026
c45bb04
fix: account for hidden fields when exporting to web portal
melton-jason Sep 2, 2026
c394642
perf: add guard to fetching reference record
melton-jason Sep 2, 2026
e8c2063
feat: add tests for #8469
melton-jason Sep 2, 2026
198e7eb
fix: pass generators to list to avoid consumption
melton-jason Sep 2, 2026
7c54b2c
Revert "fix: express query not splitting search terms on commas"
melton-jason Sep 2, 2026
c4b6ef1
Merge branch 'v7.12.1-copy' into issue-8469
melton-jason Sep 3, 2026
1b3dec6
Merge pull request #8487 from specify/issue-8469
melton-jason Sep 4, 2026
905537b
chore: add propper Jest links
melton-jason Sep 9, 2026
3c6eea4
feat: generalize QueryBuilder result hook
melton-jason Sep 9, 2026
6357f66
chore: fix offset in hook comment
melton-jason Sep 9, 2026
e901d88
refactor: use consistent naming for query_fields and reduce debug log…
melton-jason Sep 17, 2026
452deb9
fix: use table over node in query join cache
melton-jason Sep 17, 2026
4975da0
refactor: decompose build_query
melton-jason Sep 18, 2026
3e33c9b
chore: add test for Tree Rank JOIN caching for build_query
melton-jason Sep 18, 2026
92fae44
refactor: narrow type of query_fields to list
melton-jason Sep 18, 2026
ee6bd34
fix: pass implicit ors preference to add_fields_to_query
melton-jason Sep 18, 2026
df4c9e7
Merge pull request #8559 from specify/issue-8529
melton-jason Sep 22, 2026
0c0afa6
Merge tag 'v7.12.1.2' into issue-7515-2
melton-jason Sep 24, 2026
3eba926
feat: keyset pagination and fast tree blockers
melton-jason Oct 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ APP_USER_PASSWORD=specify_user
# https://discourse.specifysoftware.org/t/allow-support-login-documentation/2838
ALLOW_SUPPORT_LOGIN=false
# The amount of time in seconds each token is valid for
SUPPORT_LOGIN_TTL = 180
SUPPORT_LOGIN_TTL=180

# Make sure to set the `SECRET_KEY` to a unique value
SECRET_KEY=change_this_to_some_unique_random_string
Expand Down Expand Up @@ -60,7 +60,7 @@ CELERY_RESULT_BACKEND=redis://redis/1
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = America/Chicago
TIME_ZONE=America/Chicago

# This variable controls the Specify 7 logging level. Possible values
# are:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If applicable, add screenshots to help explain your problem.

**Crash Report**

If the bug resulted in an error message, please click on "Download Error Message" and attach it here. If there is no error, please follow [these instructions](https://discourse.specifysoftware.org/t/download-specify-7-system-information/1614) to download your System Information.
If the bug resulted in an error message, please click on "Download Error Message" and attach it here. If there is no error, please follow [these instructions](https://speciforum.org/t/download-specify-7-system-information/1614) to download your System Information.

Please fill out the following information manually:
- OS: [e.g. Windows 10]
Expand Down
2 changes: 2 additions & 0 deletions .github/pull-request-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Fixes #
- [ ] Add pr to documentation list
- [ ] Add automated tests
- [ ] Add a reverse migration if a migration is present in the PR
- [ ] Add migration function to https://github.com/specify/specify7/blob/ea04665987e1b8a1b76955c7b7f702b7bf701b47/specifyweb/specify/management/commands/run_key_migration_functions.py#L50


### Testing instructions

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,17 @@ Documentation for used GitHub secrets.
</a>
</td>
</tr>
<tr>
<td>COVERAGE_SCRIPT_CLONE</td>
<td>Yes</td>
<td>
Github Deploy token linked to the [development repo](https://github.com/specify/specify-development) to allow actions to clone it.
</td>
<td>
<a href="https://github.com/specify/specify7/pull/8278">
#8278
</a>
</td>
</tr>
</tbody>
</table>
6 changes: 5 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
name: 'CodeQL'

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '18 23 * * 0'

Expand Down Expand Up @@ -47,7 +51,7 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
queries: security-extended,security-and-quality

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
Expand Down
168 changes: 168 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
name: Coverage

on:
pull_request:
push:
workflow_dispatch:

jobs:
# copied from test.yml
changes:
name: Check if back-end or front-end files changed
# Don't run this for pushes generated by push.yml on weblate-localization
# branch → prevents an infinite loop of actions triggering actions
#
# Also, "push" event is not triggered for forks, so need to listen for
# pull_requests, but only for external ones, so as not to run the action
# twice
if: |
(github.event_name == 'workflow_dispatch' ||
(github.event.head_commit.committer.name != 'Hosted Weblate' &&
github.event.head_commit.committer.name != 'github-actions'))
&&
(
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.fork == true
)
runs-on: ubuntu-latest
outputs:
backend_changed: ${{ steps.back-end-check.outputs.changed }}
frontend: ${{ steps.filter.outputs.frontend }}
frontend_changes: ${{ steps.filter.outputs.frontend_files }}

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Find all changed files
uses: dorny/paths-filter@v3
id: filter
with:
base: ${{ github.ref }}
list-files: escape
filters: |
frontend:
- 'specifyweb/frontend/**'
backend:
- '**'

- name: Check if any non-front-end files changed
id: back-end-check
run: |
changed_files=`echo "${{steps.filter.outputs.backend_files}}" | tr " " "\n" | grep -v 'specifyweb/frontend/' || echo ""`
echo "Changed back-end files: ${changed_files}"
echo "changed=$([[ -z "${changed_files}" ]] && echo "" || echo "1")" >> $GITHUB_OUTPUT

setup-and-run:
needs: changes
if: |
(needs.changes.outputs.backend_changed ||
needs.changes.outputs.frontend) ||
github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest


steps:
- name: Install needed packages
id: apt
run: |
sudo apt update
sudo apt install docker-compose-v2 openssh-client

- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Fetch coverage script
id: clone-coverage
run: |
eval "$(ssh-agent -s)"
ssh-add - <<< '${{ secrets.COVERAGE_SCRIPT_CLONE }}'
cd ~
git clone git@github.com:specify/specify-development
sudo install -m 0777 -o "$USER" specify-development/scripts/tests/{run-coverage,test_coverage.py} /usr/bin/
cd -

- name: Configure specify
id: config-specify
run: |
cat > .env <<-EOS
DATABASE_HOST=mariadb
DATABASE_PORT=3306
MYSQL_ROOT_PASSWORD=password
DATABASE_NAME=specify

MASTER_NAME=root
MASTER_PASSWORD=password
MASTER_HOST=%

MIGRATOR_NAME=root
MIGRATOR_PASSWORD=password
MIGRATOR_HOST=%

APP_USER_NAME=root
APP_USER_PASSWORD=password
APP_HOST=%

ALLOW_SUPPORT_LOGIN=false
SUPPORT_LOGIN_TTL=180

SECRET_KEY=change_this_to_some_unique_random_string

ASSET_SERVER_URL=http://host.docker.internal/web_asset_store.xml
ASSET_SERVER_KEY=your_asset_server_access_key
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB_INDEX=0

REPORT_RUNNER_HOST=report-runner
REPORT_RUNNER_PORT=8080

CELERY_BROKER_URL=redis://redis/0
CELERY_RESULT_BACKEND=redis://redis/1

TIME_ZONE=America/Chicago

LOG_LEVEL=WARNING

SP7_DEBUG=true
EOS

sed -i 's/#[ ]*\(.*requirements-testing.txt\)/\1/; s/\(COPY\) \(requirements-testing.txt\)/\1 --chown=specify:specify \2/' Dockerfile
sed -i 's/\(\(DATABASE_\|MASTER_\|MIGRATOR\|APP_USER_\)[^O].*\) = \(.*\)/\1 = os.environ.get("\1", "")/' specifyweb/settings/specify_settings.py
for i in range {0..3}; do
sudo chmod a+x $(find . -type d)
sudo chmod -R a+rw .
done
docker compose up --build -d

- name: Fix mariadb
id: reboot-mariadb
run: |
sleep 10
docker compose up -d mariadb
sleep 10
docker exec mariadb mariadb -uroot -ppassword -e"DROP USER root;
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
DROP DATABASE IF EXISTS specify;"
docker compose down
docker compose up -d
sleep 10


- name: Run the script
id: run-coverage
run: run-coverage -t pj -a pj -d pj -o html,csv


- name: Upload report as artifact
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: ./report.tar.bz2
archive: false
retention-days: 1


Loading
Loading