Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
580c34c
First commit of stays.. still in progress
samontour Jul 29, 2024
a108490
nouveau formulaire
samontour Jul 31, 2024
9afd565
revies du model autours des Stay & StayItems
samontour Jul 31, 2024
2328828
show stay + migration pour payment
samontour Aug 1, 2024
8df27a2
stay show details
samontour Aug 1, 2024
3736dc0
Payment, PaymentRequest + items ... work in progress
samontour Aug 6, 2024
43dcd76
Annotate models
mhulet Aug 12, 2024
172c8ff
Allow stay.customer_id to be null
mhulet Aug 12, 2024
cfc6bbe
Add stay.draft boolean
mhulet Aug 12, 2024
213095d
Create stay on form init
mhulet Aug 12, 2024
09eedfd
Allow stay.customer_id to be optional
mhulet Aug 12, 2024
47f9469
Prepare stay form for stay items
mhulet Aug 12, 2024
e8a7567
Add stay item modal, service and controller
mhulet Aug 12, 2024
9ce2bfe
Merge branch 'stays' of https://github.com/les4sources/claudy into stays
samontour Aug 12, 2024
462ee71
Add stay items from modals
mhulet Aug 13, 2024
b96d6cb
Merge branch 'stays' of https://github.com/les4sources/claudy into stays
samontour Aug 13, 2024
87004ec
changes in stay following latest update
samontour Aug 14, 2024
442879c
payments for stays
samontour Aug 16, 2024
3dccceb
add rooms & beds to the stay
samontour Aug 19, 2024
f30fd62
check availability, lookup customer, delete stay, past stay, agenda
samontour Aug 20, 2024
5440090
agenda udpate + stay item dates initialized with stay dates
samontour Aug 21, 2024
d5bfa70
setting up pricing
samontour Aug 27, 2024
1944cec
calculate price for item product
samontour Aug 28, 2024
26eb666
calculate price for experience, rental item
samontour Aug 28, 2024
57c754e
calculation service for stay items
samontour Aug 29, 2024
13c9a8a
fixing issue with payment_requests drop
samontour Aug 29, 2024
07bdb9f
item payments + badges
samontour Aug 30, 2024
7378ebd
stay payment
samontour Sep 1, 2024
1f18251
payment details
samontour Sep 4, 2024
8fc7307
day & calendar view
samontour Sep 8, 2024
3d16bc9
other stay + review stay item dates + fix show stay
samontour Sep 9, 2024
687b934
Update schema.rb
mhulet Dec 18, 2024
8bc1e07
Update _navbar.html.slim
mhulet Dec 18, 2024
3d69280
Merge branch 'main' into stays
mhulet Dec 18, 2024
c9ebf08
WIP on the Stay form
mhulet Dec 18, 2024
1410321
WIP on stays
mhulet Dec 18, 2024
ca85754
Update public activities for stays
mhulet Dec 20, 2024
e7edce5
Squashed commit of the following:
mhulet Dec 20, 2024
a42b110
Show stay items table on stays#show
mhulet Dec 20, 2024
63c2593
Update code for stays
mhulet Jan 3, 2025
12e23ce
Add customers CRUD
mhulet Jul 8, 2025
8a003a0
Fix customer lookup
mhulet Jul 8, 2025
95946a4
Disable stay composition until dates are provided
mhulet Jul 8, 2025
c6a9e59
WIP on migration
mhulet Jul 8, 2025
bcba75c
Space bookings migration
mhulet Jul 9, 2025
87636a8
WIP on public stay page
mhulet Jul 9, 2025
64b640a
WIP on public stay page
mhulet Jul 9, 2025
18d2e4f
WIP on stay public page
mhulet Jul 10, 2025
559784b
Update accounting page
mhulet Jul 10, 2025
38c77f1
Fix payments list
mhulet Jul 10, 2025
dce7f8d
Add task-master
mhulet Jul 27, 2025
08517c8
WIP on dashboard calendar
mhulet Jul 27, 2025
9a32ff8
WIP
mhulet Jul 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .cursor/mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"mcpServers": {
"task-master-ai": {
"command": "npx",
"args": ["-y", "--package=task-master-ai", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
"OPENAI_API_KEY": "YOUR_OPENAI_KEY_HERE",
"GOOGLE_API_KEY": "YOUR_GOOGLE_KEY_HERE",
"XAI_API_KEY": "YOUR_XAI_KEY_HERE",
"OPENROUTER_API_KEY": "YOUR_OPENROUTER_KEY_HERE",
"MISTRAL_API_KEY": "YOUR_MISTRAL_KEY_HERE",
"AZURE_OPENAI_API_KEY": "YOUR_AZURE_KEY_HERE",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY_HERE"
}
}
}
}
53 changes: 53 additions & 0 deletions .cursor/rules/cursor_rules.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
description: Guidelines for creating and maintaining Cursor rules to ensure consistency and effectiveness.
globs: .cursor/rules/*.mdc
alwaysApply: true
---

- **Required Rule Structure:**
```markdown
---
description: Clear, one-line description of what the rule enforces
globs: path/to/files/*.ext, other/path/**/*
alwaysApply: boolean
---

