Commit graph

207 commits

Author SHA1 Message Date
fa5c3aaa7b
refactor: switch to pandas for data extraction
Some checks are pending
Docker / build (push) Waiting to run
Replaced pygsheets with pandas and removed dependency on Google Sheets for data extraction, leveraging local spreadsheet files instead. This improves reliability and simplifies setup by avoiding external API dependencies. Updated code to handle data conversion and string checks ensuring data consistency. Adjusted settings to accommodate new input file.
2024-11-13 10:08:39 +01:00
1b73d9f8b9
chore(Dockerfile): update base image to python:3.12-slim
Some checks are pending
Docker / build (push) Waiting to run
Switch to a lighter, more recent Python 3.12-slim base image to reduce image size and leverage the latest Python features and improvements. This change removes the need for additional locale configuration, simplifying the Dockerfile.
2024-11-12 14:49:33 +01:00
1fbcf79441
fix(charts): add TODO for Reddit API placeholder
Some checks are pending
Docker / build (push) Waiting to run
Introduced a TODO comment indicating the need to fix the current use of the Reddit API in `synchronous.py`. The placeholder set due to the unavailability of `PushshiftAPI` ensures the application avoids runtime errors. This change communicates the need for further attention to this part of the codebase.
2024-11-12 14:40:05 +01:00
ef2875d81f
fix(settings): prevent redundant DB move during setup
Some checks are pending
Docker / build (push) Waiting to run
Ensures database move only occurs if the target does not exist, preventing unnecessary overwrites and potential data loss.
2024-11-12 14:25:33 +01:00
9d99063846
refactor(settings): use shutil.move for file relocation
Some checks are pending
Docker / build (push) Waiting to run
Replaced `Path.rename` with `shutil.move` to handle the database file relocation. This change accommodates cross-filesystem moves, improving robustness in environments where the source and destination may reside on different filesystems. No changes to database access or usage logic have been made.
2024-11-12 14:13:52 +01:00
8e48bce180
refactor: apply consistent string styling and error handling
Some checks are pending
Docker / build (push) Waiting to run
Applied consistent use of double quotes for strings across the codebase to improve readability and maintain consistency. Updated exception handling to explicitly catch specific exceptions for better error management. Refactored context and view functions for cleaner and more structured output. Removed unused imports and unnecessary comments to streamline the code.
2024-11-12 14:09:33 +01:00
7cc291d758
fix: address formatting and configuration inconsistencies
Some checks are pending
Docker / build (push) Waiting to run
- Add '.vscode/' to '.gitignore' to exclude editor settings.
- Improve readability by converting single quotes to double quotes and reformatting long lines in Django settings and URLs.
- Relocate the SQLite database path to a more standard location.
- Enhance environment flexibility by adding dynamic handling for allowed hosts.
- Remove deprecated database dependency in requirements.

