Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
23af1b6
🐛 fix(views.py): change the logic to count the number of works instea…
MartinPaulEve Jan 15, 2024
a07b05e
📦 feat(pregenerate_prices.py): add management command to pregenerate …
MartinPaulEve Jan 15, 2024
4d06468
🔥 refactor(views.py): remove commented out code block to improve code…
MartinPaulEve Feb 3, 2024
8e7b093
🔧 chore(views.py): exclude "DOAB & OAPEN" initiative from all_books v…
MartinPaulEve Feb 3, 2024
79f5973
🔧 chore(views.py): add caching to the all_books view to improve perfo…
MartinPaulEve Feb 3, 2024
2fa45da
🔥 refactor(views.py): remove commented out code block in all_books vi…
MartinPaulEve Feb 3, 2024
44688f1
🐛 fix(views.py): remove unnecessary code block that was not being use…
MartinPaulEve Feb 3, 2024
9bc3f6b
🔥 refactor(views.py): remove commented out code block in all_books vi…
MartinPaulEve Feb 3, 2024
7946841
🐛 fix(all.html): remove unnecessary empty lines in author list to imp…
MartinPaulEve Feb 3, 2024
e65af1a
🐛 fix(all.html): fix formatting issue in author list to correctly dis…
MartinPaulEve Feb 3, 2024
d8cbd3a
🐛 fix(views.py): add prefetch_related to improve performance when que…
MartinPaulEve Feb 3, 2024
e9cdfd9
🔀 chore(views.py): refactor all_books view to use prefetch_related fo…
MartinPaulEve Feb 3, 2024
50f78b4
🔍 refactor(views.py): add select_related("publisher") to improve perf…
MartinPaulEve Feb 3, 2024
5054cc7
🔧 fix(views.py): add prefetch_related for contribution_set__contribut…
MartinPaulEve Feb 3, 2024
66e748e
🔀 chore(package_mobile.html): update URL in package-styled-text to po…
MartinPaulEve Feb 4, 2024
25c9b7d
🔧 fix(all.html): update condition to exclude specific initiatives fro…
MartinPaulEve Feb 4, 2024
b6b9349
🔀 refactor(models.py): add prefetch_related and select_related to imp…
MartinPaulEve Feb 4, 2024
fdad053
🐛 fix(views.py): fix incorrect argument value in reverse function cal…
MartinPaulEve Feb 4, 2024
cb3b688
🔥 refactor(index.html): remove redundant paragraph about funding in m…
MartinPaulEve Feb 10, 2024
421e88c
🎨 style(style.css): update font family and size for navbar elements t…
MartinPaulEve Feb 10, 2024
ed23c51
🔥 refactor(index.html): remove unused code and fix incorrect site tex…
MartinPaulEve Feb 10, 2024
6678378
Add a new option to filter initiatives from the selectable list.
ajrbyers Feb 12, 2024
93899e4
Added initiative filtering to the catalogue page.
ajrbyers Feb 12, 2024
3be2da0
Updated nav for initiatives.
ajrbyers Feb 12, 2024
d35c3a4
Lays out the filter options in a slightly different way to ensure the…
ajrbyers Feb 12, 2024
08cfccc
Updated mobile nav to match desktop
ajrbyers Feb 12, 2024
4b3a0ec
Where possible we now display a price range pulled from the DB.
ajrbyers Feb 12, 2024
3cb5cb9
Merge pull request #2 from COPIM/doc_updates
ajrbyers Feb 12, 2024
58c74ed
Merge pull request #3 from COPIM/option_to_filter_initiatives
ajrbyers Feb 12, 2024
b0f8143
Remove middleware override.
ajrbyers Feb 12, 2024
440b594
🎨 style(latest_publications.html): center align the highlights sectio…
MartinPaulEve Feb 15, 2024
73216eb
Make highlights display in white text.
ajrbyers Feb 15, 2024
71ec616
Merge pull request #4 from COPIM/118-mobile_cat_filter_init
MartinPaulEve Feb 15, 2024
833a366
Merge pull request #5 from COPIM/121-nav_oddities
MartinPaulEve Feb 15, 2024
8321b59
Merge pull request #6 from COPIM/119-cat_button
MartinPaulEve Feb 15, 2024
a8dff68
Merge pull request #7 from COPIM/125-mobile_nav_update
MartinPaulEve Feb 15, 2024
fb9ea03
Merge pull request #8 from COPIM/automated_price_bands
MartinPaulEve Feb 15, 2024
258a079
📦 chore(requirements.txt): add geoip2 package to the list of dependen…
MartinPaulEve Feb 15, 2024
53b8bc5
🔧 chore(install_cron_tasks.yml): add cron task to update Thoth and pr…
MartinPaulEve Feb 15, 2024
45daa5f
Adds country switcher
ajrbyers May 6, 2024
d5bf793
Adds pricing feature to collective and initiative pages.
ajrbyers May 6, 2024
0eb98d8
Utilise the catch all for MPs as most of the baby packages don't have…
ajrbyers Jun 11, 2024
41a778d
Optimizations
MartinPaulEve Jul 1, 2024
a3d69c7
Fix for first load of dashboard
MartinPaulEve Jul 1, 2024
afee11d
Fix graph
MartinPaulEve Jul 1, 2024
01c6d00
Fix map generator
MartinPaulEve Jul 1, 2024
9c6efc4
Use .first instead of index
MartinPaulEve Jul 1, 2024
5ded8e0
Further optimizations
MartinPaulEve Jul 1, 2024
9bacc99
Optimize homepage
MartinPaulEve Jul 1, 2024
de11b30
Further optimizations
MartinPaulEve Jul 1, 2024
34bd332
Add caching
MartinPaulEve Jul 1, 2024
dc31b2a
Add finance committee to Who We Are page
MartinPaulEve Jul 6, 2024
c678d7c
Fix heading on Who We Are page
MartinPaulEve Jul 6, 2024
a6dd47f
Issue 90 features
MartinPaulEve Aug 24, 2024
a94cc1c
Merge pull request #13 from COPIM/90-names-for-cms-pages
MartinPaulEve Aug 24, 2024
10f14b6
feat: Add basket functionality
MartinPaulEve Aug 26, 2024
55ef2aa
Fix to Thoth sync
MartinPaulEve Aug 28, 2024
3e1d19f
Fix to pricing banding list
MartinPaulEve Aug 29, 2024
2f2221c
Fix to basket display
MartinPaulEve Aug 29, 2024
095ee3d
Reduce DB hits
MartinPaulEve Sep 1, 2024
cfa57d7
fix: remove bad caching
MartinPaulEve Sep 4, 2024
4173e47
fix: remove more bad caching
MartinPaulEve Sep 4, 2024
cfb21ce
Merge pull request #14 from COPIM/database-hits-improvements
MartinPaulEve Sep 6, 2024
bdd9c35
WIP.
ajrbyers Sep 14, 2024
62be772
WIP.
ajrbyers Sep 14, 2024
7fd4dca
Change accounts app to use dynamic text loading
MartinPaulEve Sep 14, 2024
083deb8
Change backups app to use dynamic text loading
MartinPaulEve Sep 14, 2024
378f8bc
Change base (backend) app to use dynamic text loading
MartinPaulEve Sep 14, 2024
bca5ec3
Partial work on moving Base app to site text
MartinPaulEve Sep 14, 2024
ea88f19
Finish work on base/frontend conversion to get_site_text
MartinPaulEve Sep 15, 2024
adba83e
Finish work on base/frontend/quote conversion to get_site_text
MartinPaulEve Sep 15, 2024
1cb0168
Finish work on base/frontend/quote/elements conversion to get_site_text
MartinPaulEve Sep 15, 2024
7348203
Start work on CMS conversion to get_site_text
MartinPaulEve Sep 15, 2024
8731e95
Add caching to CMS function
MartinPaulEve Sep 15, 2024
6ac2e93
Partial work on moving CMS app to site text
MartinPaulEve Sep 15, 2024
92d7819
Complete work on moving CMS app to site text
MartinPaulEve Sep 15, 2024
1b636ba
Complete work on moving Contacts app to site text
MartinPaulEve Sep 15, 2024
06a6143
Complete work on moving Dashboard app to site text
MartinPaulEve Sep 16, 2024
0524594
Complete work on moving Elements app to site text
MartinPaulEve Sep 17, 2024
5ec3747
Complete work on moving Initiatives app to site text
MartinPaulEve Sep 19, 2024
fcf0e22
Complete work on moving invoicing app to site text
MartinPaulEve Sep 19, 2024
12cd052
feat: replace static text with dynamic tags in email log entries temp…
MartinPaulEve Sep 20, 2024
cd148d2
chore: remove deprecated site text entry for platform management from…
MartinPaulEve Sep 20, 2024
9506577
feat: replace static text in list_log_entries.html with dynamic tags …
MartinPaulEve Sep 20, 2024
f904745
Complete work on moving mail app to site text
MartinPaulEve Sep 20, 2024
40940e4
feat: replace static text in HTML templates with dynamic tags and upd…
MartinPaulEve Sep 20, 2024
9307314
fix: correct static file paths in view_baskets.html to use single quotes
MartinPaulEve Sep 20, 2024
fad2ef3
feat: replace static English text with dynamic tags in HTML templates…
MartinPaulEve Sep 20, 2024
f2fdd4e
chore: remove unnecessary SEARCH/REPLACE block from manage_basket.html
MartinPaulEve Sep 20, 2024
98ee371
fix: correct static template tag quotes in manage_basket.html
MartinPaulEve Sep 20, 2024
4f5f4e1
feat: add revoke and grant site text entries to site_text_3.json
MartinPaulEve Sep 20, 2024
346bf56
feat: replace static text with dynamic tags in debugger.html and upda…
MartinPaulEve Sep 20, 2024
7f6f15a
fix: handle potential undefined variables in user and package selecti…
MartinPaulEve Sep 20, 2024
efebaa3
fix: handle potential None values for user_to_test and package_to_tes…
MartinPaulEve Sep 20, 2024
07995a5
feat: replace static English text with dynamic tags in info.html and …
MartinPaulEve Sep 20, 2024
7648d0a
fix: correct syntax errors in static template tags by using single qu…
MartinPaulEve Sep 20, 2024
df49e9e
fix: correct quotation marks in image source for consistency in info.…
MartinPaulEve Sep 20, 2024
7228614
Complete work on moving package root app to site text
MartinPaulEve Sep 20, 2024
bc94872
feat: replace static text with dynamic tags in HTML templates and upd…
MartinPaulEve Sep 20, 2024
96d6b71
feat: replace static text with dynamic tags in create.html and update…
MartinPaulEve Sep 20, 2024
0517f36
feat: replace static text with dynamic tags in create.html and update…
MartinPaulEve Sep 20, 2024
a3afe8e
fix: remove outdated dashboard site text entry from JSON fixture
MartinPaulEve Sep 20, 2024
ca72480
feat: replace static text with dynamic tags in package_banding.html a…
MartinPaulEve Sep 20, 2024
b22151a
feat: replace static text with dynamic tags in package_banding_curren…
MartinPaulEve Sep 20, 2024
1aea204
feat: replace static text with dynamic tags in package_banding_curren…
MartinPaulEve Sep 20, 2024
f8534a8
fix: correct search/replace blocks in package_banding_currency_prices…
MartinPaulEve Sep 20, 2024
ffaacf4
fix: correct search/replace blocks in package_banding_currency_prices…
MartinPaulEve Sep 20, 2024
0e5d5fc
feat: replace static text with dynamic tags in redirect.html and upda…
MartinPaulEve Sep 20, 2024
ad3d982
feat: replace static text with dynamic tags in banding type list temp…
MartinPaulEve Sep 20, 2024
c655387
feat: replace static English text with dynamic tags in vocabs.html an…
MartinPaulEve Sep 20, 2024
97fd531
Complete work on moving package/banding app to site text
MartinPaulEve Sep 20, 2024
a2f3246
feat: replace static text with dynamic tags in new_order_complete.htm…
MartinPaulEve Sep 21, 2024
8c533b6
fix: correct static file path quotes in new_order_complete.html
MartinPaulEve Sep 21, 2024
d623549
feat: add new site text for quotation completion and update template …
MartinPaulEve Sep 21, 2024
43d6a36
feat: replace static text with dynamic tags in new_order_complete.htm…
MartinPaulEve Sep 21, 2024
62a1a65
feat: replace static text with dynamic tags in order_complete.html an…
MartinPaulEve Sep 21, 2024
f73e5ff
fix: correct static file path quotes in order_complete.html
MartinPaulEve Sep 21, 2024
17febfc
fix: Order complete moved to get_site_text
MartinPaulEve Sep 21, 2024
30dc221
feat: replace static text with dynamic tags in order form template an…
MartinPaulEve Sep 21, 2024
1a43ca3
feat: replace static text with dynamic tags in order_provisional.html…
MartinPaulEve Sep 21, 2024
e640f2c
fix: correct static file path quotes in order_provisional.html template
MartinPaulEve Sep 21, 2024
19651f9
feat: replace static text with dynamic tags in order_provisional.html…
MartinPaulEve Sep 21, 2024
3754b6f
refactor: Simplify package name formatting in order_provisional.html
MartinPaulEve Sep 21, 2024
d0ab0c6
feat: replace static text with dynamic tags in add_document.html and …
MartinPaulEve Sep 21, 2024
d2eace8
fix: correct JSON syntax by adding missing comma after last object in…
MartinPaulEve Sep 21, 2024
d80d5c4
feat: replace static text with dynamic tags in add_document.html and …
MartinPaulEve Sep 21, 2024
20eda39
fix: correct JSON syntax by adding missing commas in site_text_3.json
MartinPaulEve Sep 21, 2024
8d7ecfe
fix: correct JSON syntax in fixtures/site_text_3.json by adding missi…
MartinPaulEve Sep 21, 2024
c996cbb
fix: Replace static text with dynamic tags in list_documents.html and…
MartinPaulEve Sep 21, 2024
df618b1
fix: documents page moved to get_site_text
MartinPaulEve Sep 21, 2024
abc7fe9
fix: documents page moved to get_site_text
MartinPaulEve Sep 21, 2024
b866d02
fix: dedupe fixture and reorder
MartinPaulEve Sep 21, 2024
7795d92
feat: replace static text with dynamic tags in view_basket_desktop.ht…
MartinPaulEve Sep 21, 2024
b481d2c
fix: correct search/replace block for duplicate offers text in view_b…
MartinPaulEve Sep 21, 2024
c35aa98
fix: redo fixture and package.html
MartinPaulEve Sep 21, 2024
c6202ae
feat: replace static text with dynamic tags in view_basket_mobile.htm…
MartinPaulEve Sep 21, 2024
8301459
feat: add contract link text and update alt attributes in mobile bask…
MartinPaulEve Sep 21, 2024
5f1ec6f
feat: replace static text with dynamic tags in view_basket_mobile.htm…
MartinPaulEve Sep 21, 2024
f279b82
fix: convert basket elements to get_site_text
MartinPaulEve Sep 21, 2024
fc3b8de
feat: replace static text with dynamic tags in list_package_form_elem…
MartinPaulEve Sep 21, 2024
de96477
fix: convert package form_elements to get_site_text
MartinPaulEve Sep 21, 2024
aafd6bb
feat: replace static text with dynamic tags in contacts.html and upda…
MartinPaulEve Sep 21, 2024
dffb1f4
feat: add new site text entries for form elements, contacts managemen…
MartinPaulEve Sep 21, 2024
e1e2bbc
feat: replace static text with dynamic tags in create_package.html an…
MartinPaulEve Sep 21, 2024
883f46a
feat: replace static text with dynamic tags in new_edit_standard_atte…
MartinPaulEve Sep 21, 2024
26aa908
feat: replace static text with dynamic tags in package.html and updat…
MartinPaulEve Sep 21, 2024
9cd82fe
feat: replace static text with dynamic tags in standards.html and upd…
MartinPaulEve Sep 21, 2024
9a5256f
feat: replace static text with dynamic tags in start_package.html and…
MartinPaulEve Sep 21, 2024
cea32c1
fix: convert package manage to get_site_text
MartinPaulEve Sep 21, 2024
4e889d2
feat: replace static text with dynamic tags in media files template a…
MartinPaulEve Sep 21, 2024
2f8f400
feat: replace static text with dynamic tags in media files template a…
MartinPaulEve Sep 21, 2024
235b39d
feat: replace static text with dynamic tags in media files template a…
MartinPaulEve Sep 21, 2024
fd8f7f9
fix: convert package media to get_site_text
MartinPaulEve Sep 21, 2024
555d9a7
feat: replace static text with dynamic tags in approval.html and upda…
MartinPaulEve Sep 22, 2024
0d2ae2a
feat: replace static text with dynamic tags in list_meta_packages.htm…
MartinPaulEve Sep 22, 2024
a9ee693
feat: replace static text with dynamic tags in meta_package.html and …
MartinPaulEve Sep 22, 2024
0c360b7
fix: convert package staff to get_site_text
MartinPaulEve Sep 22, 2024
9ce1a0c
feat: replace static text with dynamic tags in login template and upd…
MartinPaulEve Sep 22, 2024
b0efce7
feat: replace static text with dynamic tags in password reset templat…
MartinPaulEve Sep 22, 2024
aee9601
fix: correct static template tag quotes in password reset complete HT…
MartinPaulEve Sep 22, 2024
0fc31f1
feat: replace static text with dynamic tags in password reset templat…
MartinPaulEve Sep 22, 2024
0dba362
fix: correct static file paths in password reset confirmation template
MartinPaulEve Sep 22, 2024
efafb6e
feat: replace static text with dynamic tags in password reset templat…
MartinPaulEve Sep 22, 2024
702fea9
style: Fix use of double quotes in static image source in password re…
MartinPaulEve Sep 22, 2024
1d5620a
feat: replace static text in password reset email template with dynam…
MartinPaulEve Sep 22, 2024
4b61d85
feat: replace static text with dynamic tags in password reset form an…
MartinPaulEve Sep 22, 2024
6f73f76
style: Ensure consistent quotes for static file paths in password res…
MartinPaulEve Sep 22, 2024
60f52da
fix: update password reset form to use consistent site text retrieval
MartinPaulEve Sep 22, 2024
0c928e9
feat: replace static text with dynamic tags in password reset form an…
MartinPaulEve Sep 22, 2024
f0b23e9
fix: convert registration app to get_site_text
MartinPaulEve Sep 22, 2024
7484725
feat: replace static text with dynamic tags in buttons.html and updat…
MartinPaulEve Sep 22, 2024
0d8bdf9
feat: replace English text with dynamic tags in highlights.html and u…
MartinPaulEve Sep 22, 2024
e322259
feat: replace static text with dynamic tags in latest_publications.ht…
MartinPaulEve Sep 22, 2024
b586dd5
feat: replace static English text with dynamic tags in meta_package.h…
MartinPaulEve Sep 22, 2024
e7c163b
feat: replace static text with dynamic tags in more_info.html and upd…
MartinPaulEve Sep 22, 2024
5e24c99
feat: replace static text with dynamic tags in pricing template and u…
MartinPaulEve Sep 22, 2024
872675f
feat: replace static text with dynamic tags in summary.html and updat…
MartinPaulEve Sep 22, 2024
8faef18
fix: convert summary root app to get_site_text
MartinPaulEve Sep 22, 2024
06d82a9
feat: replace static text with dynamic tags in summary.html and updat…
MartinPaulEve Sep 22, 2024
bfbfc6a
fix: convert summary desktop app to get_site_text
MartinPaulEve Sep 22, 2024
0462e4b
feat: replace static text with dynamic tags in summary.html and updat…
MartinPaulEve Sep 22, 2024
eebba67
fix: convert summary mobile app to get_site_text
MartinPaulEve Sep 22, 2024
fe188c5
feat: replace static text with dynamic tags in advanced_search.html a…
MartinPaulEve Sep 22, 2024
e525484
feat: update advanced search template to use site text for localization
MartinPaulEve Sep 22, 2024
35e9520
feat: add collective catalogue site text and update references in adv…
MartinPaulEve Sep 22, 2024
e6b5d46
feat: replace static text with dynamic tags in advanced_search.html a…
MartinPaulEve Sep 22, 2024
f71b199
feat: add new site text entries for date filters in advanced Thoth se…
MartinPaulEve Sep 22, 2024
6af028a
feat: replace static English text with dynamic tags in all.html and u…
MartinPaulEve Sep 22, 2024
d57d3b3
fix: begin work on converting Thoth to get_site_text
MartinPaulEve Sep 22, 2024
2b127d4
feat: replace static text with dynamic tags in book.html and update s…
MartinPaulEve Sep 23, 2024
721c854
feat: replace static text with dynamic tags in initiative.html and up…
MartinPaulEve Sep 23, 2024
67c6e0d
feat: replace static text with dynamic tags in thoth_featured.html an…
MartinPaulEve Sep 23, 2024
8f386cc
feat: replace static text with dynamic tags in thoth_searches.html an…
MartinPaulEve Sep 23, 2024
4df4fea
feat: replace static text with dynamic tags in thoth_sync.html and up…
MartinPaulEve Sep 23, 2024
ded6e6c
fix: convert Thoth to get_site_text
MartinPaulEve Sep 23, 2024
866695d
feat: replace static text with dynamic tags in login template and upd…
MartinPaulEve Sep 23, 2024
c050df0
fix: convert two_factor to get_site_text
MartinPaulEve Sep 23, 2024
148d66f
feat: replace static English text with dynamic tags in vocab list tem…
MartinPaulEve Sep 23, 2024
f618bf8
feat: replace static text with dynamic tags in new_edit.html and upda…
MartinPaulEve Sep 23, 2024
357f8c6
feat: replace static text with dynamic tags in new_edit_standard.html…
MartinPaulEve Sep 23, 2024
a5a8948
feat: replace static text with dynamic tags in new_edit_subjects.html…
MartinPaulEve Sep 23, 2024
22309a4
feat: replace static text with dynamic tags in standards_list.html an…
MartinPaulEve Sep 23, 2024
52882df
feat: add new site text for adding standards for attestation
MartinPaulEve Sep 23, 2024
39d7065
feat: replace static English text with dynamic tags in subjects.html …
MartinPaulEve Sep 23, 2024
6b20ddc
fix: convert vocab app to get_site_text
MartinPaulEve Sep 23, 2024
014fd1d
feat: replace static text in 403.html with dynamic tags and update si…
MartinPaulEve Sep 23, 2024
438a76b
fix: remaining templates to get_site_text
MartinPaulEve Sep 23, 2024
a0e5818
fix: dedupe and reorder fixture
MartinPaulEve Sep 23, 2024
06e47ed
fix: missing JSON variables
MartinPaulEve Sep 23, 2024
7c330c8
fix: take out incorrect {{_}} templates in JSON fixture
MartinPaulEve Sep 25, 2024
cef36d0
Drop rich text from translations.
ajrbyers Sep 30, 2024
de06ebc
Make site text keys longer.
ajrbyers Sep 30, 2024
415eb80
Completes previous commit.
ajrbyers Sep 30, 2024
d969665
Adds site text views. HTMX BABAY!
ajrbyers Sep 30, 2024
71c8841
Fix fixtures
MartinPaulEve Nov 6, 2024
0c48b8a
Fix fixtures and remote edit site text
MartinPaulEve Nov 6, 2024
28cf350
Merge pull request #15 from COPIM/model-translations-wip
MartinPaulEve Nov 12, 2024
cbac5f5
Tweaked wroding
ajrbyers Nov 6, 2024
d7000d8
Adds translation options and warning for cms pages edit_or_update.
ajrbyers Nov 25, 2024
69095a0
Adds tweaks to remaining forms.
ajrbyers Nov 25, 2024
d4dd9a7
Update Thoth client to page and use books route
MartinPaulEve Dec 13, 2024
6651274
Feature: add basic term length handling
MartinPaulEve Nov 12, 2024
e167f12
Feat: more handling of order terms in documents etc
MartinPaulEve Nov 12, 2024
be8330b
More work on term lengths
MartinPaulEve Nov 14, 2024
bbe456c
Further text enhancements for multi-year term
MartinPaulEve Nov 15, 2024
b3182a3
add fixtures
MartinPaulEve Dec 13, 2024
efa7667
Merge pull request #17 from COPIM/model-translations-wip
MartinPaulEve Dec 16, 2024
0d23980
fix fixture
MartinPaulEve Dec 16, 2024
6d257aa
fix fixture
MartinPaulEve Dec 16, 2024
8a1d322
fix fixture
MartinPaulEve Dec 16, 2024
49cba13
fix fixture
MartinPaulEve Dec 16, 2024
df69f2b
Catch AttributeError
MartinPaulEve Dec 16, 2024
ff9e593
New fixture
MartinPaulEve Dec 16, 2024
a85f059
New fixture
MartinPaulEve Dec 16, 2024
633be0f
Add CSV download
MartinPaulEve Dec 16, 2024
ab38c31
Fix typo
MartinPaulEve Dec 17, 2024
0a1b699
Fix to crash
MartinPaulEve Dec 17, 2024
22e0b9d
Adds frontend item to site texts
ajrbyers Apr 14, 2025
cc1a2f0
Fix typo
ajrbyers Apr 25, 2025
4261af9
Fixes translations on the page or update views.!
ajrbyers May 19, 2025
608b740
feat(footer): change twitter to bluesky
MartinPaulEve Jun 27, 2025
07835d3
Adds some new translation work
ajrbyers Oct 20, 2025
2e8d4cc
feat(dev-dockerfile): add dev dockerfile to root
MartinPaulEve Nov 28, 2025
fed264f
build(git): exclude venv from git
MartinPaulEve Nov 28, 2025
3f733fd
feat(api): add rest api endpoint for session with basket info
MartinPaulEve Nov 28, 2025
b2ce60e
fix(translation): unmark incorrect terms as frontend
MartinPaulEve Dec 2, 2025
d9a2aee
fix(translation): add new fields translating "your currency" and "to"
MartinPaulEve Dec 2, 2025
6574d8f
fix(footer): update documents link
MartinPaulEve Dec 19, 2025
5053a8d
Added some fixed
ajrbyers Jan 19, 2026
aa16bbb
feat: adds a fast basket
ajrbyers Feb 12, 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
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ obc_db.sqlite3
dev_settings.py
settings.py

