|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | | |/  
| | |   
| | |   
| | |   
| | |   
| | | | This commit adds some basic information about the github bootcamp.
More information should and will be added later, but this adds some
of the basics and adds it to the sidebar. | 
| | | | |  | 
| | |/ |  | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | | Python Prompt Toolkit is added as an approved framework.
Unicurses and nurses are added as additional frameworks you can use with
curses, although it's a use at your own risk and no promises are made
for functionality or stability. | 
| | | |  | 
| | | 
| | 
| | | Co-authored-by: Joe Banks <[email protected]> | 
| | | |  | 
| | | |  | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | - Link detail section in environment variables section.
- Update old static path from pre-Docker environment times and mention the
  Docker setup.
diff --git
a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
index 8c21b5b0..24227f24 100644 ---
a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
+++
b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md @@
-79,6 +79,9 @@ SECRET_KEY=suitable-for-development-only STATIC_ROOT=staticfiles
```
+The [Configuration in Detail](#configuration-in-detail) section contains
+detailed information about these settings.
+
 #### Notes regarding `DATABASE_URL`
 - If the database is hosted locally i.e. on the same machine as the webserver, then use `localhost` for the host. Windows and macOS users may need to use the [Docker host IP](../hosts-file/#windows) instead.
@@ -173,5 +176,6 @@ The website is configured through the following environment variables:
 - **`SECRET_KEY`**: The secret key used in various parts of Django. Keep this
   secret as the name suggests! This is managed for you in debug setups.
-- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic` collects
-  static files. Optional, defaults to `/var/www/pythondiscord.com`.
+- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic`
+  collects static files. Optional, defaults to `/app/staticfiles` for the
+  standard Docker deployment. | 
| |/ |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | macOS uses `/var/...` as its temp directory, causing issues with the
hardcoded usage of `/tmp` as the temporary directory. Therefore,
relying on tmp is not  portable. 
Populating the true temporary directory is redundant and may cause more
problems because of nested directories. Move the fake content under a
subdirectory to avoid this issue.
Co-authored-by: MarkKoz <[email protected]> | 
| | |  | 
| |\ |  | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | | A more specific error is raised on higher PostgreSQL versions, for example, as
with the PostgreSQL version running on my local machine. This commit fixes the
error message pattern matching behaviour by adding an optional match to the
detailed error message. | 
| |/  
|   
|   
|   
| | This is later mentioned in the connection string, but in the local setup, the
SQL statement to create the database was missing. | 
| |\ |  | 
| | | |  | 
| | | |  | 
| | |\ |  | 
| | | | |  | 
| | |/ |  | 
| | | 
| | 
| | 
| | | Expires and permanent=false are permitted and tested for. Expires_before also filters the database for permanent=false explicitly | 
| | | 
| | 
| | 
| | 
| | | The check was backwards, enforcing that no results must ever be returned
Relevant tests have been added that actually fetch an infraction with the right times so that I'm sure it's not still broken | 
| | | 
| | 
| | 
| | | If the before time is after the after time, or if both `type` and `types` are specified | 
| | | |  | 
| | | 
| | 
| | 
| | | As this is used in the new bot infraction rescheduler | 
| | | |  | 
| |/ |  | 
| | 
| 
| 
| 
| 
| | Added in wording to clarify why we don't support
the discord .txt, .py, and similar file types even though
it has preview available for them. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| |\ |  | 
| | |\ |  | 
| | | |\ |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | Updates the Python and Sir Lancebot guides to use poetry. Updates the
dependency guide to include poetry, and explain when each dependency
manager should be used. | 
| | | | | |  | 
| | | |/ |  | 
| | | | |  | 
| | | | |  | 
| | | | 
| | | 
| | | 
| | | | This is to reflect the recent changes made to the server rules. | 
| | | | |  | 
| | | |\  
| | | | 
| | | | 
| | | | | swfarnsworth/rules_update | 
| | | | | |  | 
| | |\ \ \ |  | 
| | | | | | |  | 
| | | | | | 
| | | | | 
| | | | | | Co-authored-by: ToxicKidz <[email protected]> | 
| | |_|_|/  
|/| | |   
| | | |   
| | | |   
| | | | | Drops mentions of black, renames mentions of precommit to pre-commit,
and rewords statements that have caused confusion. | 
| |\ \ \ \ |  |