Commit Graph
714 Commits
Author SHA1 Message Date
Janik von Rotz df7dfdf3fa feat(task): improve module scaffolding with post-creation instructions and remove unused assets 2025-12-17 15:03:09 +01:00
Janik von Rotz 3544391681 refactor(task): remove redundant command checks and simplify initialization 2025-12-17 13:56:59 +01:00
Janik von Rotz 473d492cec feat(snippets): variable snippet prefix and filename prefix 2025-12-17 12:56:04 +01:00
Janik von Rotz ce960adbb0 feat(upgrade): add configure-test and configure-production steps to upgrade-odoo task with improved documentation and error handling 2025-12-17 11:59:05 +01:00
Janik von Rotz bdc1202a2d feat(revision): release 19.0.20251121 2025-12-16 18:24:58 +01:00
Janik von Rotz 534ed54fb3 fix(task): correct comment wording from "Matched" to "Match" for consistency in test-odoo-version-regex 2025-12-16 16:31:04 +01:00
Janik von Rotz 46335304c3 feat(odoo): refactor set-addons-path to use find and improve version regex matching, add test-odoo-version-regex task 2025-12-16 16:25:53 +01:00
Janik von Rotz 63728c26f2 feat(upgrade): add auto-update step to upgrade-odoo task and document its functionality 2025-12-15 18:40:25 +01:00
Janik von Rotz 2b63462eee feat(upgrade): add shell step to upgrade-odoo task and document rename, recovery, and cleanup procedures 2025-12-15 18:28:53 +01:00
Janik von Rotz 367346d4e4 feat(upgrade): add restart and logs steps to upgrade-odoo task, update documentation with new steps and improve formatting 2025-12-15 17:46:50 +01:00
Janik von Rotz 84c22a8826 feat(upgrade): add new upgrade steps (init, uninstall, update), improve target server handling, enhance logging, and update documentation 2025-12-15 17:20:58 +01:00
Janik von Rotz 4e9ef61f34 feat(upgrade): enhance upgrade-odoo task with improved logging, sudo usage, target server handling, and new drop/test steps 2025-12-15 11:16:41 +01:00
Janik von Rotz 4d36046306 feat(postgres): disable autovacuum and track_counts for performance, update module versions and improve SSL key ownership handling 2025-12-11 14:33:29 +01:00
Janik von Rotz 09ebe23fe4 feat(postgres): switch default image to postgres:16-alpine and support pgvector UID/GID 2025-12-11 14:19:27 +01:00
Janik von Rotz b9e04dbf02 fix(task): update test-project command to use cleanup param and improve migration test setup
- Rename 'clean' parameter to 'cleanup' for consistency with other commands
- Update FIXME comments to use consistent capitalization and clarify validation steps
- Replace post-migration.py with pre-migrate.py for correct migration script naming
- Add setup step description for migration testing
- Add FIXME comment to validate migration execution
- Remove commented-out docker logs checks that were previously removed in prior commits
2025-12-09 11:46:02 +01:00
Janik von Rotz 576ce26d7f fix(task): remove unnecessary || true from odoo update-module command to ensure proper error handling 2025-12-09 10:55:39 +01:00
Janik von Rotz b8389b705e fix(task): simplify test script by removing redundant docker logs checks and updating FIXME comments
- Remove unnecessary `docker logs odoo` and `grep` commands that were commented out
- Update FIXME comments to reflect current validation steps for module and translation updates
- Maintain consistency with previous simplifications in test script logic
2025-12-09 10:03:02 +01:00
Janik von Rotz 8abb5ebf67 feat(images/odoo): upgrade PostgreSQL to 16-alpine and improve README.md documentation
- Upgrade PostgreSQL image from 14-alpine to 16-alpine in docker-compose configurations
- Clarify language in README.md: replace "possiblity" with "option"
- Remove redundant/obsolete sections about `update-modules-list`, `update-translations`, `pyproject.toml` example, `repos.yml` example, and custom Odoo conf
- Add missing detail about nginx reverse proxy listening on port 8080
- Simplify test script in `task` by replacing `restart odoo` with `run odoo update-modules` and removing unnecessary curl wait loop
- Add FIXME comments to indicate pending validation steps for module and translation updates
2025-12-08 17:29:32 +01:00
Janik von Rotz bba726fe96 feat(odoocli): add --include-archived flag to include inactive records in search operations
- Add new `--include-archived` flag to odoocli to include inactive records in search-related methods
- Pass context with `active_test=False` to XML-RPC calls when `--include-archived` is specified
- Update `update-snippet` and `enable-snippet` to use `--include-archived` for consistency with archived records
- Replace `display_name` with `complete_name` in partner tree view snippets for better field alignment
2025-12-05 13:48:58 +01:00
Janik von Rotz 6fa17fae4c feat(task): add enable-snippet command and improve snippet command descriptions
- Add new `enable-snippet` command to activate snippets by path or xml-id
- Update `create-snippet` parameter from `[name]` to `[xml-id]` for clarity
- Enhance descriptions of `disable-snippet`, `remove-snippet`, and `enable-snippet` commands to specify they work with path or xml-id
- Improve code consistency in snippet commands by using unified name extraction logic from path or xml filename
- Add missing newline in `lint-snippets` function for better code formatting
2025-12-05 12:59:15 +01:00
Janik von Rotz 729326d9da feat(odoo): remove AUTO_UPDATE_MODULES environment variable and related logic
- Remove AUTO_UPDATE_MODULES env var from compose.yml.template, README.md, and entrypoint.sh
- Update CHANGELOG.md to document removal of AUTO_UPDATE_MODULES
- Clean up test-project task by removing unused AUTO_UPDATE_MODULES export
- Simplify startup logic by eliminating module auto-update functionality
- Maintain compatibility with existing module update mechanisms via click-odoo-contrib
2025-12-03 16:36:58 +01:00
Janik von Rotz e88b0349d7 feat(odoo): add nginx reverse proxy support with configurable ports and caching
- Introduce nginx reverse proxy functionality accessible via `odoo-nginx` command
- Add nginx configuration file with optimized settings for Odoo including websocket support and static file caching
- Update Dockerfile to install nginx and expose port 8080
- Modify entrypoint.sh to start nginx alongside Odoo when using `odoo-nginx` command
- Update compose.yml.template to support nginx port mapping and conditional service startup
- Add environment variables NGINX_PORT and WORKERS for nginx configuration
- Update README.md and CHANGELOG.md to document nginx proxy feature and usage
- Enhance start task to handle nginx proxy startup with appropriate port forwarding
2025-12-03 14:14:25 +01:00
Janik von Rotz 1c84e79f30 refactor(task): remove deprecated git folder management commands and simplify pull functionality
- Remove unused git folder management commands: clean-git-folder, commit-git-folder, push-git-folder, reset-git-folder, stage-git-folder, status-git-folder
- Simplify pull-git-folder to focus on core functionality without redundant operations
- Maintain existing git folder handling logic while reducing command surface area
- Update CHANGELOG to reflect removal of deprecated commands
- Improve code maintainability by eliminating unused functions
2025-12-03 09:24:29 +01:00
Janik von Rotz 29bc5ab34a docs(task): update taskfile documentation and command descriptions
- Rename `install-odoo-scripts` to `install-ansible-build-scripts` with role parameter
- Update help table and markdown documentation to reflect new command name and description
- Remove deprecated commands: `remove-venv`, `run-enterprise-upgrade`, and `run-open-upgrade`
- Replace upgrade-related commands with unified `upgrade-odoo` command for environment and step execution
- Improve formatting and consistency in taskfile command documentation
2025-11-28 12:53:17 +01:00
Janik von Rotz aeb3591244 docs(upgrade): restructure upgrade documentation and enhance command descriptions
- Refactor upgrade guide structure for improved clarity and navigation
- Update helper scripts section with clear references to taskfile, odoo, and ansible scripts
- Enhance command descriptions and usage examples for upgrade tasks
- Improve formatting and readability throughout the upgrade documentation
- Add detailed steps for database dump and filestore migration processes
2025-11-28 12:37:38 +01:00
Janik von Rotz f72812011d chore(task): update test setup to use create-env with odoo type parameter 2025-11-27 17:17:26 +01:00
Janik von Rotz c0a3118250 chore(task): update taskfile repo URL and improve path handling in install function 2025-11-27 16:05:31 +01:00
Janik von Rotz 84ffec6daf chore(task): improve addons path validation and handle comma-separated input correctly 2025-11-27 15:53:39 +01:00
Janik von Rotz f28703915f chore(task): consolidate env creation commands and update OS detection for Debian GNU/Linux
- Merge `create-nextcloud-env` and `create-odoo-env` into a unified `create-env` command with type parameter
- Remove obsolete `remove-venv` function
- Update OS release checks to include "Debian GNU/Linux" for apt and wkhtmltopdf installations
- Change default task config directory to local `vault` folder
- Add `vault` to `.gitignore`
- Reference new `upgrade.md` documentation in README
- Use `create-env` in test setup instead of `create-odoo-env`
2025-11-27 15:38:28 +01:00
Janik von Rotz abadcc251e chore(config): update default SMTP server to localhost and remove redundant exports 2025-11-26 15:22:12 +01:00
Janik von Rotz f9048adda6 chore(task): update pacman package name for postgresql development headers 2025-11-26 12:07:11 +01:00
Janik von Rotz 6ca90b5cb4 feat(snippet): add new subscription filter view and update snippet template
- Add new XML snippet for subscription OCA pending filter view
- Update task help text parameter from 'id' to 'name' for create-snippet command
- Add new snippet template with inherit structure and field insertion example
2025-11-24 14:42:00 +01:00
Janik von Rotz bdd83120b7 fix(task): ensure migration script continues on update-module failure
- Modify `migrate` function to prevent exit on `update-module` command failure
- Adjust `remove-ssh-key` script to improve SSH agent detection and cleanup
- Maintain compatibility with existing SSH key handling behavior
2025-11-24 13:50:34 +01:00
Janik von Rotz 84ac8aa1d9 feat(revision): release 19.0.20251121 2025-11-24 13:38:04 +01:00
Janik von Rotz 88267a15a7 fix(task): reorder arguments for generate-module-snippet and add mermaid visualization support
- Reorder `generate-module-snippet` arguments from `[path][model][ref]` to `[path][ref][model]`
- Add Mermaid diagram generation capability to `odoo-module-dependencies`
- Update `visualize-dependencies` to output generated Mermaid file content
- Improve argument validation in `generate-module-snippet` function
2025-11-20 11:26:17 +01:00
Janik von Rotz 5933c9df68 fix(task): rename generate-module to create-module and add generate-module-migration functionality 2025-11-18 08:14:32 +01:00
Janik von Rotz 69f31d8f61 fix(odoo): improve version regex matching and update documentation 2025-11-17 21:47:54 +01:00
Janik von Rotz 74f79a7eb1 fix(task): add delay parameter to open-url-with-delay calls 2025-11-17 11:44:27 +01:00
Janik von Rotz ba27a54fe2 fix(task): replace direct OS_OPEN usage with open-with-os function calls 2025-11-16 11:03:17 +01:00
Janik von Rotz a540a4291c fix(task): remove unused BROWSER_OPEN and OS_OPEN variables and related function 2025-11-16 11:01:40 +01:00
Janik von Rotz a28fa000e7 fix(snippets): correct variable casing in model snippet generation 2025-11-14 10:12:26 +01:00
Janik von Rotz 23be726df7 feat(upgrade): add container name and troubleshooting section to odoo-upgrade README 2025-11-12 11:10:31 +01:00
Janik von Rotz 1b8df4f8fc fix(revision): correct typo in OCA readme generation message 2025-11-11 09:54:33 +01:00
Janik von Rotz 8be90c7a73 feat(revision): rename and refactor test-module-repo to test-modules, update documentation and command signatures 2025-11-07 12:18:55 +01:00
Janik von Rotz f633b13c96 feat(revision): comment out clone-git-addons and add ripgrep to apt install 2025-11-07 11:17:35 +01:00
Janik von Rotz b0e413129d feat(revision): update odoo image tags to 20251106 and streamline checkout process 2025-11-07 11:13:50 +01:00
Janik von Rotz 5b1917e55c feat(task): add ripgrep installation and remove outdated MacOS instructions
- Add `ripgrep` to the list of installed packages for all supported OSes
- Remove obsolete MacOS-specific installation instructions from README.md
- Update installation messages for clarity and consistency
- Ensure `ripgrep` is included in dependency installations across platforms
2025-11-07 11:01:19 +01:00
Janik von Rotz 0bf782b78f feat(task): add aggregate-git-folders command and improve activate-venv handling
- Add new command `aggregate-git-folders` to run gitaggregate for provided repos.yaml
- Make `activate-venv` a default call for all commands by moving it to the main execution block
- Remove redundant `activate-venv` calls from individual functions
- Improve `activate-venv` function with better error handling and messaging
- Update CHANGELOG.md to reflect the changes
- Fix regex pattern in install-requirements for requirements.txt file detection
- Set default language for Odoo initialization via environment variable
- Remove deprecated `activate-venv` call from version command
2025-11-07 10:54:55 +01:00
Janik von Rotz e5e4607201 feat(task): add run-open-upgrade command and rename upgrade-odoo to run-enterprise-upgrade 2025-11-07 08:10:59 +01:00
Janik von Rotz 4b1f9df214 feat(task): refactor migrate-module function and improve module path handling
- Remove unused Odoo version-specific migration logic
- Simplify module path extraction using dirname and basename
- Activate virtual environment before running odoo-module-migrator
- Improve clarity and maintainability of migration command execution
- Remove commented-out code blocks for better readability
2025-11-05 16:20:02 +01:00