These updates enhance code clarity and maintainability, and prepare the codebase for potential migration to a more dynamic server configuration setup.
2024-11-12 13:45:40 +01:00
1465c63e37
chore: loosen version restrictions on Google deps
Some checks are pending
Docker / build (push) Waiting to run
Reduced version restrictions for several Google-related packages, changing them to allow any version less than 3.0.0. This change provides more flexibility and avoids potential dependency conflicts with future updates. Consider revisiting the need to pin dependencies so strictly.
2024-11-12 13:25:39 +01:00
8edb77bc52
chore(deps): update and clean up requirements
Some checks are pending
Docker / build (push) Waiting to run
Updated several library versions to their latest stable releases and added TODO comments for future version upgrades. Cleaned up the dependencies list by removing some indirect dependencies. Noted potential improvements regarding dependency pinning and project dependency structure, including suggestions for less strict pinning and reevaluating certain dependencies. Consider cleaning up obsolete or redundant dependencies in further refinements.
2024-11-12 13:22:12 +01:00
7012c1a2b1
feat(admin): expand model registrations
Some checks are pending
Docker / build (push) Waiting to run
Added several additional models to the Django admin interface, enhancing manageability and oversight for admins. This allows for streamlined administration of Dominance, P2Pool, Rank, Sfmodel, Social, and Withdrawal models. This update supports improved efficiency in monitoring and editing these entities.
2024-11-12 10:33:47 +01:00
7ada7f9d26
refactor(auth): use is_superuser check for admin actions
Some checks are pending
Docker / build (push) Waiting to run
Replaced specific username checks for "Administrator" with `is_superuser`
attribute to determine admin access. This improves security and flexibility
by leveraging Django's built-in permissions and roles system, facilitating
maintenance and potential role adjustments without code changes.
2024-11-12 08:32:48 +01:00
d87ed7bccc
feat(admin): register Coin model in admin site
Some checks are pending
Docker / build (push) Waiting to run
Add the Coin model to the Django admin interface for easier management of coin data through the admin panel. This provides administrators with a graphical interface to directly view, edit, and maintain instances of the Coin model within the application.
2024-11-12 08:15:19 +01:00
bfba2be97a
chore(deps): update requests, six, and urllib3 versions
Some checks are pending
Docker / build (push) Waiting to run
Upgraded requests to 2.32.3, six to 1.16.0, and urllib3 to 2.2.3 to incorporate the latest security patches and performance improvements. These updates ensure compatibility with newer libraries and enhance the overall stability of the application. No breaking changes are expected.
2024-11-12 08:00:51 +01:00
c9fc6942b0
chore(deps): update package versions in requirements.txt to at least build on Python 3.12
Some checks are pending
Docker / build (push) Waiting to run
Upgraded various dependencies to their latest versions, including aiohttp, frozenlist, multidict, pandas, python-dateutil, and yarl. These updates assure compatibility with Python 3.12 and may include performance enhancements and bug fixes.
2024-11-12 07:50:32 +01:00
oblak
39c78da89a
Create docker-publish.yml
Some checks are pending
Docker / build (push) Waiting to run
2024-11-12 01:24:22 +01:00
w
e35c85dac4 fix spacing and typos 2024-11-12 01:19:52 +01:00
w
795430c0ba add readme 2024-11-12 00:00:51 +01:00
w
bec3f6095b organize files to use with Docker 2024-11-11 23:58:39 +01:00
anon
ce0a570d57 fix 2024-02-28 15:35:49 -03:00
anon
f8e57bc690 changed start page 2024-02-28 15:33:58 -03:00
Morpheus
fbb84b2227 removed trocador 2024-02-09 09:25:56 -03:00
Morpheus
1a8a7103c3 removed socials 2023-12-19 23:50:33 -03:00
Morpheus
ab1a22127b removed a lot of stuff 2023-10-15 13:45:57 -03:00
Morpheus
8a27c39dc4 changed dates 2023-10-15 12:37:55 -03:00
cryptomorpheuss
0ecf3ce394
Update base.html 2023-10-12 19:43:47 -03:00
cryptomorpheuss
793a325ec1
Update settings.py 2023-10-10 23:14:26 -03:00
cryptomorpheuss
bc67d6e5e4
Update settings.py 2023-10-10 23:13:18 -03:00
cryptomorpheuss
7240e1d7ec
Update settings.py 2023-10-10 23:12:02 -03:00
cryptomorpheuss
594ead1b4a
Update settings.py 2023-10-10 23:08:05 -03:00
cryptomorpheuss
0980899e2e
Update settings.py 2023-10-10 23:06:10 -03:00
algernonprotocol
ec43116823
Update settings.py 2023-10-10 10:38:03 -03:00
algernonprotocol
4411e3e534
Update settings.py 2023-10-10 10:37:16 -03:00
algernonprotocol
282eaa2c36
Update settings.py 2023-10-10 10:36:27 -03:00
anon
c1fb222dea changed settings 2023-10-10 10:33:48 -03:00
anon
b04600d555 changed settings 2023-10-10 10:21:32 -03:00
Morpheus
fd6b630e1e fixed problem with cmc ranking 2023-10-09 00:44:48 -03:00
Morpheus
8be88e702b added a function 2023-10-08 18:39:47 -03:00
Morpheus
f46b4177e8 fix 2023-10-03 22:02:34 -03:00
Morpheus
1f057db4d8 fixed stuff 2023-10-03 22:00:29 -03:00
Morpheus
1482082dcf fixing bugs 2023-10-01 01:57:53 -03:00
Morpheus
34318c5348 removed dero check 2023-06-22 09:01:17 -03:00
Morpheus
41f9f9f683 minor change 2023-06-21 22:40:09 -03:00
Morpheus
6bdc0e4fb5 fixed some things 2023-06-18 23:26:08 -03:00
Morpheus
8db8746782 fixed 2023-06-18 23:10:58 -03:00
Morpheus
2d84fa4266 fixed 2023-06-18 23:08:02 -03:00
Morpheus
e0145e1d28 fixed 2023-06-18 23:06:14 -03:00
Morpheus
51cee68ca4 fixed some things 2023-06-18 22:49:59 -03:00
Morpheus
41125ca9d3 removed monerotopia 2023-05-09 22:43:50 -03:00
Morpheus
f54fca23a5 added stealthex 2023-04-12 12:59:48 -03:00
Morpheus
dbdbbe4249 fixed dates 2023-03-23 08:25:45 -03:00