Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Oct 14, 2026
| df174ad |
Test the generated avatar routes without ImageMagick, which CI's runner doesn't have: the test stubs GeneratedAvatar.png and checks each route asks it for the right initials, so it checks the routes, not the drawing (which production's ImageMagick does). |
| 710e300 |
Give generated avatars the theme colour rather than lavender, so they're green by default and an organisation's or event's own colour on its pages. The PNG is now a stencil, white at 80% with the initials cut out, and .avatar-initials (Account#avatar_class, on the account's |
| 3c0812f |
Fix the generated avatar fallback, which showed as a broken image: Gravatar's d parameter was fully percent-encoded with CGI.escape, then views escaped the whole URL again with u, so % became %25 and Gravatar decoded d to https%3A%2F%2F..., which its image proxy rejects. Escape it with Addressable::URI.escape again, as before, which leaves : and / alone, and keep the initials unescaped in generated_avatar_path so they're escaped once. The test now checks d comes through u and one decode intact. |
| 8e87e28 |
Give accounts with no image their initials as an avatar rather than a grey silhouette: Plus Jakarta Sans SemiBold in --color-lavender-500 on --color-lavender-100, drawn by ImageMagick (lib/generated_avatar.rb). The PNG is served at /avatar/ |
| 61e1871 |
Make RuboCop's Security cops warnings, so eval, Marshal.load, Kernel#open and the like fail CI, in templates too (erb_lint's RubocopTags now runs them). They were convention-level, so they were reported but never failed anything. Nothing in the codebase trips them. |
| 452fd35 |
Turn off RuboCop's convention cops (Style, Layout and Naming, apart from the three warning-level Layout alignment cops), so plain rubocop reports what CI does. CI only fails on warnings, and script/lint hides the rest, but rubocop on its own listed 384 convention offenses in 107 files, which an agent could set about fixing. Their settings here go too, as nothing reads them. |
| df77f90 |
Run test/lint_test.rb from the pre-commit hook when a file it checks is staged, rather than only in CI. A change to a cop, a linter config, AGENTS.md, ruby.yml, the MCP copies or the dependency files, or a new test file not listed in ruby.yml, failed only after it was pushed. script/lint now has it as a linter (--only lint_test), run when one of those is among the files (about 7s) and with --all, so CI's step calls script/lint too. It reads files from disk, even with --staged, and sets LINT_TEST so the script/lint runs in its own tests don't run it again. |
| 4e8e7b0 |
Install tmux and Node 22 for cloud agents, without overwriting the image's Node (#263) Cursor's web terminal is a tmux session, so the Cursor image now installs tmux. script/agent-env/node.sh installs the Node in .nvmrc (which CI's setup-node also reads) at a prefix of its own, checked against Node's SHASUMS256.txt, and Claude's remote-setup.sh and the Cursor image put it on PATH. install.sh always runs npm ci for ESLint and Stylelint, retrying and then warning rather than stopping the services that start after it. Claude-Session: https://claude.ai/code/session_01Lq1vb63dFU3xdWRqmB5eRa |
Commits on Oct 13, 2026
| 21eee90 |
Show facilitators' event tag badges above their buttons on the facilitators list, between the name and Follow/Star/Message, rather than below them. The badges move into their own partial, accounts/_event_tag_badges.erb, which facilitator_info still renders unless passed skip_tags. |
| cc43ff0 |
Start CI's test jobs straight away, listing the test files in ruby.yml rather than finding them in a generate-matrix job. That job took about 25s, mostly waiting for a runner, and every test job waited for it. test/lint_test.rb checks the list matches test/, and AGENTS.md says to add a new test file there. |
| 87ba969 |
Check the page's path with has_current_path?, which waits, and flag current_path and current_url in tests. event_permissions_test.rb read current_path straight after clicking Delete event, so on a slow CI runner it sometimes got the old page's path and failed, and CI's retry ran the whole file again (119s rather than about 65s). Its eleven assert_equal ..., current_path checks, in four files, and thirteen current_path.include? and current_url.include? checks, some straight after a click too, now wait (with ignore_query: true where they compared the path alone, or url: true for the whole URL). Dandelion/CapybaraCurrentPath flags reading either in tests, other than in a failure message. |
| 06938d7 |
Keep RuboCop's results between CI runs, so it only checks the files that changed rather than all of them from cold (20s). The cache is keyed on Gemfile.lock, .rubocop.yml and our cops, so changing any of them starts afresh. |
| ee955d3 |
Run test/lint_test.rb's ESLint and Stylelint cases in one Node process each, through their APIs, rather than starting a linter per case, and check built files without linting them. The file takes about 7s rather than 30s: Stylelint's cases 0.35s rather than 16s, ESLint's 0.3s rather than 4s. |
| 2f0adc7 |
Run only the ESLint and Stylelint that package-lock.json installs. When one was missing (a node_modules from before Stylelint was added, say), npx fetched it from the registry instead, at whatever version and age, past the lockfile and the 7-day cooldown, and slowly. script/lint now runs npx --no-install and says to run npm ci when a linter isn't installed, and test/lint_test.rb skips its ESLint and Stylelint tests until both are. |
| 991ac04 |
Run erb_lint over everything as four runs at once. erb_lint uses one core, so script/lint --all (CI's erb_lint step, and a changed config in the pre-commit hook) now splits the templates four ways, as the jobs it already runs at once: erb_lint takes 7s rather than 18s, and script/lint --all 10s rather than 32s. |
| 4c8ad04 |
Speed up erb_lint's RuboCop checks about threefold. RubocopTags took 28 of erb_lint's 32 seconds over 9,376 tags, because erb_lint's Rubocop linter builds a new team of every cop for each tag and runs all ~600 cops with most disabled. It now builds the team once, and .erb_lint.yml gives it only the cops that can fail CI (Lint, ours and the three warning-level Layout cops) in place of disabling Layout, Style and Naming; the cops left out (Bundler, Gemspec) never apply to templates. The same template finds the same offenses; a full run takes 18s rather than 33s. |
| 9a92b59 |
Lift the ticket glyph in its newsfeed icon with translate in em rather than top in px. It's lifted 1/16 of its size, 1px at the base size as before (1.06px in the design guide, against 1px), and now scales with the icon, like the link glyph's nudge on the event tiles; it no longer needs a Stylelint exception. |
| 831cc3b |
Require a reason on every disable comment. AGENTS.md shows each linter's disable with a reason, but nothing checked it: test/lint_test.rb now fails on a rubocop, eslint or stylelint disable without one after --, or an erb_lint disable without one after the linter's name. Only the two wrapper exceptions lacked one: belongs_to_without_parent_validation and ErrorReporting.capture_exception are what Dandelion/BelongsTo and Dandelion/ErrorReporting point to, so they now say so. |
| 34e2726 |
Remove the Naming/* rubocop:disable comments, as with the Style/* ones: Naming cops are convention level, which CI never fails on. search_helper.rb disabled MethodParameterName throughout for three q parameters, named like params[:q], and core_extensions.rb PredicatePrefix for has_many_through, whose name is the API AGENTS.md points to. |
| 4e837e4 |
Grow the feedback stars 10% on hover, like the quick theme colours, rather than 8%. The two were the design guide's only things that grow, at nearly the same size, so they now match; the guide says so. |