Dec. 7th, 2019

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: 4dfbf2930524f78fb9b0bffef2ed467c1a6f356d
https://github.com/dreamwidth/dw-free/commit/4dfbf2930524f78fb9b0bffef2ed467c1a6f356d
Author: Mark Smith <mark@dreamwidth.org>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
A bin/oneoff/fixup-subs

Log Message:
-----------
Add oneoff fixup subscriptions script
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: 5491d2a1781eed8106e3c8c32b7c0b62129da70c
https://github.com/dreamwidth/dw-free/commit/5491d2a1781eed8106e3c8c32b7c0b62129da70c
Author: Mark Smith <mark@dreamwidth.org>
Date: 2019-12-08 (Sun, 08 Dec 2019)

Changed paths:
M bin/worker/dw-esn-process-sub
A bin/worker/dw-send-email
M cgi-bin/DW/Controller/OpenID.pm
M cgi-bin/DW/Task/ESN/FindSubsByCluster.pm
A cgi-bin/DW/Task/SendEmail.pm
R cgi-bin/DW/Task/Test.pm
M cgi-bin/DW/TaskQueue.pm
M cgi-bin/LJ/NotificationMethod/Email.pm
M cgi-bin/LJ/Sendmail.pm
M cgi-bin/LJ/Subscription.pm

Log Message:
-----------
Move email sending to SQS

This changes the LJ::Sendmail function to create SQS messages for
sending emails, and makes a dw-send-email worker to do that via SES.

This also adds debugging output which will help with diagnosing issues.
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: a90246b7c564337aa2c3f936df6e8a2aa101d976
https://github.com/dreamwidth/dw-free/commit/a90246b7c564337aa2c3f936df6e8a2aa101d976
Author: Mark Smith <mark@dreamwidth.org>
Date: 2019-12-08 (Sun, 08 Dec 2019)

Changed paths:
M cgi-bin/DW/Controller/OpenID.pm
M cgi-bin/DW/Task/SendEmail.pm
M cgi-bin/LJ/NotificationMethod/Email.pm
M cgi-bin/LJ/Sendmail.pm
M cgi-bin/LJ/Subscription.pm

Log Message:
-----------
Accidentally got untidy
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: be8886270749bbb195d4fb052ada8b933c61eab7
https://github.com/dreamwidth/dw-free/commit/be8886270749bbb195d4fb052ada8b933c61eab7
Author: Mark Smith <mark@dreamwidth.org>
Date: 2019-12-08 (Sun, 08 Dec 2019)

Changed paths:
M cgi-bin/DW/Task/SendEmail.pm

Log Message:
-----------
A little more resilience on emailer
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: b5c6eb157b654f3f4a23cf3ae5d9c2a34ac71471
https://github.com/dreamwidth/dw-free/commit/b5c6eb157b654f3f4a23cf3ae5d9c2a34ac71471
Author: Mark Smith <mark@dreamwidth.org>
Date: 2019-12-08 (Sun, 08 Dec 2019)

Changed paths:
A bin/worker/metrics-emitter
M cgi-bin/DW/Stats.pm
M cgi-bin/DW/TaskQueue.pm

Log Message:
-----------
Add metrics emitter

This gets metrics from AWS and emits them into Datadog so that we can do
autoscaling and the like.

Not that autoscaling seems like a good idea, actually. F.
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: 11eaa988f0457c7426b3ddc91ee25abab28d6657
https://github.com/dreamwidth/dw-free/commit/11eaa988f0457c7426b3ddc91ee25abab28d6657
Author: Mark Smith <mark@discordapp.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M etc/kubernetes/datadog/datadog-cluster-agent.yaml
A etc/kubernetes/datadog/datadog-custom-metrics-server.yaml
M etc/kubernetes/datadog/datadog-secret.yaml
A etc/kubernetes/datadog/rbac-hpa.yaml

Log Message:
-----------
Datadog cluster metrics agent


Commit: 74d4f970894bc4666a9ac58b4675b1aab59e21e2
https://github.com/dreamwidth/dw-free/commit/74d4f970894bc4666a9ac58b4675b1aab59e21e2
Author: Mark Smith <mark@discordapp.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M etc/kubernetes/workers/generated/codebuild-notifier.yaml
M etc/kubernetes/workers/generated/dw-esn-cluster-subs.yaml
M etc/kubernetes/workers/generated/dw-esn-filter-subs.yaml
M etc/kubernetes/workers/generated/dw-esn-fired-event.yaml
M etc/kubernetes/workers/generated/dw-esn-process-sub.yaml
A etc/kubernetes/workers/generated/dw-send-email.yaml
M etc/kubernetes/workers/generated/esn-cluster-subs.yaml
M etc/kubernetes/workers/generated/esn-filter-subs.yaml
M etc/kubernetes/workers/generated/esn-fired-event.yaml
M etc/kubernetes/workers/generated/esn-process-sub.yaml
A etc/kubernetes/workers/generated/metrics-emitter.yaml
M etc/kubernetes/workers/generated/send-email-ses.yaml
M etc/kubernetes/workers/generated/synsuck.yaml
A etc/kubernetes/workers/hpa-cpu.yaml.template
A etc/kubernetes/workers/hpa-sqs.yaml.template
M etc/kubernetes/workers/regen-workers.pl
M etc/kubernetes/workers/worker.yaml.template

Log Message:
-----------
Update workers


