145a76348c
Pass actor parameter in seeds and update test setup
...
Ensure cycle generation in seeds uses admin actor and update test
to use global admin_user from ConnCase setup.
2026-01-13 15:17:05 +01:00
4fffeeaaa0
Fix: Seeds use admin actor instead of NoActor bypass
...
This ensures seeds work correctly with the new fail-closed NoActor
policy in production, using proper authorization instead of bypass.
2026-01-13 15:01:55 +01:00
922f9f93d0
Merge branch 'main' into feature/223_memberfields_settings
continuous-integration/drone/push Build is passing
2026-01-12 13:15:40 +01:00
2f03f7c00c
feat: assign admin role to admin user in seeds
...
- Create Admin role if it doesn't exist
- Assign Admin role to admin@mv.local user
- Remove separate create_admin_role script (integrated into seeds)
2026-01-08 16:16:54 +01:00
36776f8e28
fix tests and linting
2026-01-07 18:11:36 +01:00
0c8a255476
Merge branch 'main' into feature/273_member_fields
continuous-integration/drone/push Build is failing
2026-01-07 10:22:18 +01:00
29a953c038
fix: prevent migration rollback failure when NULL values exist
2026-01-07 09:52:40 +01:00
ce1d5790a3
refactor: squash migrations into single authorization domain migration
...
Combine initial authorization migration with UUIDv7 update into
one migration. Migration now creates roles table with UUIDv7
default and explicit on_delete: :restrict FK constraint.
2026-01-06 18:37:39 +01:00
402a78dd0a
refactor: update migration for UUIDv7 and explicit FK constraint
...
- Add on_delete: :restrict to users.role_id foreign key
- Update roles.id to use uuid_generate_v7() default
- Regenerate resource snapshots
2026-01-06 18:14:18 +01:00
851d63f626
feat: add authorization domain migration
...
Create roles table and add role_id to users table with indexes
and foreign key constraints.
2026-01-06 17:18:34 +01:00
7188315577
tests: fixes tests
2026-01-02 16:20:39 +01:00
17540c6b1d
feat: removes phoen number as member field and makes name optional
2026-01-02 16:19:06 +01:00
a8ea121800
Refactor cycle generator and update translations
...
continuous-integration/drone/push Build is passing
Extract error handling into separate functions to reduce nesting depth.
2025-12-26 21:01:17 +01:00
a03056e6ae
Make seed script deterministic and idempotent for fee type assignments
...
Fix update action name from :update to :update_member for Member resource
2025-12-22 16:56:12 +01:00
239d784f3c
Update seeds: member without fee type, cycles with various statuses
...
Add member without membership fee type. Generate cycles for members
with fee types and set different statuses: all paid, all unpaid, and
mixed (paid/unpaid/suspended). Update tests accordingly.
2025-12-18 15:11:03 +01:00
f25e198b0e
Update cycle button styling and text
...
Make cycle button match PaymentFilterComponent and Columns button style.
Show 'Current Cycle Payment Status' or 'Last Cycle Payment Status'
based on active state. Button shows active state when current cycle
is selected.
2025-12-18 15:11:03 +01:00
effb710741
Assign membership fee types to all seed members
...
Ensure all members created in seeds are assigned to a membership fee type
using round-robin distribution. Add tests to verify all members have fee
types and each fee type has at least one member.
2025-12-18 15:11:03 +01:00
098b3b0a2a
Remove paid field from members
...
Remove paid field from Member resource, database migration,
tests, seeds, and UI. This field is no longer needed as payment
status is now tracked via membership fee cycles.
2025-12-18 15:11:02 +01:00
d75e2b7a46
feat: add 4 example membership fee types to seed script
continuous-integration/drone/push Build is passing
2025-12-18 11:54:23 +01:00
25cc41b02e
feat: implement automatic cycle generation for members
...
- Add CycleGenerator module with advisory lock mechanism
- Add SetMembershipFeeStartDate change for auto-calculation
- Extend Settings with include_joining_cycle and default_membership_fee_type_id
- Add scheduled job skeleton for future Oban integration
2025-12-16 16:40:11 +01:00
8bfa5b7d1d
chore: remove immutable from custom fields
2025-12-16 14:35:00 +01:00
ebbf347e42
fix(membership-fees): add DB constraints for enum and decimal precision
continuous-integration/drone/push Build is passing
2025-12-11 18:46:48 +01:00
4d1b33357e
feat(membership-fees): add database schema and Ash domain structure
2025-12-11 18:46:48 +01:00
265e976d94
fix: simplify JSONB extraction - remove redundant operators
...
- Replace 4 LIKE checks with 2 in build_custom_field_filter
- Simplify CASE blocks in migration trigger functions
- ->> operator always returns text, no need for -> + ::text fallback
- Performance improvement: 50% fewer LIKE operations
2025-12-11 13:49:05 +01:00
c2302c5861
chore: adds migration for ts vector custom field
2025-12-11 13:44:30 +01:00
c8968636a8
feat: remove birth_date field from Member resource
...
continuous-integration/drone/push Build is passing
Users who need birthday data can use custom fields instead.
Closes #161
2025-12-02 14:58:50 +01:00
d10f2ecc90
chore: adds migration for member field visibility
2025-12-02 14:16:02 +01:00
f9ff6d3d2d
fix: remove unused branch in seeds and fixed translations
continuous-integration/drone/push Build is passing
2025-12-01 10:54:12 +01:00
37553d8d6c
feat: adds settings live view and updated seeds
2025-12-01 10:42:10 +01:00
193618eace
chore: adds settings ressource and migration
2025-12-01 10:42:10 +01:00
b509dc4ea3
chore: add migration for show in overview flag
2025-12-01 08:50:06 +01:00
2af23f4042
feat: custom field deletion
2025-11-20 15:04:08 +01:00
edf8b2b79e
feat: add custom field slug
2025-11-20 14:23:25 +01:00
7f77eb7023
feat: Add German translations and extended seeds for custom fields
2025-11-13 18:52:24 +01:00
8400e727a7
refactor: Rename Property/PropertyType to CustomFieldValue/CustomField
...
continuous-integration/drone/push Build is passing
Complete refactoring of resources, database tables, code references, tests, and documentation for improved naming consistency.
2025-11-13 18:04:53 +01:00
e920d6b39c
chore: added trigram migration for fuzzy search
2025-10-30 16:48:45 +01:00
41e3a52482
test: updated tests
2025-10-30 16:42:19 +01:00
7c1aeddad4
add constraints for member-user and member-property
2025-10-16 15:28:31 +02:00
59a8067c09
add some comments
2025-10-16 15:28:30 +02:00
d8ec828df0
feat: make member emails unique
2025-10-16 12:30:01 +02:00
98f4768e00
feat: seed member user relations
2025-10-16 12:30:01 +02:00
72a8415cb3
feat: member user relation
2025-10-16 12:30:01 +02:00
dd03000428
chore: adds tsvector to members
2025-09-17 13:34:14 +02:00
7118782a2d
Add seed data for members
2025-08-21 14:11:55 +02:00
dd77be0388
Add seed script for admin user
2025-08-15 10:11:12 +02:00
b796746a45
fix(citext): added missing citext extension migration
2025-07-02 17:03:37 +02:00
0ff41f7c93
migration: added account migration
2025-07-02 17:03:37 +02:00
7bfde5e230
doc: added comments and updated to latest ashautentication version and required changes
2025-07-02 17:03:37 +02:00
192ceaed45
chore(AshAuthenticationPhoenix): added library and updated ressources testing password strategy
2025-07-02 17:03:37 +02:00
f154eea055
feat(ash): added accounts, user for authentication
2025-07-02 17:03:37 +02:00