Commit graph

177 commits

Author SHA1 Message Date
1ef1c8d621 Update 7ad8508e50de_rename_mathjax_to_katex.py 2025-11-27 23:20:57 +00:00
30a62b8721 Update 7ad8508e50de_rename_mathjax_to_katex.py 2025-11-27 16:28:51 +00:00
a7e39520a7 Update file notify.py 2025-11-27 16:14:01 +00:00
9989caf95f Update 7ad8508e50de_rename_mathjax_to_katex.py 2025-11-27 16:10:30 +00:00
f408487224 Upload New File 2025-11-11 04:40:41 +00:00
f5ab803fd3 Update test_models.py
Updated all test methods to use namespace.katex instead of namespace.mathjax in test_namespace_production_custom_settings(),

  test_namespace_development_custom_settings(), and test_namespace_simulate_expired_subscription().
2025-11-11 04:38:23 +00:00
0343456e9a Update test_render.py
Renamed test_mathjax_enabled_and_disabled() to test_katex_enabled_and_disabled(). 

Updated test to check cleaner.katex property instead of cleaner.mathjax. 

Removed assertions about MathJax script tags.
2025-11-11 04:36:16 +00:00
c812836ab9 Update authenticated.py 2025-11-11 04:29:54 +00:00
734ac9c838 Update namespace.py
Renamed mathjax column to katex in Column definition and PROTECTED_ATTRIBUTES dict.
2025-11-11 04:24:44 +00:00
e9233180cf Update namespace-settings.j2
Renamed checkbox from mathjax-checkbox to katex-checkbox. 

Updated label to  "Enable KaTeX" with link to katex.org. 

Changed description from "could introduce slowness" to "fast math rendering".
2025-11-11 04:21:06 +00:00
17f54d6705 Update sanitize_html.py
Updated docstring to remove MathJax-specific examples. 

Cleaned up comments about tag whitelisting.
2025-11-11 04:19:34 +00:00
f94d401bf2 Update render.py
Simplified remarkbox_tag_acl() - removed MathJax script tag whitelisting logic. 

Updated cleaner to use namespace.katex. 

Removed mdx_math extension from markdown rendering (KaTeX handles delimiters client-side).
2025-11-11 04:18:22 +00:00
c7d1646824 Update create.j2
Updated textarea onkeyup handler to pass katex={{ request.katex }} instead of mathjax={{ request.mathjax }} in thread creation form.
2025-11-11 04:15:47 +00:00
864632b779 Update forms.j2
Updated textarea onkeyup handlers to pass katex={{ request.katex }} instead of mathjax={{ request.mathjax }} in both reply and edit forms.
2025-11-11 04:14:17 +00:00
b07a2ebe88 Update custom.js
Updated previewAjax() and sendPreview() functions to use katex parameter instead of mathjax. 

Replaced MathJax.Hub.Queue() call with KaTeXrenderMathInElement() for live preview rendering.
2025-11-11 04:12:51 +00:00
ca93bd16ae Update javascript-includes.j2
Replaced MathJax CDN with KaTeX CDN. Now loads KaTeX CSS, JS, and
auto-render extension from jsdelivr. 
Added auto-render configuration with
$$ and $ delimiters.
2025-11-11 04:10:20 +00:00
36168d37c4 Update __init__.py
Renamed add_mathjax() to add_katex() request method. 
Updated to reference namespace.katex instead of namespace.mathjax.
2025-11-11 04:08:32 +00: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