Commit Graph

3925 Commits

Author SHA1 Message Date
Jason Zimdars 5fb0353660 Update Gemfile.lock 2025-07-21 11:05:41 -05:00
Jason Zimdars a6e9e51071 Merge branch 'main' into web-push
* main: (28 commits)
  Clean up the /scripts directory
  Prevent recursion when invoking AI
  Bump sqlite3 from 2.7.2 to 2.7.3
  Port over Jeremy's fix for slow uploads
  .gitignore log files and portfolio's local storage
  Drop Current.account and just use Account.sole
  Use the utf8-patched mysql driver
  Call blob.preview for previewable attachments
  Make sure the image variants we use are preprocessed
  Add /user command
  Make sure it doesn't infer custom abbreviations when matching user names
  Script to load prod db in development
  Update Signup to use the queenbee_id for the tenant name
  Bump cache version
  Make sure it uses latest bundler to prevent error due to mismatch
  Invalidate cache
  Update ruby
  Update bundler to prevent error on lower version
  Update bundler to prevent error on lower version
  Resolve stages
  ...
2025-07-21 11:03:56 -05:00
Mike Dalessio 238f53e127 Merge pull request #775 from basecamp/flavorjones/clean-up-scripts-dir
Clean up the /scripts directory
2025-07-21 10:43:47 -04:00
Mike Dalessio db6b700da8 Clean up the /scripts directory
Not removing anything, just organizing scripts into subdirectories to
make it a bit more readable.
2025-07-21 09:07:15 -04:00
Jorge Manrubia f4ad46fe29 Merge pull request #774 from basecamp/prevent-ai-recursion
Prevent recursion when invoking AI
2025-07-21 10:39:59 +02:00
Jorge Manrubia 2cd4dd8709 Prevent recursion when invoking AI
This can result in stack overflow errors for missing commands.

https://fizzy.37signals.com/5986089/collections/7/cards/1135

Follow up to https://github.com/basecamp/fizzy/pull/766
2025-07-21 10:25:26 +02:00
Mike Dalessio 7a1b90c0d7 Merge pull request #768 from basecamp/dependabot/bundler/sqlite3-2.7.3
Bump sqlite3 from 2.7.2 to 2.7.3
2025-07-20 14:13:55 -04:00
dependabot[bot] d91e9a2804 Bump sqlite3 from 2.7.2 to 2.7.3
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v2.7.2...v2.7.3)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-version: 2.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-20 18:07:09 +00:00
Mike Dalessio ebff2ca98e Merge pull request #773 from basecamp/flavorjones/long-direct-upload-expiry
Port over Jeremy's fix for slow uploads
2025-07-20 13:23:19 -04:00
Mike Dalessio 0a92fc3a16 Port over Jeremy's fix for slow uploads
ref: https://fizzy.37signals.com/5986089/collections/7/cards/944
2025-07-20 13:19:53 -04:00
Mike Dalessio af1aeca1c6 Merge pull request #772 from basecamp/flavorjones/unwind-current-account
Drop Current.account and just use Account.sole
2025-07-20 13:13:00 -04:00
Mike Dalessio ae22456365 .gitignore log files and portfolio's local storage 2025-07-20 13:11:43 -04:00
Mike Dalessio 8e13ce5b78 Drop Current.account and just use Account.sole
I had reintroduced this in dacb53b8 after David removed it in
6bbf68a4, but now I agree we don't need it.

