Commit Graph

346 Commits

Author SHA1 Message Date
Andrew Brown
da3475c2c0 Fix test failures and enhance document revision functionality
- Fix root URL redirect expectations (now redirects to /my/dashboard instead of /my/content)
- Fix Timeline authorizer to allow universe contributors to edit shared timelines
- Add comprehensive document revision UI with version history and comparison
- Enhance document revision controller with proper permissions and navigation
- Add document folder association and improved folder management
- Update development environment for better debugging with Spring watcher
- Add development tools (bin/dev-restart script, Spring configuration)

Tests: Fixed 5 failures, all pinning tests pass

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:57:03 -07:00
Andrew Brown
ef58f1b2ec Some risky biz gemfile/yarn dep updates 2025-09-07 22:16:05 -07:00
Andrew Brown
1a76197fce more wip stuff 2025-09-05 22:03:01 -07:00
Andrew Brown
9419b3014c Merge branch 'master' into tailwind-redesign 2025-07-17 00:26:08 -07:00
Andrew Brown
ac96a001a8 Fix Stripe subscription errors by migrating deprecated sources API to payment_methods API
- Migrate from deprecated sources API to modern payment_methods API in SubscriptionsController
- Update subscription plan modifications to use Subscription.modify instead of direct assignment
- Fix payment method creation/deletion to use PaymentMethod.create/detach instead of sources
- Update view templates to use new payment_methods data structure
- Migrate price.id usage from deprecated plan.id in data integrity tasks
- Add comprehensive test suite with proper Stripe API stubs
- Add missing test gems: rspec-rails, webmock, factory_bot_rails, shoulda-matchers

