Commit graph

77 commits

Author SHA1 Message Date
f4522bdddd fix pipeline 2025-03-01 16:33:27 -05:00
ab4283dd5d fix tests
modified:   Makefile
2025-03-01 16:25:56 -05:00
256f2e6a1d modified: Makefile 2025-03-01 15:57:32 -05:00
c567e2334d modified: Makefile 2025-03-01 15:46:09 -05:00
65f1d2cbed modified: Makefile 2025-03-01 15:28:27 -05:00
710588d007 remarkbox 1.0.0
modified:   .gitignore
	modified:   .gitlab-ci.yml
	modified:   Makefile
	modified:   README.rst
	modified:   setup.py
2025-03-01 15:22:50 -05:00
5a769e3e02 modified: README.rst
modified:   setup.py
2025-03-01 12:48:05 -05:00
ea932a56fe modified: README.rst 2025-03-01 11:26:06 -05:00
812f67478a Add details to docs on package install
modified:   README.rst
2025-03-01 11:20:19 -05:00
64566d8b95 modified: README.rst 2025-03-01 11:14:07 -05:00
8c4bcb7f37 add section to docs about new packages
modified:   Makefile
	modified:   README.rst
2025-03-01 11:11:42 -05:00
5449b4872f fix deploys
modified:   .gitlab-ci.yml
	modified:   Makefile
2025-03-01 10:18:15 -05:00
cedb69f798 Update .gitlab-ci.yml file install themes manually. 2025-03-01 15:04:13 +00:00
a83a85a8a9 remarkbox 0.0.11
modified:   requirements.py3.txt
	modified:   setup.py
2025-03-01 09:54:24 -05:00
1657c42233 0.0.11
modified:   .gitignore
	modified:   setup.py
2025-03-01 09:38:47 -05:00
f34d503522 Merge branch 'WSL' into 'main'
Add requirements-wsl.txt for WSL users and Updated the ReadMe

See merge request engineering/remarkbox/remarkbox!5
2025-03-01 13:50:52 +00:00
4e40329ed3 Update README.rst 2025-02-28 10:39:46 +00:00
825305219f Update README.rst 2025-02-24 11:11:44 +00:00
5dcd60cab2 Update README.rst for new environment setup
- Added a step to activate the virtual environment before creating tables.
2025-02-24 10:48:52 +00:00
7df786100b Update requirements-wsl.txt 2025-02-24 10:08:39 +00:00
a28ab0e7a0 Add requirements-wsl.txt for WSL users
- This file contains the specific dependencies required for running the application in Windows Subsystem for Linux (WSL).
- Adding this file ensures that developers working on WSL can easily set up their environment and install all necessary packages.
- This improves consistency across development environments and reduces setup time for new contributors or team members.
2025-02-24 10:04:24 +00:00
77ebb373e5 let development be insecure cookies
modified:   development.ini
	modified:   remarkbox/views/authentication.py
2025-02-06 17:41:24 -05:00
64593125b7 Update .gitlab-ci.yml file 2025-01-10 12:18:34 +00:00
41cb325e94 Fix gitlab pipeline per @FireIsGood
modified:   .gitlab-ci.yml
2025-01-09 13:25:46 -05:00
fd19599893 contribute & formatter suggestion & public domain.
modified:   README.rst
2025-01-09 12:50:20 -05:00
84fabcd1c0 Merge branch 'development-smtp-solution' into 'main'
when in development log SMTP errors & email

Closes #3

See merge request engineering/remarkbox/remarkbox!4
2025-01-09 14:08:19 +00:00
17ce4b5029 when in development log SMTP errors & email
modified:   Makefile
	modified:   README.rst
	modified:   remarkbox/__init__.py
	modified:   remarkbox/lib/mail.py
2025-01-09 09:02:00 -05:00
4863c4f988 Merge branch 'css-related-changes' into 'main'
feat: basic style overhaul

See merge request engineering/remarkbox/remarkbox!3
2025-01-09 13:13:57 +00:00
f5c017c081 feat: basic style overhaul 2025-01-09 13:13:57 +00:00
3114737c40 Merge branch 'main' into 'main'
Fix README spelling/formatting