Also, fix a CORS error when trying to redirect a user to an untenanted
path after login (see
https://fizzy.37signals.com/5986089/collections/2/cards/1032).
2025-07-20 13:00:09 -04:00
Mike Dalessio 68dbe2f42e Merge pull request #771 from basecamp/flavorjones/fix-encoding
Use the utf8-patched mysql driver
2025-07-19 11:07:29 -04:00
Mike Dalessio 0961fa6ac9 Use the utf8-patched mysql driver
ref: https://fizzy.37signals.com/5986089/collections/2/cards/1143
2025-07-19 11:05:51 -04:00
Mike Dalessio b3301cff81 Merge pull request #770 from basecamp/flavorjones/fix-previewable
Call blob.preview for previewable attachments
2025-07-19 09:21:29 -04:00
Mike Dalessio 692e563d3f Call blob.preview for previewable attachments
undoing a mistake introduced in ef6198d3
2025-07-19 09:08:59 -04:00
Mike Dalessio 8b544e6404 Merge pull request #767 from basecamp/flavorjones/active-storage-variants
Make sure the image variants we use are preprocessed
2025-07-18 16:25:31 -04:00
Mike Dalessio ef6198d394 Make sure the image variants we use are preprocessed
to avoid implicitly creating a variant during a GET to a read replica,
which will raise an exception and cause the image to fail to load.

This feels pretty brittle, to be honest, and we'll need to be careful
in the future about creating and using new variants; we will probably
need to backfill the new variant for existing images because we can't
guarantee that they will be created implicitly/lazily if the GET lands
on the replica.

ref: https://fizzy.37signals.com/5986089/collections/7/cards/942
2025-07-18 15:43:31 -04:00
Jorge Manrubia ab53523270 Merge pull request #766 from basecamp/go-to-user-command
Add /user command
2025-07-18 17:59:52 +02:00
Jorge Manrubia 39c7a54ad6 Add /user command
The LLM was relying on it. Having it missing resulted in a stack overflow error!

https://fizzy.37signals.com/5986089/collections/7/cards/1135
2025-07-18 17:59:02 +02:00
Jorge Manrubia 0fedb001be Merge pull request #765 from basecamp/resolving-jz
Make sure it doesn't infer custom abbreviations when matching user names
2025-07-18 17:34:20 +02:00
Jorge Manrubia 921db25646 Make sure it doesn't infer custom abbreviations when matching user names 2025-07-18 17:31:19 +02:00
Mike Dalessio 0e7465fac0 Merge pull request #764 from basecamp/flavorjones/load-prod-db-in-dev
Script to load a production db in development
2025-07-18 10:16:43 -04:00
Mike Dalessio 99fc5664a8 Script to load prod db in development 2025-07-18 10:13:23 -04:00
Mike Dalessio 15876b8762 Update Signup to use the queenbee_id for the tenant name
and not the subdomain. This change should have been in #665
2025-07-18 10:11:10 -04:00
Jorge Manrubia 16abcf2049 Bump cache version 2025-07-18 14:32:04 +02:00
Jorge Manrubia ee79d134f1 Make sure it uses latest bundler to prevent error due to mismatch 2025-07-18 14:17:58 +02:00
Jorge Manrubia c144ef68cb Invalidate cache 2025-07-18 14:14:40 +02:00
Jorge Manrubia f46a623a52 Update ruby 2025-07-18 13:07:31 +02:00
Jorge Manrubia 3edde78370 Update bundler to prevent error on lower version 2025-07-18 13:02:19 +02:00
Jorge Manrubia 7d8d026227 Update bundler to prevent error on lower version 2025-07-18 13:01:53 +02:00
Jorge Manrubia d0fe77c2ca Merge pull request #763 from basecamp/find-stages
Resolve stages
2025-07-18 12:49:26 +02:00
Jorge Manrubia d9b2a49892 Resolve stages 2025-07-18 12:47:03 +02:00
Jorge Manrubia cf82253e57 Merge pull request #762 from basecamp/prompt-refinements
Fizzy do improvements
2025-07-18 10:57:55 +02:00
Jorge Manrubia 30b6adcd1c Update brakeman 2025-07-18 10:57:13 +02:00
Jorge Manrubia a1e3835eb8 Prevent 500 when running /search with empty string 2025-07-18 10:55:36 +02:00
Jorge Manrubia 44873e8ac4 More refinements 2025-07-18 06:50:13 +02:00
Jorge Manrubia d81568ff57 Filter by stage id, much better collection filtering 2025-07-18 05:50:22 +02:00
Jason Zimdars 4330cb4071 Ensure notifications link to the correct account 2025-07-17 22:20:16 -05:00
Jorge Manrubia 61dc39d158 Use mini which works much better 2025-07-18 05:11:19 +02:00
Jorge Manrubia b30bc85f4e Rework prompt to make it less ambiguous and better overall 2025-07-18 05:11:08 +02:00
Jason Zimdars 045460cd60 Revert "Use urls"
This reverts commit 74b5ac4244.
2025-07-17 20:12:06 -05:00
Jason Zimdars 74b5ac4244 Use urls 2025-07-17 19:54:29 -05:00
Jason Zimdars 4ba3bbc4f1 Revert "Linux wet the bed on this, trim whitespace and ensure 8-bit values"
This reverts commit 3940d9d60f.
2025-07-17 19:51:31 -05:00
Jason Zimdars b2334fc8be Revert "Add debug for Linux"
This reverts commit 37e344d9f1.
2025-07-17 19:51:25 -05:00
Jason Zimdars 37e344d9f1 Add debug for Linux 2025-07-17 19:33:21 -05:00
Jason Zimdars 3940d9d60f Linux wet the bed on this, trim whitespace and ensure 8-bit values 2025-07-17 19:30:30 -05:00
Jason Zimdars 1b52a860f3 No need to talk to other controllers right now 2025-07-17 18:04:40 -05:00
Jason Zimdars 347e41037f Simplify connect method, stub a method that will display various states based on detection 2025-07-17 17:54:23 -05:00