Граф коммитов

156 Коммитов

Автор SHA1 Сообщение Дата
Gleb Tv
c7a2fec052 fix: Exclude Ruby 3.0 + Rails 7.2 combination from CI matrix
Rails 7.2 requires Ruby 3.1+ according to its gemspec, so the combination
of Ruby 3.0 with Rails 7.2 is invalid and causes bundler conflicts.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 13:40:57 +03:00
Gleb Tv
74cbb7853d style: Fix remaining RuboCop offenses
- Use have_css instead of have_selector (Capybara/RSpec/HaveSelector)
- Fix argument alignment in multi-line method calls
- Break long line into multiple lines to respect 120 character limit
- Use single quotes for strings without interpolation

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 13:27:29 +03:00
Gleb Tv
cd97f2eeb8 fix: Fix test failures across different ActiveAdmin versions
- Update CSS loading test to check for Quill styling in a more robust way
- Handle nested resource test differently for AA2/3 vs AA4 due to has_many behavior differences
- Fix RuboCop Layout/ExtraSpacing offenses in Appraisals file
- Tests now pass for AA4 and gracefully skip incompatible tests in AA2/3

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 13:23:53 +03:00
Gleb Tv
9d11acb6ec fix: Add proper sqlite3 version constraints to appraisal gemfiles
- Rails 6.1, 7.0, 7.1 require sqlite3 ~> 1.4
- Rails 7.2+ and 8.0 can use latest sqlite3 version
- Regenerate gemfiles with correct dependencies
2025-09-24 13:05:26 +03:00
Gleb Tv
4c8d511bf6 fix: Add trailing newline to Appraisals file
Fixes RuboCop Layout/TrailingEmptyLines offense
2025-09-24 12:59:03 +03:00
Gleb Tv
96166aaf12 fix: Add appraisal gemfiles to repository
The gemfiles generated by appraisal need to be committed for CI to work.
Only ignoring the .gemfile.lock files which are generated at runtime.
2025-09-24 12:58:55 +03:00
Gleb Tv
c26aef65ab refactor: Modernize CI with Appraisal gem and consolidate workflows
- Add Appraisal gem for managing multiple test gemfiles
- Create test matrix for Rails 6.1-8.0 and ActiveAdmin 2.9-4.x
- Consolidate multiple workflow files into single ci.yml
- Use matrix strategy to test across Ruby 3.0-3.3
- Remove deprecated individual workflow files
- Add gemfiles/ to gitignore as they're generated
- Improve backward compatibility support
2025-09-24 12:58:47 +03:00
Gleb Tv
194518dea4 fix: Improve backward compatibility for Rails 6 and Ruby 3.0+
- Lower Rails requirement from 7.0 to 6.0 for ActiveAdmin 2.9 compatibility
- Lower Ruby requirement from 3.2 to 3.0 for broader compatibility
- Update CI workflows to test with Ruby 3.0, 3.1, 3.2 where appropriate
- Maintain Ruby 3.2+ for ActiveAdmin 4 and Rails 8 tests
2025-09-24 12:58:40 +03:00
Gleb Tv
395a099a3c ci: Update Ruby versions to match gemspec requirement
- Update minimum Ruby version from 3.0/3.1 to 3.2 in all workflows
- Remove obsolete exclude for Ruby 3.1 with Rails 8
- Ensure all CI jobs use Ruby >= 3.2 to match gemspec requirement
2025-09-24 12:58:34 +03:00
Gleb Tv
826a3dee1c fix: Handle version specifiers with operators in Gemfile
The eval_version function now properly handles versions that already
include operators like ~>, >=, etc. This fixes CI failures where
ACTIVEADMIN_VERSION was passed with '~> 3.0' format.
2025-09-24 12:58:27 +03:00
Gleb Tv
21d1395b77 chore: Update .gitignore to exclude node_modules but keep package-lock.json 2025-09-24 12:58:21 +03:00
Gleb Tv
d588651863 fix: Update tests and CI for ActiveAdmin 4 compatibility
- Fix active_admin_comments to use active_admin_comments_for in AA4
- Add author to CSS test to fix validation error
- Update has_many support for AA4 using .has-many-add button click
- Simplify GitHub Actions workflow for AA4 testing
- All tests now passing with ActiveAdmin 4.0.0.beta16

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 12:58:09 +03:00
Gleb Tv
7f3d842e3a feat: Add ActiveAdmin 4 and Propshaft support
- Switch to ActiveAdmin 4 beta with Tailwind CSS
- Replace Sprockets with Propshaft for Rails 8
- Migrate from jQuery to vanilla JavaScript
- Implement proper module initialization without setTimeout hacks
- Add esbuild for JavaScript bundling with clean import aliases
- Configure Tailwind CSS build process with ActiveAdmin plugin
- Update engine configuration for both Propshaft and Sprockets
- Add comprehensive documentation for AA4 gem updates
- Maintain backward compatibility with legacy AA versions

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 12:58:00 +03:00
Mattia Roccoberton
f291f7e7e6 Merge pull request #62 from blocknotes/chore/bump-to-2.0.0
Bump version to 2.0.0
v2.0.0
2025-04-16 22:02:34 +02:00
Mattia Roccoberton
df944277b5 chore: Bump version to 2.0.0 2025-04-16 12:55:31 +02:00
Mattia Roccoberton
3cc5683d44 Merge pull request #63 from blocknotes/chore/internal-improvements
Update Quill imageUploader plugin
2025-04-16 12:52:49 +02:00
Mattia Roccoberton
498cbbd0c9 build: Update Quill imageUploader 2025-04-16 09:03:32 +02:00
Mattia Roccoberton
bfc2e997f1 chore: Minor changes to dummy app migrations 2025-04-16 09:03:24 +02:00
Mattia Roccoberton
9bda446762 chore: internal improvements to quill editor input js 2025-04-16 08:52:13 +02:00
Mattia Roccoberton
533471c0d6 Merge pull request #61 from blocknotes/build/update-quill-to-2.0.3
Update Quill to version 2.0.3
2025-04-15 08:12:47 +02:00
Mattia Roccoberton
3617aab7f2 test: Improve some tests 2025-04-14 13:44:35 +02:00
Mattia Roccoberton
5196a8811a build: Update quill.imageUploader plugin 2025-04-14 13:44:35 +02:00
Mattia Roccoberton
5e9a3b6c5a build: Update Quill to version 2.0.3 2025-04-13 18:14:10 +02:00
Mattia Roccoberton
181aab7fd6 Merge pull request #60 from blocknotes/test/improve-tests
Improve tests
2025-04-13 16:36:07 +02:00
Mattia Roccoberton
300b4a0a03 test: Improve tests 2025-04-13 16:35:14 +02:00
Mattia Roccoberton
451a225277 Merge pull request #59 from blocknotes/build/improve-dev-setup
Improve dev and test setup
2025-04-13 15:04:13 +02:00
Mattia Roccoberton
6cbb39daad test: Improve test suite setup 2025-04-13 15:00:22 +02:00
Mattia Roccoberton
d19fc7ddfc build: Improve dev setup 2025-04-13 14:54:13 +02:00
Mattia Roccoberton
74790fc115 Merge pull request #58 from blocknotes/test/update-build-setup
test: Update build setup
2025-04-05 09:32:24 +02:00
Mattia Roccoberton
c3b129a212 ci: Update GitHub workflows 2025-04-05 09:25:11 +02:00
Mattia Roccoberton
ab858f7c6f test: Remove Appraisal dependency 2025-04-05 09:25:11 +02:00
Mattia Roccoberton
6cf744b84c test: Update build setup 2025-04-05 09:25:11 +02:00
Mattia Roccoberton
0ae4ce2035 Merge pull request #57 from blocknotes/test/setup-coverage
Test: setup coverage
2025-03-22 09:14:34 +01:00
Mattia Roccoberton
dd9aa22cf5 test: Install Appraisal dependencies 2025-03-22 09:10:47 +01:00
Mattia Roccoberton
b6f3c0c3a6 test: Setup coverage 2025-03-22 09:08:36 +01:00
Mattia Roccoberton
7d3a084977 Merge pull request #56 from blocknotes/v1.3.0
chore: Bump to version 1.3.0
v1.3.0
2025-03-18 22:25:05 +01:00
Mattia Roccoberton
1569b1ff18 chore: Bump to version 1.3.0 2025-03-18 22:15:04 +01:00
Mattia Roccoberton
3459800dbf Merge pull request #55 from blocknotes/api/quill-editor-query-functions
API: Quill editor query functions
2025-03-18 08:49:00 +01:00
Mattia Roccoberton
af901f4f7d feat: API: expose quill editor query functions 2025-03-18 08:47:16 +01:00
Mattia Roccoberton
328ee0d9fa Merge pull request #54 from blocknotes/test/update-test-suite-2
test: Update test suite (2)
2025-03-17 09:08:23 +01:00
Mattia Roccoberton
751196ef8c test: Update dependencies 2025-03-17 09:06:04 +01:00
Mattia Roccoberton
589b782866 Merge pull request #53 from blocknotes/test/update-test-suite
test: Update test suite
2025-03-17 08:46:08 +01:00
Mattia Roccoberton
554f6086e7 test: Add Rails 8.0 workflow 2025-03-17 08:44:22 +01:00
Mattia Roccoberton
051ada9843 test: Add Rails 7.2 workflow 2025-03-17 08:35:44 +01:00
Mattia Roccoberton
fd90851a6b test: Update ruby versions in specs workflows 2025-03-17 08:30:59 +01:00
Mattia Roccoberton
bd32c5f28f Merge pull request #52 from blocknotes/test/improve-specs
test: Improve specs using page objects
2025-03-16 18:30:55 +01:00
Mattia Roccoberton
21ec7a918b chore: Update Rubocop config 2025-03-16 18:29:42 +01:00
Mattia Roccoberton
b310f9e71b test: Improve specs using page objects 2025-03-16 18:29:42 +01:00
Mattia Roccoberton
bbee6f7681 Merge pull request #51 from blocknotes/dev/docker-setup-2
Update Docker dev setup
2025-03-16 11:07:57 +01:00
Mattia Roccoberton
57e151aa03 test: Fix ProcessTimeoutError when using Docker
- Error details:

Ferrum::ProcessTimeoutError:
  Browser did not produce websocket url within 10 seconds, try to increase `:process_timeout`

- Reference issue: https://github.com/rubycdp/cuprite/issues/180
2025-03-16 11:05:57 +01:00