See merge request engineering/remarkbox/remarkbox!2
2025-01-09 13:09:36 +00:00
50a633e2be
fix spelling 2024-12-22 05:16:12 -08:00
fa80a2f2d3
fix inconsistent Description List markup 2024-12-22 05:15:52 -08:00
5e181c9081 fix back button when commenting logged out
modified:   remarkbox/__init__.py
2024-10-13 07:12:38 -04:00
73faf89fed Optimize target verification by reducing unnecessary updates
- Modified verify_target method to skip updating the target if the NamespaceRequest is already verified and the last verification was within the past day.
- This change reduces unnecessary modifications to the target, improving efficiency and maintaining data integrity.
- Added logging to indicate when target verification is skipped due to verification status.

hopefully this:

* lowers cpu usage, although it can't hurt.
* reduces database churn and locking.

	modified:   remarkbox/models/namespace_request.py
2024-10-06 19:35:29 -04:00
41ab711fe3 Optimize scraping logic by skipping verified NamespaceRequests
- Added logic to skip scraping if a NamespaceRequest is already verified and the last scrape was within the past day.
- This change reduces unnecessary scraping, improving efficiency and reducing load on target servers.
- Added logging to indicate when a scrape is skipped due to verification status.

	modified:   remarkbox/models/namespace_request.py
2024-10-06 18:41:49 -04:00
c5453d632d Enhance scrape_target method to handle HTTP redirects
- Implemented logic to follow HTTP redirects up to a specified maximum depth (max_redirects) in the scrape_target method.
- Added logging to track each redirect step, providing better visibility into the redirect chain.
- Set a limit on the number of redirects to prevent infinite loops in case of circular redirects.
- This change ensures that the UUID is checked on the final destination page, improving the accuracy of the scraping process.

	modified:   remarkbox/models/namespace_request.py
2024-10-06 18:36:20 -04:00
83adeb0a02 Integrate miniuri library for URI parsing in NamespaceRequest
- Replaced custom URI parsing logic with the miniuri library to simplify and standardize URI handling.
- Updated the _get_domain_from_target method to use miniuri for extracting the hostname from target URLs.
- This change enhances code readability and leverages miniuri's robust URI parsing capabilities.

	modified:   remarkbox/models/namespace_request.py
2024-10-06 16:26:36 -04:00
eb93c955e5 Implement non-blocking lock to prevent concurrent scrapes for NamespaceRequest
- Added a threading lock to the NamespaceRequest class to ensure only one scrape operation is performed at a time for a given request.
- Used non-blocking lock acquisition to allow early exit if a scrape is already in progress, reducing redundant requests.
- Ensured lock release in a finally block to maintain proper lock management.
- This change aims to mitigate potential DoS issues by preventing multiple concurrent scrapes and reducing the risk of rate-limiting by target servers.

	modified:   remarkbox/models/namespace_request.py
2024-10-06 10:01:59 -04:00
186e74e69e new file: remarkbox/scripts/alembic/versions/14a6a35940c7_new_field_for_namespace_request_cache.py 2024-10-06 09:17:42 -04:00
0b0768fea8 Address DOS when scraping busy namespaces for owner requests
modified:   remarkbox/models/namespace_request.py
2024-10-06 09:10:57 -04:00
e4429951db Always link to the slug even if it's empty string.
modified:   remarkbox/models/node.py
	modified:   remarkbox/templates/home.j2
2024-02-05 19:23:45 -05:00
da39486af2 Update file development.ini 2023-10-01 18:35:56 +00:00
043df68756 modified: remarkbox/static/css/common.css 2023-08-19 11:27:02 -04:00
4e901dfcf5 remove broken stripe test
modified:   remarkbox/tests/test_views.py
2023-08-19 11:14:45 -04:00
7d46b0acb7 try to pin to old version of stripe
modified:   requirements.txt
2023-08-19 11:06:28 -04:00
857e66a645 modified: static/css/common.css 2023-08-19 10:54:35 -04:00
318b280dd2 Update remarkbox/templates/snippets/snippets.j2 2023-04-27 14:37:57 +00:00
47f0a907d1 Typo
modified:   views/authentication.py
2023-04-26 14:02:30 -04:00
7a3d8aed0f allow users with + in email to authenticate
we need to urlencode the email address

	modified:   remarkbox/views/authentication.py
2023-04-26 13:46:55 -04:00
7dd16fac1b Update remarkbox/models/user.py 2023-04-26 16:04:39 +00:00