Compare: https://github.com/dreamwidth/dw-free/compare/b5c6eb157b65...74d4f970894b
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: fe262bfb955023295c9a70fea70a77f82ae3d042
https://github.com/dreamwidth/dw-free/commit/fe262bfb955023295c9a70fea70a77f82ae3d042
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M cgi-bin/LJ/Entry.pm

Log Message:
-----------
[#2601] Better better Markdown, maybe.

This fixes some Markdown problems, and doubles down on moving formatting
concerns into the HTML cleaner.

- Switch MD processing back to document-at-once mode, before we fire up the
HTML parser. It's looking we can't expect an HTML tokenizer to reliably give
us a valid fragment of Markdown, and the complexity of the Markdown language
makes token-at-a-time processing a dicey proposition even if the token
splitting was reliable.
- Move old-style Markdown detection into LJ::CleanHTML::clean_entry, because
lots of things rely on that detection but either don't create proper LJ::Entry
objects or call something other than event_html on them. Theoretically this
enables old-style journal entry `!markdown` flags in places where they weren't
allowed previously (faq items, etc.), but that seems fairly harmless.
- Tighten up list of HTML elements where [profile] usernames shouldn't be converted.
- Explicit `editor` always beats detected formatting. This is more interesting
in the future.


Commit: ec574dd29f26e1f20bc00bd0622260dfc7295b0a
https://github.com/dreamwidth/dw-free/commit/ec574dd29f26e1f20bc00bd0622260dfc7295b0a
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/DW/External/User.pm
M cgi-bin/LJ/User/Display.pm

Log Message:
-----------
User tag builders: Enable non-linked user tags

This is so we can avoid illegal markup in cases where a user tag is inside
another link, but still style it as a user tag.


Commit: b43e42a47a38a27cd97b74316ea8c242d06b8f40
https://github.com/dreamwidth/dw-free/commit/b43e42a47a38a27cd97b74316ea8c242d06b8f40
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm

Log Message:
-----------
HTML cleaner: use non-linked user tags when inside links


Commit: 7c6957026abd5e57d74bb6fe3e182f795c900b89
https://github.com/dreamwidth/dw-free/commit/7c6957026abd5e57d74bb6fe3e182f795c900b89
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M t/cleaner-markdown.t

Log Message:
-----------
Tests: HTML-in-md behaves more regularly, and we de-link users inside links


Commit: a0fe23e8816b4bbd4c77544dd69852aa7904caa7
https://github.com/dreamwidth/dw-free/commit/a0fe23e8816b4bbd4c77544dd69852aa7904caa7
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M t/cleaner-markdown.t

Log Message:
-----------
Tests: More markdown/html [personal profile] mention tests


Commit: 5965f76f2a3f44bef0dbd7d5cb91676eccc2a376
https://github.com/dreamwidth/dw-free/commit/5965f76f2a3f44bef0dbd7d5cb91676eccc2a376
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/LJ/S2.pm

Log Message:
-----------
S2: Make `Entry_from_entryobj` use `event_html` instead of `event_raw`

De-duplication of some clean_event logic.


Commit: 591b3668775d24f0a5b87b36ef67a01b81d92351
https://github.com/dreamwidth/dw-free/commit/591b3668775d24f0a5b87b36ef67a01b81d92351
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/DW/Controller/RPC/CutExpander.pm

Log Message:
-----------
CutExpander: Use `entry_html` instead of `entry_raw`

De-duplication of some clean_event logic.


Commit: e279b09732fe087c72ce94ab76a7b16bff1e9f2c
https://github.com/dreamwidth/dw-free/commit/e279b09732fe087c72ce94ab76a7b16bff1e9f2c
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/LJ/Feed.pm

Log Message:
-----------
Feeds: pass entry's editor prop through to cleaner


Commit: 5d2cceb29e08ccd701f4b76f4b5349823095eb6a
https://github.com/dreamwidth/dw-free/commit/5d2cceb29e08ccd701f4b76f4b5349823095eb6a
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/LJ/Sendmail.pm

Log Message:
-----------
Sendmail: set editor opt to `markdown` to replace removed function


Commit: d97a447ecf28a81638c3104eab07ba5a5cdddb79
https://github.com/dreamwidth/dw-free/commit/d97a447ecf28a81638c3104eab07ba5a5cdddb79
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/DW/Controller/Entry.pm

Log Message:
-----------
New entry page: In preview handler, add TODO to preserve editor prop

Eventually the form will supply this.


Commit: a5abbc0bb8d491fd8bba2f9224416f5caa6e0fc6
https://github.com/dreamwidth/dw-free/commit/a5abbc0bb8d491fd8bba2f9224416f5caa6e0fc6
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/DW/Entry/Moderated.pm

Log Message:
-----------
Moderation queue: Pass along entry's editor prop


Commit: 5ce1e2d9ae7390d0df6dc448097609271b4e9949
https://github.com/dreamwidth/dw-free/commit/5ce1e2d9ae7390d0df6dc448097609271b4e9949
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-07 (Sat, 07 Dec 2019)

Changed paths:
M cgi-bin/LJ/Protocol.pm

Log Message:
-----------
Protocol: Add some placeholders for checking formatting

I doubt the old protocol will be updated to support the editor prop? And at any
rate, it looks like it's only using the cleaner for error-checking. But here's
some placeholders.


Compare: https://github.com/dreamwidth/dw-free/compare/74d4f970894b...5ce1e2d9ae73

Profile

Dreamwidth Changelog

August 2025

S M T W T F S
     12
3456789
10111213141516
171819202122 23
2425262728 29 30
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 9th, 2025 04:35 am
Powered by Dreamwidth Studios