Mark Street
6ac27e6b5f
Add timeout to github oauth ( #1727 )
2025-11-05 09:35:50 +00:00
Ethan Roseman
50a2b836b9
Migrate from poetry/black to uv/ruff ( #1673 )
...
* Migrate from poetry/black to uv/ruff
* fixes
* path change
* path pt 2
* ah
* mkst tweaks (#1674 )
* mkst tweaks
* tweaks++
* doh
* tweak harder
---------
Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com >
2025-09-22 19:23:55 +09:00
Mark Street
1cb3b5cdcb
Don't store access_token in the db ( #1571 )
2025-06-02 10:27:14 +01:00
Ethan Roseman
36edf529ca
Try to fix the overabundance of profiles ( #1370 )
...
* Try to fix the overabundance of profiles
and dep updates
* thanksh, stubs
* stop using deleted password generation method in tests
* Fix silly test stuff
* fix filtering
2024-10-27 22:40:03 +09:00
Ethan Roseman
139ac9ff73
Stop relying on GitHub's API so much ( #956 )
...
* Move some github details into model
* Nevermind - just don't rely on the API at all lol
* comment
* tidying
* remove unneeded mock
* remove the 'small' profile
2024-02-09 21:50:40 +09:00
Mark Street
b792d4d517
Attempt to fix 500 on missing github user ( #949 )
...
* Attempt to fix 500 on missing github user
* mypy
* mycry
2024-02-05 04:35:21 +09:00
Ethan Roseman
da7869adf6
Update to Django 5 ( #931 )
...
* Update to Django 5
* Ah yes, the classic yaml number problem
* Typechecking issues
2023-12-17 20:56:07 +09:00
Ethan Roseman
4ae89872e2
Presets in the DB ( #897 )
...
* Organize tests, update settings, backend deps
* Remove project import code from backend
* Remove some frontent project code
* more progress, project cleanup
* more preset work
* .
* upd8z
* Admins can delete scratches & preset migration
* bye, source presets
* fixes & changes
* Preset in admin panel & rename migration
* mypy
* Fix perset viewset & tests
* Change compilers hash files
* test annotations so Windows doesn't run them
* Mark nits
* Preset auto ID field
* scratch as reference (1/?)
* backend fixes to preset (2/3)
* Use preset ID instead of name in frontend
* update frogger preset
* I broke one of the ten commandments of react
* finishing touches (3/3 lol)
* Update serializers.py
2023-10-27 23:40:59 +09:00
Ethan Roseman
23a3087a38
Sentry issue fixes ( #900 )
...
* Catch login failures and raise an exception
* Trying to fix library serialization crap (not working)
* Use validated_data instead of data
* Promments
2023-10-26 03:37:38 +09:00
ConorB
aded2ee902
Fix server error upon processing user with revoked github token ( #783 )
...
* Don't use an auth token to fetch details if we don't have to
* Try to use the user token as much as possible
* Force users with bad tokens to log in again
* Fix invalid token session deletion
* GitHubUser.details shouldn't make network requests
---------
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net >
2023-07-03 21:50:43 +09:00
Alex Bates
5abadc1596
Only request public_repo GitHub scope when making a PR ( #529 )
...
* remove public_repo requirement for login
* request public_repo on pull request create if needed
2022-09-15 10:34:06 +09:00
Matt Kempster
963179a9bf
Allow submitting PRs from scratches ( #391 )
...
* [scratch][projects] Allow submitting PRs from scratches
* Fix up mypy and test
* Move .exists() call to get_dir() in GitHubRepo
* Fix tests
* Minor cleanup
* Frontend lint
* WIP of project function
* Get tests working again
* Move PR stuff to its own viewset
* Reform commit and PR titles
* Fix mypy errors
* Remove breakpoint
* fix
* fix tests
* mypy
* remove suspense from UserAvatarList
* fix tests after mypy
* mypy
* wip pr scratch basket
* implement pr basket
* adjust basket scratch padding
* require public_repo scope
* don't allow function to be added to pr basket twice
* fix pr backend
* only allow matched funcs to be added to pr
* add margin between attempt scratchlist items
* fix mypy issues
* fix eslint issue
* possibly fix test
* pr comments
* fix tests
* remove double import
* fix stylelint
* mock GitHubRepo.get_sha()
Co-authored-by: Alex Bates <alex@nanaian.town >
2022-09-14 13:59:57 +01:00
Ethan Roseman
ce688263e3
Grab new github username on login ( fixes #455 ) ( #506 )
2022-08-11 18:28:10 +09:00
Ethan Roseman
f50b3c32b8
disallow_untyped_defs for mypy ( #477 )
...
* Make mypy happy
* failing tests
* working
* use consistent annotation format
* remove comments
2022-07-03 23:43:59 +09:00
Ethan Roseman
6b1ee90acd
Compiler/platform refactor ( #396 )
...
* foyst
* clang & agbcc
* more
* wii/gc
* more
* fix
* more
* references
* fixes
* CI fix
* nabbed em
* gcc2.7.2kmc
* meowp
* Tweak Dockerfile + other bits (#398 )
* Tweak Dockerfile + other bits
* Capitalise
* Enable/disable compiler downloads via Environment variables
* appease black
* migration
* flags / presets in Compiler
* fixed tests
* /compilers
* mypy cheese
* upd8s
* name
* frontend goodness
* i18n
* cleaners
Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com >
Co-authored-by: Mark Street <streetster@gmail.com >
2022-03-14 02:33:19 +09:00
Alex Bates
f87b93a362
Request OAuth scopes on-demand ( #392 )
...
* request oauth scopes only when server asks
* don't require public_repo
2022-02-23 04:37:45 +09:00
Ethan Roseman
eb7534be0d
Black ( #380 )
...
* Initial format
* action
* git subrepo pull --force backend/asm_differ
subrepo:
subdir: "backend/asm_differ"
merged: "ee239a2b"
upstream:
origin: "https://github.com/simonlindholm/asm-differ "
branch: "main"
commit: "ee239a2b"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
* git subrepo pull --force backend/mips_to_c
subrepo:
subdir: "backend/mips_to_c"
merged: "6704d61f"
upstream:
origin: "https://github.com/matt-kempster/mips_to_c "
branch: "master"
commit: "6704d61f"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
* vscode
* fix
* .
2022-02-20 23:21:38 +09:00
Alex Bates
1968531ca4
Projects MVP ( #292 )
...
Co-authored-by: Matt Kempster <kidpixel@gmail.com >
Co-authored-by: Mark Street <streetster@gmail.com >
2022-02-18 17:48:51 +00:00
Alex Bates
e764bfcebd
split models.py into submodules ( #359 )
2022-02-18 03:47:04 +09:00