1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/models
Sylvain c7a59c8cb7 WIP: refactoring to singularize the booking process
We need to achieve only one process for all booking, not one for subscription, one for reservations, etc.
Moreover we must store one object per invoice_item/payment_schedule_object and stop using Invoice.invoiced or PaymentSchedule.scheduled
2021-05-21 18:25:18 +02:00
..
cart_item WIP: refactoring to singularize the booking process 2021-05-21 18:25:18 +02:00
concerns [feature] Ability to set project's CAO attachement maximum upload size 2019-09-24 16:40:38 +02:00
open_api use openlab_app_secret from db w/ openlab_ruby gem 2020-06-08 15:17:56 +02:00
project secure the settings API (read) + read the openlab settings from the db 2020-06-08 15:08:07 +02:00
stats [to test] space reservations 2017-02-28 18:13:38 +01:00
.keep init depot fabmanager 2015-05-05 03:10:25 +02:00
abuse.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
accounting_period.rb refactor code related to archiving 2021-04-16 10:34:02 +02:00
address.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
age_range.rb class documentation 2020-03-30 11:33:12 +02:00
application_record.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
asset.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
auth_provider.rb address required 2021-03-23 11:49:05 +01:00
availability_tag.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
availability.rb fix tests 2020-06-10 11:52:54 +02:00
avoir.rb refactored Invoice & PaymentSchedule to use inheritance 2020-12-22 14:43:08 +01:00
category.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
component.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
coupon.rb create payment schedules on payzen 2021-04-30 16:07:19 +02:00
credit.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
custom_asset_file.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
custom_asset.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
database_provider.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
event_file.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
event_image.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
event_price_category.rb [bug] unable to delete an unreserved event 2020-04-28 10:05:28 +02:00
event_theme.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
event.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
export.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
footprint_debug.rb improved footprint debug process 2021-04-16 16:03:10 +02:00
footprintable.rb improved footprint debug process 2021-04-16 16:03:10 +02:00
group.rb [bug] unable to rename a group containing users 2020-10-20 15:52:14 +02:00
history_value.rb improved footprint debug process 2021-04-16 16:03:10 +02:00
i_calendar_event.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
i_calendar.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
import.rb WIP: enforce mime type checking for uploads 2020-06-02 19:18:57 +02:00
invoice_item.rb WIP: refactor models to use payment_gateway_objects 2021-04-21 17:38:06 +02:00
invoice.rb Merge branch 'dev' into payzen 2021-05-17 15:07:41 +02:00
invoicing_profile.rb WIP: address_required 2021-03-22 18:02:56 +01:00
licence.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
machine_file.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
machine_image.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
machine.rb WIP: array of items 2021-05-19 18:12:52 +02:00
machines_availability.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
notification_type.rb generate the invoices for each schedule item and notify if something goes wrong 2021-01-25 13:05:27 +01:00
notification.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
o_auth2_mapping.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
o_auth2_provider.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
offer_day.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
open_api.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
organization.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
partner_plan.rb change statistic_service to use statistic_profile + use raw sql in migrations 2019-06-06 13:58:49 +02:00
payment_document.rb handle wallet transaction w/ stripe subscription 2020-12-29 18:55:00 +01:00
payment_gateway_object.rb WIP: move backend code base to new architecture 2021-04-23 17:54:59 +02:00
payment_schedule_item.rb WIP: move backend code base to new architecture 2021-04-23 17:54:59 +02:00
payment_schedule.rb create payment schedules on payzen 2021-04-30 16:07:19 +02:00
plan_file.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
plan.rb WIP: array of items 2021-05-19 18:12:52 +02:00
plans_availability.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
price_category.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
price.rb refactor to use the new price computation system based on ShoppingCart 2021-04-23 12:52:06 +02:00
profile.rb [bug] some invoices does not have the name of the user 2021-05-14 17:07:38 +02:00
project_cao.rb WIP: enforce mime type checking for uploads 2020-06-02 19:18:57 +02:00
project_image.rb WIP: enforce mime type checking for uploads 2020-06-02 19:18:57 +02:00
project_step_image.rb WIP: enforce mime type checking for uploads 2020-06-02 19:18:57 +02:00
project_step.rb use search index to speed up projects searches 2020-06-23 17:06:59 +02:00
project_user.rb [bug] notification not sent 2021-04-06 14:16:03 +02:00
project.rb using unaccent to build project search index + updated doc 2020-06-30 15:58:39 +02:00
reservation.rb WIP: refactoring to singularize the booking process 2021-05-21 18:25:18 +02:00
role.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
setting.rb set payzen currency 2021-04-07 16:21:12 +02:00
shopping_cart.rb WIP: refactoring to singularize the booking process 2021-05-21 18:25:18 +02:00
slot.rb [bug] email notification after reservation update have wrong previous date (#234) 2020-10-20 15:14:11 +02:00
slots_reservation.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
space_file.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
space_image.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
space.rb WIP: array of items 2021-05-19 18:12:52 +02:00
spaces_availability.rb documented all models until StatisticField + fixes halting callback chains via returning false + improved some code 2020-03-25 17:45:53 +01:00
statistic_custom_aggregation.rb class documentation 2020-03-30 11:33:12 +02:00
statistic_field.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
statistic_graph.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
statistic_index.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
statistic_profile_training.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
statistic_profile.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
statistic_sub_type.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
statistic_type_sub_type.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
statistic_type.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00
stylesheet.rb use i18next instead of angular-translate for react components 2020-11-02 11:07:08 +01:00
subscription.rb WIP: refactoring to singularize the booking process 2021-05-21 18:25:18 +02:00
tag.rb class documentation 2020-03-30 11:33:12 +02:00
theme.rb class documentation 2020-03-30 11:33:12 +02:00
ticket.rb class documentation 2020-03-30 11:33:12 +02:00
training_image.rb class documentation 2020-03-30 11:33:12 +02:00
training.rb WIP: array of items 2021-05-19 18:12:52 +02:00
trainings_availability.rb class documentation 2020-03-30 11:33:12 +02:00
trainings_pricing.rb class documentation 2020-03-30 11:33:12 +02:00
user_avatar.rb class documentation 2020-03-30 11:33:12 +02:00
user_tag.rb class documentation 2020-03-30 11:33:12 +02:00
user.rb Merge branch 'dev' into payzen 2021-05-17 15:07:41 +02:00
users_credit.rb Alert before cancelling a reservation that credits will be lost 2020-09-29 12:03:13 +02:00
wallet_transaction.rb create stripe subscription with all data 2020-11-12 16:44:55 +01:00
wallet.rb inherit models from ApplicationRecord 2020-03-25 12:35:09 +01:00