Commit Graph

683 Commits

Author SHA1 Message Date
Mike Dalessio e1609a1aa4 Delete the first runs controller/routes/model
which has been replaced by the signups controller
2025-06-21 10:38:36 -04:00
Mike Dalessio d0dcb6dfa8 Redirect unauthenticated users to Launchpad 2025-06-20 17:14:58 -04:00
Mike Dalessio 141554c21c Make sure the beta env keeps local authentication (for now)
and more importantly, don't try to connect to the 37id database, which
will hang.

And finally, set the connect_timeout to something small so if we do
try to make a connection, it will fail quickly instead of hanging for
the default 120 seconds.
2025-06-20 16:17:02 -04:00
Mike Dalessio 2c18173f08 Trampoline the Launchpad auth redirect from a GET into a POST
to always route it to the writer.
2025-06-20 15:16:57 -04:00
Mike Dalessio 6f09d6a737 Add HTTP basic auth to the signup controllers
so that signup is internal-only for now.
2025-06-20 15:16:57 -04:00
Mike Dalessio b29e884b1b Rate limit new signups. 2025-06-20 15:16:57 -04:00
Mike Dalessio 1be9ba6ee3 Signup workflow for existing identity 2025-06-20 15:16:57 -04:00
Mike Dalessio ee60e8dd01 Signup::AccountsController suppports signing up with a new identity 2025-06-20 15:16:57 -04:00
Mike Dalessio dacb53b8b1 Launchpad login works for existing 37id identities 2025-06-20 15:16:56 -04:00
Mike Dalessio 319e4223e4 Add request details to Current 2025-06-20 15:16:56 -04:00
Jorge Manrubia f5688175fa Merge pull request #629 from basecamp/prompts-init
Prompts for mentions and links
2025-06-20 14:34:50 +02:00
Jorge Manrubia 7286d03f57 Format 2025-06-20 11:35:23 +02:00
Jorge Manrubia c5304870c7 Add http caching for prompts 2025-06-20 11:19:28 +02:00
Jorge Manrubia 9ddb18792b Only offer users accessible in the collection 2025-06-20 10:44:42 +02:00
Jorge Manrubia 076a30a37f More predictable approach to match cards by ID
Always place them at the top. Our current search support in SQLite is based on
standalone fields. We should add a field for IDs and make it work with prefixes. Going
with something simpler for now.