.venv

# C extensions
*.so

Expand Down Expand Up @@ -196,4 +198,6 @@ hosts.cfg
deploy_key.pub
deploy_key_ed.pub

src/currency/**
src/currency/**
src/intrepid/prod_settings.py
.aider*
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

## 2023-11-04
* Typo fixes
* Remove all links to create new account/hide the backend dashboard

## 2023-10-28
* Fixes to Thoth sync and orphaned works
* Fixes to stats on dashboard
7 changes: 7 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright © 2023 Open Book Collective

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
54 changes: 54 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,57 @@ Intrepid makes use of Fluid Permissions that lets you pair a view with a group a
one = Site.objects.all()[0]
one.name = 'Open Book Collective'
one.save()

# Model Translations
This is current a WIP. Here are instructions for setting up model translations.

## Models
Limited, currently, to the SiteText model. This will need to be expanded to cover all texts that appear on the front end.

## Languages
Initially I've enabled English and German, this can be extended in the future.

## Fallback
English is the designated fallback language, it will display when a user has not specified another language. Text must also be inserted in English before other languanges.

## Setup
To setup model translations follow these instructions:

### Requirements
Modeltranslations is now a requirement so ensure you run:

```shell
pip3 install -r requirements.txt
```

### Settings
Add the following to settings.py

```python

INSTALLED_APPS = [
'modeltranslation',
...
]

# LANGUAGES
LANGUAGE_CODE = 'en'
USE_I18N = True
gettext = lambda s: s
LANGUAGES = (
('de', gettext('German')),
('en', gettext('English')),
)
MODELTRANSLATION_DEFAULT_LANGUAGE = 'en'
MODELTRANSLATION_LANGUAGES = ('en', 'de')
MODELTRANSLATION_FALLBACK_LANGUAGES = ('en',)
MODELTRANSLATION_PREPOPULATE_LANGUAGE = 'en'
```

### Migrations
Once this is added to your settings.py run the following:

```shell
python3 src/manage.py migrate
python src/manage.py update_translation_fields
```
38 changes: 38 additions & 0 deletions docker-compose-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
services:
postgres:
image: postgres:12.2-alpine
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password}
POSTGRES_DB: postgres
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
ports:
- "5432:5432"
networks:
- postgres
restart: unless-stopped

pgadmin:
image: dpage/pgadmin4:4.21
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
volumes:
- pgadmin:/root/.pgadmin
ports:
- "5050:80"
networks:
- postgres
depends_on:
- postgres
restart: unless-stopped

networks:
postgres:
driver: bridge

volumes:
postgres:
pgadmin:
Loading