This resolves Error 500 when users try to upgrade to Premium subscriptions.
The original error was: NoMethodError - undefined method 'total_count' for nil:NilClass
caused by stripe_customer.sources.total_count when sources API returned nil.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 23:40:36 -07:00
Andrew Brown
744aedd8b7 update engtagger gem 2025-06-02 23:17:38 -07:00
Andrew Brown
15b50b5276 Merge master into tailwind-redesign - resolved conflicts by keeping Tailwind designs and layouts 2025-06-02 23:05:00 -07:00
Andrew Brown
0a7fdbfed0 sidekiq 6.5 -> 7.3 & redis 4.8 -> 5.1 2025-05-18 22:15:58 -07:00
Andrew Brown
7b8ccb844c pin engtagger to github version 2025-05-01 20:19:26 -07:00
Andrew Brown
469ff5e38f re-downgrade more gems 2025-05-01 14:27:07 -07:00
Andrew Brown
574ff4613f downgrade our redis gem until we can upgrade redis server 2025-05-01 14:22:05 -07:00
Andrew Brown
fa2b53327c regenerate gems, pin sqlite3 (we can upgrade it after we upgrade rails), and fix some upgrade errors 2025-05-01 10:59:17 -07:00
Andrew Brown
8c0dad0ddc green test suite again 2025-05-01 01:30:33 -07:00
Andrew Brown
f31af2fa9f pin 2.x html-pipeline asset that thredded depends on 2025-05-01 00:26:38 -07:00
Andrew Brown
f5e0834d66 add Folder tests 2025-04-23 23:03:01 -07:00
Andrew Brown
ade2b79163 use Sentry instead of new relic for error tracking 2025-04-23 00:32:11 -07:00
Andrew Brown
0b051b2ae7 remove newrelic 2025-04-23 00:18:49 -07:00
Andrew Brown
fe02d3f189 Merge branch 'master' of github.com:indentlabs/notebook 2025-04-01 13:08:33 -07:00
Andrew Brown
b208dd63c1 add cached word count to revision index 2025-04-01 13:08:23 -07:00
Andrew Brown (drusepth)
d0bf0a902e swap puma for passenger in gemfile 2025-01-18 01:01:48 +00:00
Andrew Brown
8a844ab802 remove medium-editor-rails and switch to CDN on editor pages 2024-06-22 15:08:12 -07:00
Andrew Brown
0ff6d4dffc Merge branch 'master' into tailwind-redesign 2023-06-13 19:19:07 -07:00
dependabot[bot]
a25465e4e6
Bump pg from 1.4.6 to 1.5.3
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.6 to 1.5.3.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.6...v1.5.3)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 13:22:22 +00:00
Andrew Brown
6ad05817d1 Merge branch 'master' into tailwind-redesign (bad merge oof) 2023-02-14 13:31:13 -08:00
Andrew Brown
57cd311e11 slight gem group tweak for heroku 2023-02-14 13:14:23 -08:00
Andrew Brown
5a6ddc0316 re-add rails_admin 2023-02-14 12:40:56 -08:00
Andrew Brown
02233b5c05 upgrade ruby 2.7.2 --> 3.2.1 2023-02-14 11:04:38 -08:00
Andrew Brown
a7d0843810 remove rails_admin 2023-02-14 10:17:35 -08:00
Andrew Brown
2284a08d72 try compiling assets on staging with terser instead of uglifier 2023-02-14 09:50:37 -08:00
Andrew Brown
1623b1c429 pin rails at 6.1 until we're ready to go 7 2023-02-14 09:26:00 -08:00
Andrew Brown
b24bc66154 drop rails_admin back to 2.x 2023-02-13 23:50:39 -08:00
Andrew Brown
0d15d768b9 Merge branch 'master' of github.com:indentlabs/notebook 2023-02-13 22:31:41 -08:00
Andrew Brown
8d903bc9c0 try to upgrade rails_admin but we need to update sprockets first for it to actually work 2023-02-13 22:31:21 -08:00
dependabot[bot]
16d2d2af1c
Bump sprockets from 3.7.2 to 4.2.0
Bumps [sprockets](https://github.com/rails/sprockets) from 3.7.2 to 4.2.0.
- [Release notes](https://github.com/rails/sprockets/releases)
- [Changelog](https://github.com/rails/sprockets/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rails/sprockets/compare/v3.7.2...v4.2.0)

---
updated-dependencies:
- dependency-name: sprockets
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 06:06:22 +00:00
dependabot[bot]
b43cd30658
Bump rails_admin from 2.2.1 to 3.1.1
Bumps [rails_admin](https://github.com/sferik/rails_admin) from 2.2.1 to 3.1.1.
- [Release notes](https://github.com/sferik/rails_admin/releases)
- [Changelog](https://github.com/railsadminteam/rails_admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sferik/rails_admin/compare/v2.2.1...v3.1.1)

---
updated-dependencies:
- dependency-name: rails_admin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 06:01:33 +00:00
Andrew Brown
2026fe6ee9 wip polish 2023-02-13 21:47:36 -08:00
Andrew Brown
fa997fcc98 Merge branch 'master' into tailwind-redesign 2023-02-09 17:04:06 -08:00
Andrew Brown
901568733b update ruby 2.7.6 --> 2.7.7 2023-02-09 16:08:45 -08:00
drusepth
89386ef181 start on thredded-tailwind redesign & analyses homepage 2022-12-05 18:25:21 -08:00
drusepth
7029e5209e Revert "switch our font-awesome provider"
This reverts commit ee0d3329f6.
2022-10-24 16:57:13 -07:00
drusepth
ee0d3329f6 switch our font-awesome provider 2022-10-24 14:45:26 -07:00
drusepth
04c09dbf59 Merge branch 'master' into tailwind-redesign 2022-09-09 14:52:19 -07:00
Andrew Brown
34b9da812e
Merge pull request #1170 from indentlabs/dependabot/bundler/mini_racer-0.6.3
Bump mini_racer from 0.6.2 to 0.6.3
2022-09-05 20:14:41 -05:00
drusepth
a61f9dc5b9 Merge branch 'master' into tailwind-redesign 2022-09-05 16:13:13 -07:00
dependabot[bot]
8e6ea1ac70
Bump pg from 1.3.5 to 1.4.3
Bumps [pg](https://github.com/ged/ruby-pg) from 1.3.5 to 1.4.3.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.rdoc)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.3.5...v1.4.3)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 23:10:11 +00:00
dependabot[bot]
4693f7b21b
Bump mini_racer from 0.6.2 to 0.6.3
Bumps [mini_racer](https://github.com/discourse/mini_racer) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/discourse/mini_racer/releases)
- [Changelog](https://github.com/rubyjs/mini_racer/blob/master/CHANGELOG)
- [Commits](https://github.com/discourse/mini_racer/compare/v0.6.2...v0.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 23:09:37 +00:00
drusepth
bda757f343 add index for [deleted_at, id] on thredded 2022-08-17 14:52:42 -07:00
drusepth
c9de578e36 pull in latest thredded and add db migration for it 2022-08-15 22:23:20 -07:00
drusepth
a8b93b57af drop listen gem 2022-08-14 15:45:21 -07:00
drusepth
862ccbeda6 Merge branch 'master' into tailwind-redesign 2022-06-01 12:24:15 -07:00