- **Main Points in Bold**
- Sub-points with details
- Examples and explanations
```

- **File References:**
- Use `[filename](mdc:path/to/file)` ([filename](mdc:filename)) to reference files
- Example: [prisma.mdc](mdc:.cursor/rules/prisma.mdc) for rule references
- Example: [schema.prisma](mdc:prisma/schema.prisma) for code references

- **Code Examples:**
- Use language-specific code blocks
```typescript
// ✅ DO: Show good examples
const goodExample = true;

// ❌ DON'T: Show anti-patterns
const badExample = false;
```

- **Rule Content Guidelines:**
- Start with high-level overview
- Include specific, actionable requirements
- Show examples of correct implementation
- Reference existing code when possible
- Keep rules DRY by referencing other rules

- **Rule Maintenance:**
- Update rules when new patterns emerge
- Add examples from actual codebase
- Remove outdated patterns
- Cross-reference related rules

- **Best Practices:**
- Use bullet points for clarity
- Keep descriptions concise
- Include both DO and DON'T examples
- Reference actual code over theoretical examples
- Use consistent formatting across rules
72 changes: 72 additions & 0 deletions .cursor/rules/self_improve.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
description: Guidelines for continuously improving Cursor rules based on emerging code patterns and best practices.
globs: **/*
alwaysApply: true
---

- **Rule Improvement Triggers:**
- New code patterns not covered by existing rules
- Repeated similar implementations across files
- Common error patterns that could be prevented
- New libraries or tools being used consistently
- Emerging best practices in the codebase

- **Analysis Process:**
- Compare new code with existing rules
- Identify patterns that should be standardized
- Look for references to external documentation
- Check for consistent error handling patterns
- Monitor test patterns and coverage

- **Rule Updates:**
- **Add New Rules When:**
- A new technology/pattern is used in 3+ files
- Common bugs could be prevented by a rule
- Code reviews repeatedly mention the same feedback
- New security or performance patterns emerge

- **Modify Existing Rules When:**
- Better examples exist in the codebase
- Additional edge cases are discovered
- Related rules have been updated
- Implementation details have changed

- **Example Pattern Recognition:**
```typescript
// If you see repeated patterns like:
const data = await prisma.user.findMany({
select: { id: true, email: true },
where: { status: 'ACTIVE' }
});

// Consider adding to [prisma.mdc](mdc:.cursor/rules/prisma.mdc):
// - Standard select fields
// - Common where conditions
// - Performance optimization patterns
```

- **Rule Quality Checks:**
- Rules should be actionable and specific
- Examples should come from actual code
- References should be up to date
- Patterns should be consistently enforced

- **Continuous Improvement:**
- Monitor code review comments
- Track common development questions
- Update rules after major refactors
- Add links to relevant documentation
- Cross-reference related rules

- **Rule Deprecation:**
- Mark outdated patterns as deprecated
- Remove rules that no longer apply
- Update references to deprecated rules
- Document migration paths for old patterns

- **Documentation Updates:**
- Keep examples synchronized with code
- Update references to external docs
- Maintain links between related rules
- Document breaking changes
Follow [cursor_rules.mdc](mdc:.cursor/rules/cursor_rules.mdc) for proper rule formatting and structure.
Loading