63be2521c2
Fix node queries to use namespace_id directly
2025-11-24 09:20:10 -05:00
0fefbbeb41
Fix test issues: use set_role_for_user, add tearDown cleanup, fix namespace references
2025-11-24 09:13:42 -05:00
9b784fa7d1
Add import comments feature with support for WordPress, Disqus, and Graphcomment
...
This feature allows namespace owners to import comments and threads from various
platforms using the blog-to-json tool (https://github.com/russellballestrini/blog-to-json ).
Key Features:
- Import from WordPress XML, Disqus XML, and Graphcomment exports
- Automatic user creation with email matching
- User surrogate creation for comments without emails
- Smart group postfix generation from namespace domain
- Permanent postfix locking to prevent duplicate surrogates
- Duplicate prevention - reuses existing users on re-import
- Support for nested comment hierarchies
- Preserves timestamps and IP addresses from original comments
Database Changes:
- Added import_group_postfix column to rb_namespace table (Unicode(6), nullable)
- Alembic migration: 5188e62d0afb
New Routes:
- /ns/{namespace}/import-comments (basic mode)
- /embed/ns/{namespace}/import-comments (embed mode)
Files Added:
- remarkbox/views/authenticated/import_comments.py - Main import logic
- remarkbox/templates/import-comments.j2 - Import page UI
- remarkbox/tests/test_import_comments.py - Comprehensive test suite
Files Modified:
- remarkbox/models/namespace.py - Added import_group_postfix column
- remarkbox/routes.py - Added import-comments routes
- remarkbox/templates/namespace-settings.j2 - Added import link
Tests:
- 20+ unit and integration tests covering all scenarios
- WordPress format import test with real schema
- Graphcomment format import test
- Deep comment nesting tests
- Duplicate prevention and user reuse tests
- Group postfix locking mechanism tests
- Surrogate creation and reuse tests
- Edge case handling (missing fields, invalid input)
2025-11-24 07:10:48 -05:00
f717c89fa5
Improve OTP email visibility by making code the prominent h1 heading
...
- Move OTP code to top of email as large h1 element
- Increase font size to 3em for better readability
- Add letter spacing and bold styling for clarity
- Demote greeting text to regular paragraph
- Apply to both WELCOME_1_HTML and WELCOME_2_HTML templates
2025-11-01 11:49:08 -04:00
c4c20ca1d4
Merge branch 'digest_notification' into 'main'
...
Fix AttributeError in send_node_digest_notifications by preventing orphaned notifications
See merge request engineering/remarkbox/remarkbox!23
2025-10-20 20:58:43 +00:00
b79e764a4c
Update notify.py filter_orphaned_notifications
2025-10-20 19:32:25 +00:00
5e0c0ef23b
Update send_node_digest_notifications.py
2025-10-20 19:28:03 +00:00
235e7d6f9b
Update delete_disabled_nodes.py
2025-10-20 16:32:06 +00:00
535453e0d6
Re-implement needed features without debug cruft
...
- Add Features section to README documenting key capabilities
- Add mode=light parameter to embed examples
- Enhance environment variable handling with ${VAR:-default} syntax
- Fix Python 3 compatibility in short_id_to_bytes()
- Fix email verification logic with proper null check
- Add session size limits for pending nodes
- Add CLAUDE.md configuration for commit attribution
2025-10-12 08:59:07 -04:00
69ada15278
modified: README.rst
...
modified: index.html
modified: index2.html
modified: remarkbox/__init__.py
modified: remarkbox/lib/mail.py
modified: remarkbox/models/meta.py
modified: remarkbox/views/__init__.py
2025-10-12 08:37:07 -04:00
fdfc760865
Merge branch 'dark-mode' into 'main'
...
Add dark mode support with mode query parameter
See merge request engineering/remarkbox/remarkbox!22
2025-10-12 00:35:05 +00:00
fe0cb22f23
Add dark mode support with mode query parameter
2025-10-12 00:35:05 +00:00
b993fe08d3
Merge branch 'fix_notifications' into 'main'
...
Fix notifications
See merge request engineering/remarkbox/remarkbox!21
2025-07-21 21:45:17 +00:00
047a6db18b
Update send_node_digest_notifications.py
2025-07-21 20:31:11 +00:00
079eb09ad4
Update send_node_digest_notifications.py
2025-07-21 19:56:32 +00:00
2e6d88f191
Update send_node_digest_notifications.py
2025-07-21 19:52:24 +00:00
032498a868
Update send_node_digest_notifications.py
2025-07-21 01:52:58 +00:00
f9648c4ade
Merge branch 'fix_notification' into 'main'
...
Update send_node_digest_notifications.py
See merge request engineering/remarkbox/remarkbox!20
2025-07-19 04:05:18 +00:00
f65e1c9cf8
Update send_node_digest_notifications.py
2025-07-19 02:54:22 +00:00
aedb7056d8
Update send_node_digest_notifications.py
2025-06-07 16:32:39 +00:00
e148141fce
Merge branch 'fix_notification_emails' into 'main'
...
Fix notification emails
See merge request engineering/remarkbox/remarkbox!19
2025-06-07 16:26:23 +00:00
acb7e612b9
Update send_node_digest_notifications.py
2025-06-07 16:14:54 +00:00
266189ce9b
Update notify.py
2025-06-07 16:07:44 +00:00
cebf17caaa
Update notify.py
2025-06-07 16:00:31 +00:00
c9c98950c3
Merge branch 'fix_notification_emails' into 'main'
...
Update send_node_digest_notifications.py Removing nested transactions
See merge request engineering/remarkbox/remarkbox!17
2025-06-07 11:17:13 +00:00
44d015597d
Update send_node_digest_notifications.py Removing nested transactions
2025-06-06 19:37:00 +00:00
709da29224
Merge branch 'fix_notification_emails' into 'main'
...
Fix notification emails
See merge request engineering/remarkbox/remarkbox!16
2025-06-04 12:44:35 +00:00
0fdb2bb529
Update send_node_digest_notifications.py
2025-06-03 00:46:27 +00:00
c981d2f467
Revert "Update send_node_digest_notifications.py"
...
This reverts commit a868d5668a
2025-06-03 00:44:49 +00:00
439c129d51
Revert "Update send_node_digest_notifications.py"
...
This reverts commit 33d0c14f6f
2025-06-03 00:43:47 +00:00
33d0c14f6f
Update send_node_digest_notifications.py
2025-06-03 00:37:42 +00:00
a868d5668a
Update send_node_digest_notifications.py
2025-06-03 00:18:20 +00:00
33905a6891
Update notify.py
2025-06-02 23:40:14 +00:00
08ad67c6de
Update notify.py
2025-06-02 23:33:13 +00:00
b293cf19e2
Merge branch 'fix_notification_emails' into 'main'
...
Update send_node_digest_notifications.py
See merge request engineering/remarkbox/remarkbox!15
2025-05-21 15:09:13 +00:00
c8912232a2
Update send_node_digest_notifications.py
2025-05-20 17:42:56 +00:00
197a868833
Merge branch 'fix-notifications-emails' into 'main'
...
Update notify.py to use dbsession.commit
See merge request engineering/remarkbox/remarkbox!14
2025-05-16 13:36:50 +00:00
5d64f30ae6
Update notify.py to use dbsession.commit
2025-05-16 13:36:50 +00:00
a1242bd2af
make edit button green
...
modified: remarkbox/templates/snippets/forms.j2
2025-04-20 13:27:49 -04:00
ac5d3092aa
really make it green
...
modified: remarkbox/templates/namespace-settings.j2
2025-04-20 13:01:09 -04:00
bb562c7c45
modified: remarkbox/templates/namespace-settings.j2
2025-04-20 12:40:54 -04:00
c3652dade6
Merge branch 'submit-buttons2' into 'main'
...
make submit buttons green
See merge request engineering/remarkbox/remarkbox!13
2025-04-20 11:25:53 +00:00
88bb8ffa90
make submit buttons green
2025-04-20 11:25:53 +00:00
0c8859f527
Merge branch 'submit-buttons2' into 'main'
...
make submit buttons green
See merge request engineering/remarkbox/remarkbox!12
2025-04-19 21:50:38 +00:00
5905884878
make submit buttons green
2025-04-19 21:50:38 +00:00
c1111467fd
Merge branch 'submit-button' into 'main'
...
move submit button
See merge request engineering/remarkbox/remarkbox!11
2025-04-19 21:35:24 +00:00
259f308c98
move submit button
...
modified: remarkbox/templates/snippets/forms.j2
2025-04-19 17:29:08 -04:00
fa32bebde0
Merge branch 'Review' into 'main'
...
Update delete_disabled_nodes.py
See merge request engineering/remarkbox/remarkbox!10
2025-04-05 16:19:27 +00:00
1bfe6b7f71
Update delete_disabled_nodes.py
2025-04-05 16:00:16 +00:00
bffde4fd8f
Merge branch 'delete-nodes-final' into 'main'
...
fix errors in the delete_disabled_nodes.py
See merge request engineering/remarkbox/remarkbox!9
2025-04-05 15:22:10 +00:00