https://3.basecamp.com/2914079/buckets/37331921/todos/8773497815#__recording_8775856927
2025-06-20 06:46:21 +02:00
Andy Smith b9c28aeacd Merge branch 'main' into search-page-markup 2025-06-19 15:37:50 -05:00
Jorge Manrubia 6446e5b409 Select cards with # 2025-06-19 13:00:26 +02:00
Jorge Manrubia cda20600b1 Show mentions in the editor 2025-06-19 12:16:32 +02:00
Jason Zimdars fcfd149bd6 Add an optional description field for public collections 2025-06-18 19:02:02 -05:00
Andy Smith 33a9bbf043 Stub out search page 2025-06-18 12:47:16 -05:00
Kevin McConnell 63ddb23585 Opt out of writer affinity on readings controller 2025-06-16 15:05:47 +01:00
Jorge Manrubia d9323fa3e7 Add flash notice when adding another card 2025-06-13 11:02:40 +02:00
Jorge Manrubia 303a3faea1 Merge pull request #607 from basecamp/drag-and-drop-cards
Drag and drop cards to move between doing/considering
2025-06-13 10:04:59 +02:00
Jorge Manrubia 7a4e59391b Add test 2025-06-13 09:55:37 +02:00
Jorge Manrubia 1175bf5dce Merge pull request #608 from basecamp/create-and-add-another
Add multiple cards quickly
2025-06-13 08:58:35 +02:00
Jorge Manrubia 31c851aa5b Use the same controller for publishing cards and for publishing and adding another 2025-06-13 08:55:30 +02:00
Mike Dalessio 5430355da6 Avoid losing access to a Collection when updating entropy
ref: https://37s.fizzy.37signals.com/collections/2/cards/820
2025-06-12 13:43:13 -04:00
Jason Zimdars 75d9ce0b82 Add multiple cards quickly 2025-06-12 11:59:09 -05:00
Jorge Manrubia 0cb3648785 Extract concern with common column-related code 2025-06-12 12:48:10 +02:00
Jorge Manrubia a979daddf3 Reuse filter scope 2025-06-12 12:39:33 +02:00
Jorge Manrubia 97fecc2bbe Extract method 2025-06-12 12:10:17 +02:00
Jorge Manrubia a5de3cf64b Replace with morph 2025-06-12 12:06:00 +02:00
Jorge Manrubia f58aaadba5 Drag and drop cards to move between doing/considering 2025-06-12 11:57:53 +02:00
Jorge Manrubia 1ab3877f65 Enable caching at intermediate proxies during traffic spikes
Implement suggestion by Kevin here https://github.com/basecamp/fizzy/pull/596#discussion_r2137474704
2025-06-10 21:52:33 +02:00
Jorge Manrubia 80c4e6fd92 Format 2025-06-10 11:19:13 +02:00
Jorge Manrubia a916fe4470 Add tests 2025-06-10 11:18:33 +02:00
Jorge Manrubia 5e3b5b6d7c Make avatars public so that they work in public collections 2025-06-09 15:03:21 +02:00
Jorge Manrubia 7013b7f378 Pagination working for public collections 2025-06-09 14:36:53 +02:00
Jorge Manrubia 87bbb79851 Make cards work without filters since those require an authenticated creator
I still need to make pagination work
2025-06-09 13:37:49 +02:00
Jorge Manrubia d349a4ee5f Filter by collection 2025-06-09 13:13:18 +02:00
Jorge Manrubia 28d1f104fd Basic rendering for public collections 2025-06-09 13:09:32 +02:00
Jorge Manrubia 486bc4a610 Basic UI to toggle collection publication status 2025-06-09 12:58:58 +02:00
Jason Zimdars bd5d17ff26 Clear indexed_by, too 2025-06-05 16:56:26 -05:00
Jorge Manrubia 7c657a2bd9 Support stalled filtering 2025-06-05 12:07:55 +02:00
Jorge Manrubia c52e49ef91 Merge branch 'main' into stalled-cards
* main: (33 commits)
  Rename helpers since they are not related to collections only anymore
  Simplify
  Reorder method
  Update brakeman
  Fix tests after removing the index action
  Format
  Extract partials
  Format
  Tidy up code
  We're not using this right now
  Wire up knob UI design
  Contain images
  Extract the header so we can explain in context
  Display users and invite on `account/settings`
  Link to workflows
  Link to account settings
  Update to use two-column layout, add title and nav
  Add comment
  Properly parameterize the field name
  Remove leftover console.log
  ...
2025-06-05 10:09:12 +02:00
Jorge Manrubia 540254def4 Fix tests after removing the index action
The show action makes more sense in the controller. Also, the filter
scoped was failing due to Rails raising on missing actions (because we
have deleted the index action). Inlining the concern fixes it and clarifies
where this action is implemented.
2025-06-05 09:12:07 +02:00
Jason Zimdars 6eece93f10 Merge branch 'knobs' into entropy-settings-ui
* knobs:
  Add comment
  Properly parameterize the field name
  Remove leftover console.log
  Correct the reserved area math
  Better a11y
  Connect the range slider
  Basic radio input working
  Expose button so you can delete drafts
  Save button should match card color
  `x` interferes with string entry, try `SHIFT+ENTER` to toggle checkboxes
  Remove unnecessary param and update condition
2025-06-04 20:34:04 -05:00
Jason Zimdars 638bc16b4b Display users and invite on account/settings 2025-06-04 15:16:24 -05:00
Jorge Manrubia 84fdeb4a5e Track events when reopening cards 2025-06-04 17:18:01 +02:00
Jorge Manrubia dd78ec2db2 Shortcut to grab the default entropy configuration 2025-06-04 12:56:11 +02:00