Sylvain
4e4ab9c4c2
load angular templates with webpack
2020-09-22 14:20:47 +02:00
Sylvain
2ef7c06cb2
updated fontawesome to v5 + fix load fonts with webpack
2020-09-22 11:28:42 +02:00
Sylvain
5764233c67
fix stylesheets compilation with webpack
2020-09-22 09:45:18 +02:00
Sylvain
f3be8961cf
fix 404 for no_avatar.png
2020-09-21 15:53:02 +02:00
Sylvain
31d1071f87
revert real usage of templateUrl
2020-09-21 15:11:39 +02:00
Sylvain
9b6e5408f9
refactor usage of html templates in JS to make it compatible with webpack html-loader
2020-09-21 14:50:28 +02:00
Sylvain
e70ecc2670
eslint router
2020-09-21 13:23:42 +02:00
Sylvain
d43516f6fe
fixes [:ctrlreg] The controller with the name '...' is not registered
2020-09-21 13:23:28 +02:00
Sylvain
b2bbbf5c79
renamed router.js without erb extension
2020-09-21 09:40:00 +02:00
Sylvain
734ed09464
removed useless ERB extensions
...
Must speed-up webpack compilation process
2020-09-21 09:27:55 +02:00
Sylvain
45d60952b7
[WIP] fix webpack dependencies with global variables
...
Using:
- expose-loader
- exports-loader
- import-loader
- https://medium.com/@drgenejones/using-webpack-with-legacy-angular-spas-exposing-global-variables-to-child-modules-599e32f373c9
2020-09-16 16:54:56 +02:00
Sylvain
ad2ca33c6f
export Application (shimming)
2020-09-16 15:38:07 +02:00
Sylvain
72d79e8e31
fix erb+nonJS loaders
2020-09-16 14:12:45 +02:00
Sylvain
0cf1b535cd
updated summernote
2020-09-15 17:01:47 +02:00
Sylvain
39682e24e4
fix locales with webpack
2020-09-15 15:00:05 +02:00
Sylvain
b760c10414
fix sass for webpack
2020-09-15 12:57:54 +02:00
Sylvain
ec8fe3bf28
fixes import of JS dependencies
2020-09-14 16:08:49 +02:00
Sylvain
4e076c32ee
using bootsrap-sass + erb fixes
2020-09-09 16:26:51 +02:00
Sylvain
85a51e1b46
removed useless erb extensions
2020-09-09 15:42:05 +02:00
Sylvain
6e5713438f
remove useless references to asset_pack_path or equivalents
2020-09-09 15:28:35 +02:00
Sylvain
44ca50b4e1
load template and erb with webpack
2020-09-09 11:54:49 +02:00
Sylvain
cd1abb15e8
enable splitchunk
2020-09-09 08:51:53 +02:00
Sylvain
e37e368e90
updated links to html assets to use webpacker
2020-09-09 08:45:48 +02:00
Sylvain
75aa90070c
moved javascript from sprocket to webpacker
2020-09-09 08:45:02 +02:00
Sylvain
9ee8b3a6ef
migrate from asset pipeline to webpacker
...
- migrated images
- ongoing stylesheets migration
2020-09-08 16:53:45 +02:00
Sylvain
9efab4e3a1
migrate to webpack
...
https://mariochavez.io/desarrollo/2020/05/19/from-the-asset-pipeline-to-webpack.html
2020-09-07 15:52:05 +02:00
Sylvain
2083ce6778
[bug] unable to pay by card for events reservation ( #229 )
...
The setting online_payment_module was not requested by the router before loading the page, so it was always evaluated to false= online payment disabled
2020-08-31 17:39:50 +02:00
Sylvain
d708f0a3e7
[bug] unable to search for projects on OpenLab
2020-08-24 16:19:03 +02:00
Sylvain
190e815f73
[bug] unable to export subscriptions
2020-07-22 12:33:35 +02:00
Sylvain
19fb816d36
Enhanced rake task to create fixtures for test cases
2020-07-22 09:45:20 +02:00
Sylvain
14b0b2ac30
class documentation
2020-07-21 19:28:30 +02:00
Sylvain
7bf06ff23e
debug footprints
2020-07-21 19:25:21 +02:00
Sylvain
d9be51b01b
[admin form] show if phone is required
2020-07-21 18:04:20 +02:00
Sylvain
e5cef6e6bf
[bug] unable to export reservations
2020-07-21 17:25:19 +02:00
Sylvain
956d865e4f
[bug] unable to set stripe public key in production
2020-07-01 17:57:33 +02:00
Sylvain
a83a42c70c
[bug] Health API is broken if ElasticSearch is not present
2020-07-01 15:13:44 +02:00
Sylvain
5eae1c74a8
[bug] Unable to access the invoices section if the stripe key was not set or incorrect
2020-07-01 12:15:45 +02:00
Sylvain
e644e4894a
using unaccent to build project search index + updated doc
2020-06-30 15:58:39 +02:00
Sylvain
cce70d33a9
fix GA host configuration + updated doc about default_host
2020-06-29 16:53:13 +02:00
Sylvain
5f0a9ed572
remove dead code
2020-06-29 15:12:32 +02:00
Sylvain
e95b270433
multiples fixes
...
- improved project search
- fix db schema (sql)
- improved doc
- removed es_language_analyzer var (deprecated)
2020-06-24 17:22:38 +02:00
Sylvain
8137418904
improved test for accounting periods
2020-06-24 15:25:17 +02:00
Sylvain
e288f66997
use search index to speed up projects searches
2020-06-23 17:06:59 +02:00
Sylvain
23338eb36d
refactored project search using service
2020-06-23 15:45:38 +02:00
Sylvain
7140571d63
filter & search projets from postgres
2020-06-23 11:19:20 +02:00
Sylvain
1a6cd356bf
WIP: using postgres for full-text search in projects
2020-06-22 16:28:05 +02:00
Sylvain
d83e3a8d26
using gem pg_search
2020-06-22 11:25:35 +02:00
Sylvain
7af6f18973
source for building search engine
2020-06-17 16:56:10 +02:00
Sylvain
a164ec402d
poc using tsvector
2020-06-17 16:49:38 +02:00
Sylvain
40dd39304e
enable/disable statistics module fomr the UI
2020-06-17 12:20:51 +02:00
Sylvain
28781a7bf4
fix default duration for new training session
2020-06-16 15:23:54 +02:00
Sylvain
933ce5df71
[bug] summary of create training availability shows incorrect alert about slot splitting
2020-06-16 14:29:18 +02:00
Sylvain
5e8aeb928c
fix refactoring issue in /api/open_api_clients
2020-06-15 17:07:28 +02:00
Sylvain
b790bc01e7
fix access to /admin/invoices for managers
2020-06-15 16:56:43 +02:00
Sylvain
be9ee9d25d
complete features-tour for invoices page
2020-06-15 15:56:55 +02:00
Sylvain
dbbf306bf2
complete features-tour for projects page
2020-06-15 15:43:28 +02:00
Sylvain
6af5f51ff2
complete features-tour for settings page
2020-06-15 15:32:30 +02:00
Sylvain
24155bc009
ability to lock settings from the env vars
2020-06-15 13:20:48 +02:00
Sylvain
42872ab107
configure wallet from UI
2020-06-15 12:44:43 +02:00
Sylvain
f46c78a476
read email_confirmation_required from the UI
2020-06-15 11:57:13 +02:00
Sylvain
48bcf0b838
configure invoices prefix from the DB
2020-06-15 10:58:15 +02:00
Sylvain
b66cb5d334
WIP: set invoice_prefix from the UI
2020-06-10 17:35:54 +02:00
Sylvain
2d0e201cb7
fix send notification after members sync
2020-06-10 16:45:48 +02:00
Sylvain
78518e17fb
read stripe_currency from the UI
...
We prevent the currency from being changed if any stripe payment was made, because a stripe user cannot made pay with different currencies. If we try to charge a user with a different currency than the currency he used for a previous payment, this will fail; so we must prevent this case
2020-06-10 16:37:11 +02:00
Sylvain
401cf6b7ec
fix stripe public key from payment modal
2020-06-10 11:58:42 +02:00
Sylvain
4b8504f531
fix tests
2020-06-10 11:52:54 +02:00
Sylvain
82d6677cff
read stripe_api_key from db
2020-06-10 11:33:03 +02:00
Sylvain
88208627c9
read stripe_public_key from the db
2020-06-10 11:02:30 +02:00
Sylvain
3596e9a7a7
fix Stripe::RateLimitError
2020-06-09 19:03:01 +02:00
Sylvain
9ff0a06029
many sidekiq fixes
2020-06-09 18:51:57 +02:00
Sylvain
dbda82ac9b
notify after members sync on stripe
2020-06-09 15:06:46 +02:00
Sylvain
a70668f52a
sync members on stripe after keys update
2020-06-09 14:27:18 +02:00
Sylvain
d5939a9de5
set the stripe keys from the UI
2020-06-09 13:09:31 +02:00
Sylvain
593c38e9de
update settings whitelist
2020-06-08 17:45:43 +02:00
Sylvain
06b5da9df8
configure online payment from the UI
2020-06-08 17:42:59 +02:00
Sylvain
b44a8da73b
set openlab_default from the UI
2020-06-08 16:15:44 +02:00
Sylvain
f78eb10c75
use openlab_app_secret from db w/ openlab_ruby gem
2020-06-08 15:17:56 +02:00
Sylvain
88f2fb3749
secure the settings API (read) + read the openlab settings from the db
2020-06-08 15:08:07 +02:00
Sylvain
db8de18bd4
set openlab-projects id & secret from the UI
2020-06-08 11:38:49 +02:00
Sylvain
6af3f12917
use the db settings to validate mime types & extensions + fix texts + force lowercase
2020-06-03 17:56:39 +02:00
Sylvain
8f32eb92db
interface to manage file extensions & mime types
2020-06-03 17:39:32 +02:00
Sylvain
5c152412db
test mime type of a file
...
use marcel to test mime types
updated mimemagic
2020-06-03 16:25:13 +02:00
Sylvain
743f3e510a
WIP: Test the mime type of a file
2020-06-03 15:33:04 +02:00
Sylvain
a5e1b77ce4
check the file content with mimemagic for project CAD files
2020-06-03 12:28:04 +02:00
Sylvain
2082f1e11c
fix avatar refresh on update
2020-06-03 10:21:13 +02:00
Sylvain
ebe602ad1c
WIP: enforce mime type checking for uploads
2020-06-02 19:18:57 +02:00
Sylvain
45013be950
configure default_host & default_protocol from env
...
reverts 478a6c40
(partially) & b2434864
2020-06-02 18:29:24 +02:00
Sylvain
1a38a8750b
updated carrierware + validate file upload in front
2020-06-02 17:57:24 +02:00
Sylvain
ee3868cb90
improve layout for settings
2020-06-02 12:14:57 +02:00
Sylvain
075b642cc8
remove useless & broken item_url(...) methods
2020-06-02 11:37:24 +02:00
Sylvain
86336e3619
fix app unable to start
...
message:
no connection pool with 'primary' found postgres
2020-06-02 10:25:52 +02:00
Sylvain
9a0f36c245
configure disqus_shortname from the UI
2020-06-01 18:31:43 +02:00
Sylvain
59cb17789c
rename section project_elements to projects
2020-06-01 17:52:39 +02:00
Sylvain
cc3ed864d0
move templates from project_elements to projects
2020-06-01 17:52:20 +02:00
Sylvain
478a6c409d
define default_protocol & default_host from the UI + fix email_from + various minor fixes
2020-06-01 17:32:32 +02:00
Sylvain
0617e4cd26
configure default_mail_from from the UI
2020-06-01 12:15:16 +02:00
Sylvain
434c211ccf
configure the features tour display mode from the UI
2020-05-27 18:49:53 +02:00
Sylvain
243809f167
select-setting directive
2020-05-27 17:07:55 +02:00
Sylvain
0d211e2e31
configure google recaptcha from UI
2020-05-27 16:35:30 +02:00
Sylvain
c3846e7080
configure twitter analytics from the UI
2020-05-27 15:39:39 +02:00
Sylvain
628a0f3bc3
configure facebook_app_id from the UI
2020-05-27 12:29:51 +02:00
Sylvain
fc13263a89
refactor to use text-setting
2020-05-27 11:30:50 +02:00
Sylvain
78bd037694
text-setting directive
2020-05-27 11:18:26 +02:00
Sylvain
2d628d8826
disable the invoicing module from the UI config panel
2020-05-26 18:07:07 +02:00
Sylvain
537743a740
configure the plans module from the admin UI
2020-05-26 15:39:28 +02:00
Sylvain
6cc6bba7ce
refactored app to gather spaces module status from the settings
2020-05-26 13:59:40 +02:00
Sylvain
fd93093f0d
UI to configure the spaces module
2020-05-26 10:53:49 +02:00
Sylvain
acefc325f6
configure events_in_calendar form the UI panel
2020-05-25 17:36:53 +02:00
Sylvain
57ceeec2e7
refactored settings/reservations/confidentiality section
2020-05-25 17:05:54 +02:00
Sylvain
01017f3012
fix setting.get for boolean
2020-05-25 16:47:06 +02:00
Sylvain
98c63e8327
[bug] managers do not see the name of the user who reserved a slot
2020-05-25 16:35:21 +02:00
Sylvain
2b0eb47730
reorganized settings/reservations
2020-05-25 16:10:40 +02:00
Sylvain
3135abcee6
retrieve phone_required directly from the api
2020-05-25 16:02:40 +02:00
Sylvain
ed287884de
retrieve book_overlapping_slots directly from the api
2020-05-25 15:28:06 +02:00
Sylvain
54d9b348e0
retrieve slot_duration directly from the api, in the front-end
2020-05-25 15:16:40 +02:00
Sylvain
ba4c39ca99
use slot duration from the db setting
2020-05-25 12:55:01 +02:00
Sylvain
a63340188b
configure default slot duration from settings panel
2020-05-25 12:55:01 +02:00
Sylvain
1ad0720711
number-setting directive + refactored admin/settings to use new directive
2020-05-25 12:55:01 +02:00
Sylvain
cb2ad950b5
update setting in memory after save
2020-05-25 12:55:01 +02:00
Sylvain
af45f5bbcd
refactored settings to use boolean-setting directive
2020-05-25 12:55:01 +02:00
Sylvain
906564e5e5
boolean-setting directive + eslint on .js.erb + refactored book_overlapping_slots using the new directive
2020-05-25 12:55:01 +02:00
Sylvain
e625f8c7f7
reorganized home directives
2020-05-25 12:55:01 +02:00
Sylvain
ddce7f516a
configuration of book concurrent slots through the settings interface
2020-05-25 12:55:00 +02:00
Sylvain
419605e551
configuration of google analytics tracking ID through the settings interface
2020-05-25 12:55:00 +02:00
Sylvain
4841027216
interface to collect the google analytics ID
2020-05-25 12:55:00 +02:00
Sylvain
701d18d501
Improved display of the icons alerting about an outdated version
2020-05-25 12:54:58 +02:00
Sylvain
13bcd9a1f8
use phoneRequired from settings instead of env
2020-05-25 12:54:19 +02:00
Sylvain
f80eb230ca
refactored code to use Setting.get
2020-05-25 12:54:19 +02:00
Sylvain
654d4b1cb4
setting: phone_required
2020-05-25 12:54:19 +02:00
Sylvain
bf57587301
[bug] recurrent availabilities do not keep the custom duration
2020-05-25 11:03:31 +02:00
Sylvain
18e2b032ae
fix import users from csv
2020-05-19 11:45:51 +02:00
Sylvain
c9670c9d1d
[bug] openAPI clients interface has a bugged behavior when creating/editing a client
2020-05-18 18:09:13 +02:00
Sylvain
2b95c043e3
Removed dependency to has_secure_token to fix warnings about already initialized constant
2020-05-18 17:45:01 +02:00
Sylvain
6c1a500ffa
add the url of our website into the endpoint
2020-05-18 17:10:04 +02:00
Sylvain
fdc2f60ff5
[bug] when a new account is created through the sign-up modal, the role is not reported in the StatisticProfile ( #196 )
...
Also: if a member was deleted the /api/members/mapping will raise an error
2020-05-18 16:23:53 +02:00
Joel Shprentz
dc2ae51b07
Add missing ? to create? method name.
2020-05-15 17:36:43 -04:00
Sylvain
ca7a50bacc
[bug] admin's members list shows the same members multiple times
2020-05-13 10:59:16 +02:00
Sylvain
7e1edef8a0
[bug] when an admin logs on the subscription page, his view is broken
...
Also: Prevent admins from leaving their dedicated group
2020-05-13 08:37:49 +02:00
Sylvain
22e936dda5
refactored notification_mailer for possible bug
...
undefined method _t for Class:0x...
2020-05-12 20:30:30 +02:00
Sylvain
c5bbcf9381
[bug] prevent VersionCheckWorker from polluting the sidekiq stack in development
2020-05-12 16:21:06 +02:00
Sylvain
37901e4153
[bug] users promoted to the administrator role are not in the admin group
2020-05-12 15:30:57 +02:00
Sylvain
8ea36b8a89
[bug] the subscription page is not available
2020-05-12 15:16:26 +02:00
Sylvain
14c8cbbf57
typos
2020-05-11 17:17:37 +02:00
Sylvain
9f8fb1a95c
fix tests + fix price.compute flor slots
2020-05-11 13:52:27 +02:00
Sylvain
1fdea63828
correct some errors due to Price.compute refactoring
2020-05-11 10:56:23 +02:00
Sylvain
06502cde33
[bug] accounting periods totals are wrong for periods closed after 2019-08-01
2020-05-11 10:10:52 +02:00
Sylvain
4f43dc1407
[bug] do not show disabled groups and plans during availability creation
2020-05-06 17:38:10 +02:00
Sylvain
0a336f14e4
updated messages about prices
2020-05-06 16:55:26 +02:00
Sylvain
5f7287cec7
Ask for confirmation before booking a slot for a member without the required tag
2020-05-06 15:32:40 +02:00
Sylvain
47a0fca481
show all availabilities to managers
2020-05-06 12:56:12 +02:00
Sylvain
be23cf27c3
use Price.compute to generate invoice items
2020-05-06 12:43:47 +02:00
Sylvain
19de8ca319
fix: manager can offer slot to other users
2020-05-06 09:58:15 +02:00
Sylvain
e6f8a34aa4
[ongoing] compute per based on a hourly rate
2020-05-05 17:56:47 +02:00
Sylvain
34935cbc35
decrease higher limit for black text on primary color
2020-05-05 16:20:44 +02:00
Sylvain
6d0ed0bfb5
info box for current availabity in admin calendar
2020-05-05 16:19:46 +02:00
Sylvain
ee3dea3f55
fix if logger is not debug
2020-05-05 12:39:42 +02:00
Sylvain
0609f444b0
corrected ProjectIndexerWorker
2020-05-05 12:37:13 +02:00
Sylvain
7ec7fd0d0d
fix notify_user_role_update
2020-05-05 11:59:52 +02:00
Sylvain
2d8df2c1cd
Ability to promote a user to a higher role (member > manager > admin)
2020-05-05 11:28:04 +02:00
Sylvain
d8a289e825
fixes change role API
2020-05-04 18:34:26 +02:00
Sylvain
06a5bff084
[ongoing] change user role
2020-05-04 18:32:25 +02:00
Sylvain
3319e68526
Auto-adjusts text colors based on the selected theme colors
2020-05-04 13:20:57 +02:00
Sylvain
29e7ac2f08
[bug] background image of the profile is not shown and wrong menu hover color
2020-05-04 12:10:13 +02:00
Sylvain
7640704568
fix payment method on invoices operated by a manager
2020-05-04 11:36:06 +02:00
Sylvain
881cc97e8d
The invoices list displays the operator in case of offline payment
2020-05-04 10:56:27 +02:00
Sylvain
2592844ad0
allow manager to create projects
2020-04-29 18:21:06 +02:00
Sylvain
b97ff2ec5b
improved feature tour for managers
2020-04-29 16:30:39 +02:00
Sylvain
6aa7ba89e8
manager's notifications
2020-04-29 15:34:30 +02:00
Sylvain
ff9636e12f
help tour for managers
2020-04-29 15:20:39 +02:00
Sylvain
59a20d71bd
corrected the documentation about BOOK_SLOT_AT_SAME_TIME
...
Also: [ongoing] help for managers
2020-04-29 12:57:17 +02:00
Sylvain
68fd322398
managers: edit user/edit subscription
2020-04-29 11:11:57 +02:00
Sylvain
35ce577651
[bug] subscription page shows the groups without any active plans
...
[bug] cart price inconsistently updated after a subscription
[feature] plans page for managers
2020-04-29 10:57:32 +02:00
Sylvain
05479e043c
[ongoing] plans interface for managers
2020-04-28 18:11:25 +02:00
Sylvain
81a18704ed
[bug] plan edition does not show the associated group
2020-04-28 18:10:12 +02:00
Sylvain
abcf17d1e6
invoices interface for managers
2020-04-28 16:49:05 +02:00
Sylvain
6a8746b110
[bug] updating a setting without any changes triggers an error
...
Also:
- Invoices interface for managers
- Refactoring of admin/invoices template: split into multiple files
2020-04-28 16:35:54 +02:00
Sylvain
18895b6a85
manager can create memebrs & credit wallets
2020-04-28 15:34:17 +02:00
Sylvain
e4f5a0f833
restricted manager view on users
2020-04-28 13:20:12 +02:00
Sylvain
3e177b5177
managers events views
2020-04-28 12:48:03 +02:00
Sylvain
e56fba1c03
[bug] Free entry label for events without reservation
2020-04-28 11:21:04 +02:00
Sylvain
2da644ecd5
[bug] unable to delete an unreserved event
2020-04-28 10:05:28 +02:00
Sylvain
3624bee057
{bug] unable to create events or trainings that are not multiples of SLOT_DURATION
2020-04-28 09:45:12 +02:00
Sylvain
570672c5db
[bug] unable to change group if the previous was deactivated
2020-04-28 09:21:33 +02:00
Sylvain
102709246f
basic access to members management for managers
2020-04-27 17:48:13 +02:00
Sylvain
8c610ea336
[managers] trainings management
2020-04-27 17:28:11 +02:00
Sylvain
d376aa400c
book slot at same time for managers
2020-04-27 16:44:56 +02:00
Sylvain
69c8d7c678
manager can change existing reservations
2020-04-27 12:58:55 +02:00
Sylvain
5312c13d3f
[manager] manage agenda + book machines for himself&others
2020-04-27 12:12:29 +02:00
Sylvain
c45c92e86a
basic manager menu
2020-04-22 12:31:44 +02:00
Sylvain
c30ae8179e
fix groups and tags in manager creation + helpers to get users w/ role partner|manager
2020-04-22 10:46:46 +02:00
Sylvain
e1a8646e5f
inteface to add/remove/edit managers
2020-04-22 10:09:16 +02:00
Sylvain
2ca5c8c50f
managers interface
2020-04-21 17:24:22 +02:00
Sylvain
f88472eeb3
Interface to manage partners
2020-04-21 16:47:35 +02:00
Sylvain
d717ed704c
adjust nb of slots per availability
2020-04-21 15:20:33 +02:00
Sylvain
ff75a96ecc
Ability to define, per availability, a custom duration for the reservation slots
2020-04-15 18:08:02 +02:00
Sylvain
ac1fa424b5
move version API to POST
2020-04-14 11:39:26 +02:00
Sylvain
92398c6d8d
Allow removing contacts from the about page + defaut locales
2020-04-08 16:32:22 +02:00
Sylvain
5f6c293046
fixes in-context translation + fixes migration 20160704095606
2020-04-08 15:55:08 +02:00
Sylvain
de9c224a92
improved version check
...
- use referer from client when available
- save uuid returned by hub
- send uuid to hub on version check
- check the version on each startup to prevent wrong sync
- also: do not save a setting on API update if it has not changed
2020-04-07 17:53:19 +02:00
Sylvain
a4cd6e4dc7
[bug] unable to access health endpoint
2020-04-07 15:19:41 +02:00
Sylvain
6f4052f295
[bug] invalid link to upgrade procedure
2020-04-07 15:02:14 +02:00
Sylvain
1a20f8b41b
typo
2020-04-07 14:52:13 +02:00
Sylvain
44e726bc54
[bug] in-context translation is loading invalid locale for MessageFormat
2020-04-07 14:39:31 +02:00
Sylvain
f24d94b979
set correct invoicing_profile_id for refund invoice during wallet credit
2020-04-01 17:58:32 +02:00
Sylvain
3917d6042c
[bug] no statistics for subscriptions ( #196 )
...
+ [bug] issing translation for subscriptions statistics > duration
2020-04-01 17:25:55 +02:00
Sylvain
0b81f957ef
fix testing assets with rails 5
2020-04-01 12:51:46 +02:00
Sylvain
705bedc25c
[bug] crediting a wallet w/ refund invoice prevent statistics generation ( #196 )
2020-04-01 12:51:18 +02:00
Sylvain
34a59eabe6
upgrade to new assets pipeline api
2020-03-31 17:36:00 +02:00
Sylvain
570f61c5df
[bug] report error on invalid encoding in members import
2020-03-31 16:53:30 +02:00
Sylvain
6dc7a7edd9
[bug] unable to export accounting data to ACD
2020-03-31 15:39:05 +02:00
Sylvain
f9e18ca580
removed dependency to discoutinued protected_attributes + fixed auth_provider
2020-03-30 16:17:32 +02:00
Sylvain
3dc8d66c63
remove dead code of WebhooksController
2020-03-30 15:29:48 +02:00
Sylvain
02c1014412
class documentation
2020-03-30 11:33:12 +02:00
Sylvain
d33c6c0d30
documented all models until StatisticField + fixes halting callback chains via returning false + improved some code
2020-03-25 17:45:53 +01:00
Sylvain
68b8827499
removed unused PlanImage
2020-03-25 16:49:13 +01:00
Sylvain
3d34fd7261
Removed MESSAGEFORMAT_LOCALE
as it is now handled by make-plural
2020-03-25 12:35:09 +01:00
Sylvain
6b66d601e1
inherit models from ApplicationRecord
2020-03-25 12:35:09 +01:00
Sylvain
467c6351b1
fix deprecated sass extend
2020-03-25 12:35:08 +01:00
Sylvain
2bbce711d9
fix stylesheet view
2020-03-25 12:35:08 +01:00
Sylvain
9069139bc4
fix accounting archive generation
2020-03-25 12:35:08 +01:00
Sylvain
36adddad53
Syntax improvements in scss files
2020-03-25 12:35:08 +01:00
Sylvain
df8ff77597
fix migrations for rails 5 + use maildev instead of mailcatcher + fix tests script
2020-03-25 12:35:08 +01:00
Du Peng
b3313d3e75
update rails to 5.1.7
2020-03-25 12:35:07 +01:00
Du Peng
9ca9425ef4
update to rails 5.0.7.2
2020-03-25 12:35:07 +01:00
Sylvain
85ab715b89
[bug] invalid translation keys in closing accounting period interface
2020-03-24 16:59:36 +01:00
Sylvain
a1af1a78b0
do not embed dev deps in docker build + updated eslint
2020-03-23 16:15:06 +01:00
Sylvain
0b341af1ed
[bug] unable to create new availabilities if SLOT_DURATION is not defined
2020-03-11 11:31:06 +01:00
Sylvain
9e7822f34a
Improved contextual help with a modal dialog
2020-03-11 10:26:53 +01:00
Sylvain
e44499d7ee
fixed some translations
2020-03-11 10:04:32 +01:00
Sylvain
2c1dbd4d82
[ongoing] help modal
2020-03-10 16:38:29 +01:00
Sylvain
86ae46e4c3
Display user's manual when help is asked, if no tour is available
2020-03-04 17:53:43 +01:00
Sylvain
21c3084bb8
[bug] spaces item is not at the correct position in the admin navigation menu
2020-03-04 14:44:19 +01:00
Sylvain
5301a237ca
Change style and pluralize the text of the slot division alert in new availability assistant
2020-03-04 14:42:00 +01:00
Sylvain
f058947c42
[bug] in the user's menu, two links to the personal wallet
2020-03-04 14:33:19 +01:00
Sylvain
0fdce5d1f2
[bug] in feature tours, next and previous arrows may be broken on some systems
2020-03-04 14:29:11 +01:00
Sylvain
978c44f55f
fix an issue: shift in subscription end date when over DST
2020-03-04 11:43:12 +01:00
Sylvain
8a1518dabc
prevent admin from changing group + add info about configuring groups first
2020-03-03 11:59:17 +01:00
Sylvain
f5955b74d2
reposition tour modals to prevent screen overflow
...
also: fix issue on tour completed
+ fix issue on statistics when no plans created
+ info area on statistics when no plans created
2020-03-03 11:20:17 +01:00
Sylvain
d0be17073b
[bug#169] first day of week is ignored in agendas
2020-03-02 17:22:15 +01:00
Sylvain
b645e5efe5
fixed: remove restrincting plan message
2020-03-02 16:59:04 +01:00
Sylvain
5765e3d2e4
move availability options to new step + wording
2020-03-02 16:52:54 +01:00
Sylvain
a44bf85014
Merge branch 'slot_is_only_subscriptions' into dev
2020-03-02 16:27:26 +01:00
Sylvain
4ad8a836f9
removed unneeded returns
2020-03-02 16:20:50 +01:00
Sylvain
07b21f5094
Merge branch 'book_slot_at_same_time' into dev
2020-03-02 15:52:05 +01:00
Sylvain
11ccaa73b6
Merge remote-tracking branch 'origin/disable_wallet_option' into dev
2020-03-02 15:47:14 +01:00
Sylvain
147a78de96
Merge branch 'tour' into dev
2020-03-02 15:39:45 +01:00
Sylvain
6748a1aca1
[bug] with Firefox browser, the texts in date inputs are shifted to the bottom
2020-03-02 11:46:56 +01:00
Sylvain
f1928c0d4c
refactor the home tour to start after the render
2020-03-02 11:40:00 +01:00
Sylvain
5186d6b22c
behavior of FEATURE_TOUR_DISPLAY
2020-03-02 11:17:28 +01:00
Sylvain
9ce9079ef9
auto-start home tour after login + reorganizer tour to comply with new menu
2020-03-02 10:32:51 +01:00
Sylvain
1a7d7258d8
[bug] in some cases, bogus admin notification on profile completed
2020-03-02 10:20:10 +01:00
Sylvain
29eb248029
[bug] unable to select a group in profile completion screen
2020-03-02 09:59:35 +01:00
Sylvain
63bdd85657
[bug] datepicker does not work in profile completion screen
2020-03-02 09:49:16 +01:00
Sylvain
02aafcb78b
fix missing translations
2020-03-02 09:43:42 +01:00
Sylvain
676da06ef1
left menu spacers style
2020-03-02 09:13:00 +01:00
Sylvain
4e72cd16a1
harmonized Fab-manager typo
2020-03-02 08:59:43 +01:00
Sylvain
38b196feb8
rearrange main menu
2020-02-26 18:05:09 +01:00
Sylvain
fc5b935495
helpers between reservables screens
2020-02-26 17:30:27 +01:00
Sylvain
a62e31090e
tours wording
2020-02-26 16:49:29 +01:00
Sylvain
6835d71197
fix missing translation
2020-02-26 16:07:01 +01:00
Sylvain
c111fca980
alert about slots division on availability creation
2020-02-26 15:58:41 +01:00
Sylvain
0ea7e774d3
wording in training & calendar tours + label on ical button
2020-02-26 15:48:42 +01:00
Sylvain
7143801641
start help tour by clicking on help in user menu
...
also: tour descriptions of home page items
2020-02-26 15:13:58 +01:00
Sylvain
d71a1b7cbd
improve settings/privacy tab
2020-02-26 12:20:33 +01:00
Sylvain
6b63483fcc
fix an issue with the health endpoint
2020-02-26 12:00:51 +01:00
Sylvain
e1d346591f
rewrited some steps of the home tour
2020-02-26 11:44:49 +01:00
Sylvain
d833f6d812
harmonize Fab-manager trademark syntax
2020-02-26 10:19:43 +01:00
Sylvain
222590ae5e
tour step modal: increase width + align buttons
2020-02-26 09:37:21 +01:00
Sylvain
4db219b204
[ongoing] FEATURE_TOUR_DISPLAY
2020-02-25 18:02:41 +01:00
Sylvain
cf8fb0659b
open-api tour
2020-02-25 11:47:30 +01:00
Sylvain
9f9656caa4
settings tour
2020-02-25 11:40:01 +01:00
Sylvain
a56f6c4e18
statistics tour
2020-02-25 11:06:03 +01:00
Sylvain
31dce73f14
project elements tour
2020-02-25 10:47:16 +01:00
Sylvain
9589efa312
fix scroll issues on tours
2020-02-25 10:11:18 +01:00
Sylvain
64e41910ec
trainings tour: change tab on tracking step
...
invoices tour: do not show listing steps if invoicing is disabled
+ typo
2020-02-25 09:48:55 +01:00
Sylvain
e6f2e60997
spaces tour
2020-02-24 16:57:41 +01:00
Sylvain
76c1b69b7a
machines tour
2020-02-24 16:51:03 +01:00
Sylvain
c13ba85230
events tour
2020-02-24 16:21:12 +01:00
Sylvain
42e2c8bafa
do not display spaces tab help if space module is disabled
2020-02-24 15:04:17 +01:00
Sylvain
f8f1dde14a
pricing tour
2020-02-24 15:02:45 +01:00
Sylvain
a1a96b9c03
fix handle invoices tour with F1
2020-02-24 11:56:13 +01:00
Sylvain
807a9596a8
invoices tour
2020-02-24 11:55:13 +01:00
Sylvain
9f68375ae9
admin calendar tour
2020-02-24 10:33:27 +01:00
Sylvain
32d5af9b87
fix tours collision on F1
2020-02-24 10:05:03 +01:00
Sylvain
496e926abd
fix members tour if no member
2020-02-19 14:39:45 +01:00
Sylvain
bc63465a84
members tour
2020-02-19 14:30:56 +01:00
Sylvain
906decb620
[ongoing] members tour
2020-02-19 13:00:38 +01:00
Sylvain
3d788579f1
set active tab depending on tour step
2020-02-19 12:21:24 +01:00
Sylvain
fd62062533
Updated angular-ui-bootstrap from v1.1 to v1.2
2020-02-19 12:07:42 +01:00
Sylvain
0948ef4381
Updated angular-ui-bootstrap from v0.14 to v1.1
2020-02-19 11:34:38 +01:00
Sylvain
05a29a54b3
trainings tour
2020-02-19 10:22:32 +01:00
Sylvain
0d9f79976d
[ongoing] trainings tour
2020-02-18 17:53:53 +01:00
Sylvain
16ed2fa73a
isolate welcome tour
2020-02-18 17:39:47 +01:00
Sylvain
5b46edd748
welcome tour + save completed tours in database
2020-02-18 17:36:45 +01:00
Sylvain
d869948cd0
fix translations mapping
2020-02-18 15:52:37 +01:00
Sylvain
40f41aeef5
fix translations mapping
2020-02-18 15:52:28 +01:00
Sylvain
4c919824ba
fix unmapped translations in signup modal
2020-02-18 10:17:07 +01:00
Sylvain
11a2dde776
fix notifications over tour
2020-02-17 18:57:05 +01:00
Du Peng
908275d171
add disable wallet option
2020-02-12 18:15:44 +01:00
Sylvain
fd471be40a
angular-ui-tour: fixed positionning problem + some more steps in the tour + centering the welcome message
2020-02-12 17:18:11 +01:00
Du Peng
7242eb32f8
allow admin reserve a slot at the same time
2020-02-12 14:54:06 +01:00
Du Peng
b559d10b87
improve slot is only subscription
2020-02-12 12:58:17 +01:00
Sylvain
71290420bb
ui-tour 3 steps
2020-02-11 15:49:43 +01:00
Sylvain
528877bc76
poc features-tour
2020-02-11 15:49:43 +01:00
Sylvain
b7dda83060
Merge branch 'edit_event_recurrent' into dev
2020-02-11 15:43:29 +01:00
Sylvain
db26533d94
alert on date change
2020-02-11 15:42:43 +01:00
Du Peng
870a092a81
Merge branch 'slot_is_only_subscriptions' of git.sleede.com:projets/fab-manager into slot_is_only_subscriptions
2020-02-11 13:22:28 +01:00
Du Peng
096a658bac
add a validator to check reservation's slot is or not restrict for subscriptions
2020-02-11 13:22:20 +01:00
Du Peng
760109de05
fix bug: cant reserve formation slot
2020-02-11 13:21:25 +01:00
Sylvain
372d7f936b
typos & syntax
2020-02-11 11:46:40 +01:00
Sylvain
54bcc392f3
typo and syntax
2020-02-11 10:48:29 +01:00
Du Peng
d9676b604c
remove debug info
2020-02-10 11:53:20 +01:00
Du Peng
427725f927
fix bug: select plans error
2020-02-10 11:52:57 +01:00
Sylvain
ea9607521b
translation issue on event reservation
2020-02-10 11:09:54 +01:00
Sylvain
aecbaa7f04
translation issue on event reservation
2020-02-10 11:09:22 +01:00
Du Peng
74cc69d1bd
Ability to configure reservation slot restrict for plans
2020-02-07 17:37:00 +01:00
Du Peng
7c86adde4b
Ability to configure allowing or preventing member book a machine/formation/event slot if he already have a reservation the same day at the same time
2020-02-05 16:53:47 +01:00
Du Peng
c3965b28cf
remove rebocop disable
2020-02-03 10:53:54 +01:00
Du Peng
05073d5a28
fix bug for update event recurrent
2020-01-30 12:03:50 +01:00
Sylvain
fd0f49f132
rubocop: ruby syntax
2020-01-29 17:50:06 +01:00
Sylvain
5b97ef03a9
rubocop: ruby syntax
2020-01-29 17:49:05 +01:00
Sylvain
b1a98d3574
improved texts
2020-01-29 17:44:17 +01:00
Du Peng
35d9bec8a5
update event recurrent
2020-01-29 17:20:19 +01:00
Du Peng
de02bb1c72
update all attributes of event
2020-01-28 18:34:32 +01:00
Sylvain
81a42e5935
customize home page : full texts
2020-01-28 10:12:29 +01:00
Sylvain
8d8c9a8af5
fix double insertion of widgets button in home page editor
2020-01-28 09:24:55 +01:00
Sylvain
49b3a54afb
allow display widgets multiple times on home page
2020-01-28 09:21:39 +01:00
Du Peng
b1419271e6
edit event recurrent in progress
2020-01-27 18:21:46 +01:00
Sylvain
656a603d6c
customize home page css
2020-01-27 17:10:29 +01:00
Sylvain
37c90b1d54
ruby syntax
2020-01-22 14:34:45 +01:00
Sylvain
34a3286870
fix homepage layout
2020-01-22 14:16:35 +01:00
Sylvain
898a18ed46
display customized home page html
2020-01-22 13:25:22 +01:00
Sylvain
75c49c06f2
move homepage components to standalone directives
...
- events
2020-01-22 12:52:51 +01:00
Sylvain
89e146d419
[ongoing] move homepage components to standalone directives
...
- twitter
- members
2020-01-22 12:43:08 +01:00
Sylvain
fd1778b465
renamed twitter template file
2020-01-22 12:24:45 +01:00
Sylvain
1968ba601d
[ongoing] move homepage components to standalone directives
2020-01-22 12:23:51 +01:00
Sylvain
b85c7ac00b
admin set its customized html template for the home page & can reset it to factory value
2020-01-22 11:53:40 +01:00
Sylvain
b1e6154cc9
POC for custom home page
2020-01-21 18:03:15 +01:00
Sylvain
15ab3c1305
Ability to customize the title of the link to the about page
2020-01-21 16:16:12 +01:00
Sylvain
45e4b5c4bc
Create machine availabilities: select all/none in a click
2020-01-21 12:09:24 +01:00
Sylvain
97660924cb
fix typo and wording
2020-01-21 11:16:49 +01:00
Sylvain
146ba97766
Merge remote-tracking branch 'origin/reserve_slots_passed' into dev
2020-01-21 11:01:48 +01:00
Sylvain
57e5da61de
remove unused helper
2020-01-21 11:01:23 +01:00
Du Peng
3c26c6d4bd
disable add plan with reserve slot in the past
2020-01-20 16:17:10 +01:00
Du Peng
0143c3d495
allow admin reserve machine/space in the past time
2020-01-20 16:17:10 +01:00
Sylvain
c214ae3beb
Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev
2020-01-15 12:49:07 +01:00
Sylvain
7929d3b198
detailled view of collected data in fabanalytics
2020-01-15 12:48:55 +01:00
Du Peng
fe387cbe3c
Merge branch 'twitter' into dev
2020-01-15 12:40:01 +01:00
Du Peng
db29673a4c
remove twitter api for get latest tweet
2020-01-15 12:34:51 +01:00
Du Peng
900d84f3c6
get latest twitter by twitter search without twitter api
2020-01-15 12:04:07 +01:00
Sylvain
059096c2dd
privacy option for fab-analytics
2020-01-15 10:46:04 +01:00
Sylvain
a67b2ff29c
do not show version modal if system if up-to-date
2020-01-14 18:03:57 +01:00
Sylvain
774060d9ab
FORCE_VERSION_CHECK for dev env + do not save hub public key if duplicate
2020-01-14 17:59:30 +01:00
Sylvain
19502c8231
fix display version on home page
2020-01-14 17:39:13 +01:00
Sylvain
1f3d9cf88d
display upgrade infos directly on the interface
2020-01-14 17:12:36 +01:00
Sylvain
a564ec62b5
updated version check worker
2020-01-14 16:16:31 +01:00
Sylvain
bb48a13f83
health endpoint & automated version check
2020-01-14 14:33:00 +01:00
Sylvain
64764e5498
check version on hub & [ongoing] health endpoint
2020-01-13 17:05:53 +01:00
Sylvain
54be21729b
batch delete periodic events
2020-01-07 17:18:49 +01:00
Sylvain
1c4f144b8d
Merge branch 'members-filters' into dev
2020-01-07 10:44:55 +01:00
Sylvain
f778ee9016
fix syntax + add missing translations
2020-01-07 10:44:29 +01:00
Sylvain
3c3e806a29
Merge branch 'user-confirmation' into dev
2020-01-07 10:34:25 +01:00
Sylvain
b6ee4e92a4
change falsy value + updated changelog
2020-01-07 10:34:12 +01:00
Sylvain
6d0cc201c4
remove: send abuse with ENTER
2020-01-06 17:08:50 +01:00
Nicolas Florentin
9cc090e4bc
typo
2019-12-30 13:48:40 +01:00
Nicolas Florentin
60e063a15b
fix currentUser value after successfull sign up when confirmation is needed, plus improves translations
2019-12-30 13:45:25 +01:00
Nicolas Florentin
6550428f72
fix AUthService factory, isAuthenticated was called from scope and not from the factory itself
2019-12-30 13:44:24 +01:00
Nicolas Florentin
0b899fe183
Merge branch 'dev' into user-confirmation
2019-12-30 09:36:43 +01:00
Sylvain
3412d9e35c
fix checking enable_in_context_translation
2019-12-23 13:49:46 +01:00
Sylvain
f05547e46e
change ach pluralization location
2019-12-23 11:29:02 +01:00
Sylvain
40e8b60a0a
add ach pluralization fonction for messageFormat
2019-12-23 10:28:12 +01:00
Nicolas Florentin
62c979cfc0
members filters, translations for other languages are still needed
2019-12-20 15:47:42 +01:00
Nicolas Florentin
518511ab3b
Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev
2019-12-19 12:06:54 +01:00
Nicolas Florentin
7ea3e5ce32
fix translation key path app.public.projects_list.the_fablab_projects
2019-12-19 12:06:45 +01:00
Sylvain
bcd0e6833d
integrate crowdin in-context translation code
2019-12-18 16:50:16 +01:00
Nicolas Florentin
0a3a6d034a
env variable USER_CONFIRMATION_NEEDED_TO_SIGN_IN can force user to confirm his account to sign in
2019-12-18 16:02:47 +01:00
Sylvain
14c3abb449
refactoring i18n keys: trainings + modals + various missings
2019-12-18 13:04:38 +01:00
Sylvain
1124159f2e
refactoring i18n keys: projects
2019-12-18 11:08:14 +01:00
Sylvain
a8e8ffa1d4
refactoring i18n keys: export stats
2019-12-17 18:09:36 +01:00
Sylvain
a7b423b151
refactoring i18n keys - admin
2019-12-17 18:06:56 +01:00
Sylvain
88c48e4e69
[ongoing] refactoring i18n keys - admin
2019-12-17 12:40:36 +01:00
Sylvain
d21f616283
[ongoing] refactoring i18n keys
2019-12-16 16:54:40 +01:00
Sylvain
c565d9ff2b
unified front-end i18n interpolations syntax to messageformat
2019-12-16 10:16:11 +01:00
Sylvain
0c11f61010
Prevent event reservation in the past
2019-12-10 12:16:26 +01:00
Sylvain
6aa3c0caeb
Notify all admins on the creation of a refund invoice
2019-12-09 11:55:31 +01:00
Sylvain
510c802ab1
messages variations depending on slot duration
2019-12-09 10:27:50 +01:00
Sylvain
f50e45d2de
rake task to sync users with stripe
2019-12-03 16:32:59 +01:00
Sylvain
60755a2c2a
Merge remote-tracking branch 'origin/fix-time-now' into dev
2019-12-03 15:51:22 +01:00
Sylvain
11e74c6859
Merge branch 'ics' into dev
2019-12-03 15:30:28 +01:00
Sylvain
64fe68b2b0
icalendar source sync: create/update/delete ical events
2019-12-03 12:16:07 +01:00
Sylvain
538b5cef78
add/remove ical imports in public agenda
...
also: a little of refacftoring in CalendarController
2019-12-03 11:27:20 +01:00
Sylvain
32e7fc3900
confirm delete icalendar imports + fix display + add translations
2019-12-03 10:48:53 +01:00
Sylvain
d93ce15a47
external calendars legend
2019-12-03 10:23:19 +01:00
Sylvain
122ff54cd8
fix colors in ics imports
2019-12-03 10:17:29 +01:00
Sylvain
5215d0643d
Merge branch 'ics' of git.sleede.com:projets/fab-manager into ics
2019-12-03 09:56:37 +01:00
Sylvain
22be9f6a08
display external calendars list in public calendar + pull availabilities
2019-12-02 16:49:20 +01:00
Sylvain
cca6b14f58
import events asyncronously from icalendar
2019-12-02 15:53:24 +01:00
Nicolas Florentin
db41e846dd
uses DateTime#current instead of Time.now in tests
2019-12-02 15:29:05 +01:00
Nicolas Florentin
b17bcfde86
comment model slot.rb
2019-12-02 12:39:20 +01:00
Nicolas Florentin
6ff6c71060
rm dead code Slot#can_be_modified?
2019-12-02 12:32:52 +01:00
Sylvain
55d2c88134
delete & sync ical sources
2019-12-02 12:19:30 +01:00
Nicolas Florentin
77cf8c8218
replaces almost all Time.now by DateTime.current
2019-12-02 11:57:25 +01:00
Sylvain
36eba99808
[bug] report errors on admin creation
2019-12-02 10:39:42 +01:00
Sylvain
f72ae98109
do not show title if calendar is configured to hide them
2019-11-27 17:50:38 +01:00
Sylvain
85d17d62f3
fix events endpoint
2019-11-27 17:44:01 +01:00
Sylvain
97d93cd622
added a name to imported calendar
2019-11-27 17:39:19 +01:00
Sylvain
baf8cfb487
iCalendar server api & db model
2019-11-27 17:05:19 +01:00
Sylvain
9e2134c9cf
ics sources configuration interface
2019-11-27 16:17:42 +01:00
Sylvain
bb777227d6
display events of external ics in calendar
2019-11-27 13:59:56 +01:00
Sylvain
a9b1eabb2c
[poc] show google agenda events in the public calendar
2019-11-27 13:51:23 +01:00
Sylvain
90b3564138
admin calendar: surround select item by shadow-box
2019-11-27 12:31:32 +01:00
Sylvain
91008b3df1
improved calendar legend
2019-11-27 11:52:37 +01:00
Sylvain
eb3c78a61d
[poc] show google agenda events in the public calendar
2019-11-26 13:44:43 +01:00
Sylvain
48b811d2b5
Added freeCAD files as default allowed extensions
...
also: refactored some ruby code
2019-11-25 16:12:23 +01:00
Sylvain
68b17cbe9a
Ability to show the scheduled events in the admin calendar
2019-11-25 14:49:39 +01:00
Sylvain
563de29b9d
Calendar management: improved legend style
2019-11-25 11:59:34 +01:00
Sylvain
1182822d8b
show correct seats nb in canceled reservation
2019-11-25 10:45:54 +01:00
Sylvain
bbd613f2a5
compute right nb of free seats for event reservation
...
also: copy nb_total_places to n+1 instances when creating recurrent
availabilities
2019-11-25 10:30:12 +01:00
Sylvain
ce366beaa2
display that an event reservation was canceled
...
also: fixed transtions files
2019-11-21 11:15:05 +01:00
Sylvain
cabe2e5604
update free places after cancel event reservation
2019-11-20 17:06:42 +01:00
Sylvain
b725a5a071
Merge branch 'cancel' into dev
2019-11-20 10:27:56 +01:00
Sylvain
37d6c84cc6
[bug] unable to remove training picture
...
also: removed some invalid href=# in the templates
2019-11-19 15:18:00 +01:00
Sylvain
ad928bd4e6
ability to set phone number optional or required
...
also: show stars on required fields in new admin form
2019-11-19 11:44:32 +01:00
Sylvain
9ec736e6b5
delete recursive slots
2019-11-18 17:29:51 +01:00
Sylvain
26738563bd
create reccursive events
2019-11-18 11:50:20 +01:00
Sylvain
a60a39ff9e
[ongoing] create multiple availabilities according to UI
2019-11-13 12:13:22 +01:00
Sylvain
0d740c95a9
recapitulative screen
2019-11-13 10:59:10 +01:00
Sylvain
22251e6516
summary screen
...
TODO: eventModal.html.erb:167
2019-11-12 16:28:10 +01:00
Sylvain
2cccbd3486
recurrence UI
2019-11-12 14:25:28 +01:00
Sylvain
96a2f6e426
create availablities with slots duration ne 60
2019-10-30 15:09:44 +01:00
Sylvain
cdc30e0da2
configure the slots duration with an environment variable
2019-10-29 16:52:52 +01:00
Nicolas Florentin
12b9155b43
try to fix edge cases of VatHistoryService, related to issue #156
2019-10-29 15:20:25 +01:00
Sylvain
1ed3eba129
[feature] export last connection date to members.xlsx
2019-10-29 11:09:17 +01:00
Sylvain
f94d8feba6
[feature] admin can delete an user
2019-10-29 09:59:21 +01:00
Sylvain
35fb991cdb
Improved user experience in defining slots in the calendar management
2019-10-23 17:48:31 +02:00
Sylvain
d7aed3fa1f
Improved notification email to the member when a rolling subscription is taken
2019-10-23 11:43:42 +02:00
Sylvain
58821555fe
Ability to set the default view in project gallery: openLab or local
2019-10-22 14:42:45 +02:00
Sylvain
d48e5602ce
[bug] admins can't edit members projects
2019-10-22 14:42:35 +02:00
Sylvain
fdcec06345
CVE-2019-16892 + #49
...
- updated rubyzip to fix a security issue
- updated axlsx and file writing method as a possible fix for #49
2019-10-21 16:11:49 +02:00
Sylvain
528e6f5e55
admin invoices interface: default selected tab depending on FABLAB_WITHOUT_INVOICES value
2019-10-21 15:24:27 +02:00
Sylvain
e8930924e4
[bug] do not display each days in invoices for multiple days event reservation
2019-10-16 16:11:37 +02:00
Sylvain
9e1e23f268
[bug] unauthorized user can see the edit project form
2019-10-16 15:21:50 +02:00
Sylvain
ab5ee0f2d8
[bug] invoices list is not shown by default in 'manage invoices' section
2019-10-14 10:59:56 +02:00
Sylvain
bc36b78719
[bug] public calendar won't show anything if the current date range include a reserved space availability ( #151 )
2019-10-14 10:38:13 +02:00
Sylvain
2897eec723
various bugfixes
...
- in profile_complete form, the user's group is not selected by default
- missing asterisks on some required fields in profile_complete form
- renamed default DatabaseProvider from Fablab to FabManager
2019-10-09 14:41:32 +02:00
Sylvain
7dbfbc4868
fix typo
2019-10-07 17:12:49 +02:00
Sylvain
38847844fb
display label on all rows in accounting export
2019-10-07 14:02:47 +02:00
Sylvain
19a125bd67
[bug] accounting export: on subscription + reservation invoice, the subscription item is exported twice
2019-10-07 12:08:08 +02:00
Sylvain
86f4c132b0
Merge branch 'cve-2015-9284' into dev
2019-10-02 16:08:40 +02:00
Sylvain
5fcf9968cb
Updated Omniauth & Omniauth-oauth2 + fixed oauth2 callback url
2019-10-02 16:06:27 +02:00
Sylvain
927479733b
migrated links to /users/auth from GET to POST
...
see https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284 for more info
2019-10-02 14:37:47 +02:00
Sylvain
2cc7fb0e44
accounting export: display lable on all lignes
2019-10-02 10:25:06 +02:00
Sylvain
35b069a4db
added gem omniauth-rails_csrf_protection + [ongoing] moving from GET /users/auth/... to POST
2019-10-01 17:14:16 +02:00
Sylvain
877506b26a
[bug] unable to dissociate the last machine from a formation
2019-10-01 15:27:59 +02:00
Sylvain
29d6a1daa4
Merge branch 'uvsq' into dev
2019-10-01 14:32:58 +02:00
Sylvain
a7a929ddbc
integration unit test for imports + fixed import result colors in UI + fixed test fixtures
2019-10-01 14:32:30 +02:00
Sylvain
193e81e711
Merge branch 'uvsq' into dev
2019-09-30 15:34:21 +02:00
Sylvain
0d3cc0fe40
[feature] Ability to disable invoices generation and interfaces
2019-09-30 15:29:20 +02:00
Sylvain
8bd1d72fdf
improved results page
2019-09-30 12:49:50 +02:00
Sylvain
ba3161589c
update users through CSV import
2019-09-30 12:19:33 +02:00
Sylvain
ff5de97c92
import new users from CSV and view results in app
...
TODO:
- update users though CSV
2019-09-26 17:05:57 +02:00
Sylvain
4deaf1f75a
[ongoing] import members from csv
2019-09-25 16:37:42 +02:00
Sylvain
a532efd198
upload csv file to the server through the API and save it on the disk
2019-09-24 17:42:50 +02:00
Sylvain
ede53ad761
[feature] Ability to set project's CAO attachement maximum upload size
2019-09-24 16:40:38 +02:00
Sylvain
ad1b7baa05
import members interface
2019-09-24 15:21:18 +02:00
Sylvain
8eda1e673f
Merge remote-tracking branch 'origin/hotfixes' into dev
2019-09-24 14:43:14 +02:00
Sylvain
e7bb41f38d
[ongoing] import users from csv file: admin inteface
2019-09-24 12:21:19 +02:00
Sylvain
f75633e64e
[bug] create a plan does not set its name
2019-09-24 11:41:07 +02:00
Sylvain
588010ac0b
[feature] Optional reCaptcha checkbox in sign-up form
2019-09-23 17:46:46 +02:00
Nicolas Florentin
c49db3b512
fix api/reservations#index find statistic_profile_id from the user_id because user_id is not a column of reservations table anymore
2019-09-20 15:23:53 +02:00
Nicolas Florentin
22d4d3a78a
method date_range, test on all_day was never truthy
2019-09-20 15:03:49 +02:00
Nicolas Florentin
401df4cb77
delay_for does not exist anymore in sidekiq 5
2019-09-20 15:01:27 +02:00
Sylvain
de1cc2013a
[bug] after disabling a group, its associated plans are hidden from the interface
...
+ validate server-side that there's no more user in the group to disable
2019-09-19 15:34:21 +02:00
Sylvain
668eb43959
[bug] in case of unexpected server error during stripe payment process, the confirm button is not unlocked
2019-09-19 15:00:27 +02:00
Sylvain
a7dc3b2431
factorized invoice reference & order number code
2019-09-19 14:59:22 +02:00
Sylvain
2d6f5c3e81
wallet client line in accounting export + factorized accountingExportService
2019-09-19 13:57:33 +02:00
Sylvain
7d26932f6c
configure accounting codes & labels for wallet clients and other means clients
2019-09-19 11:51:14 +02:00
Sylvain
c76563f22f
wallet label in accounting export
2019-09-19 11:25:12 +02:00
Sylvain
f81a2e4343
wallet credit in accounting export
2019-09-19 11:10:26 +02:00
Sylvain
c905d3fbc5
use correct VAT infos in accounting export
2019-09-18 17:25:53 +02:00
Sylvain
cd2c8488c2
Compute the VAT per item in each invoices, instead of globally
2019-09-18 17:14:59 +02:00
Sylvain
02c7cb801f
factorized footprint computation
2019-09-18 15:09:14 +02:00
Sylvain
276a99c068
improved VAT history service + display dates when VAT was enabled in invoice configuration panel + do not render vat row in accouting export if vat was disabled
2019-09-18 13:28:53 +02:00
Sylvain
46c3497c85
ventilate coupon codes on items
2019-09-17 17:39:05 +02:00
Sylvain
30e7ce8377
[bug] invoices with total = 0, are marked as paid on site even if paid by card
2019-09-17 15:16:11 +02:00
Sylvain
1fa36d4029
renamed avoir_mode to payment_method
2019-09-17 14:48:06 +02:00
Sylvain
aef4cc49f2
fixes accounting codes setting + improved error handling
2019-09-17 13:00:25 +02:00
Sylvain
3348539fdf
export labels: user name + reference + summary, only on client line. Also: handling new export parameters (decimal separator, label length, export zeros)
2019-09-17 12:35:34 +02:00
Sylvain
f06bdaaf21
provide additional settings to export api
2019-09-16 16:31:16 +02:00
Sylvain
02d28e0b8c
improved accounting codes settings page (1 click saves all) + improved export file name
2019-09-16 14:39:47 +02:00
Sylvain
224b0d6dee
Merge branch 'sca' into dev
2019-09-12 12:53:56 +02:00
Sylvain
9d2e17d5d6
[bug] once a reservation was made, the reminder of the paid price is always 0 if a coupon was used
2019-09-12 12:25:13 +02:00
Sylvain
52afb6ef07
[bug] extend a current subscription for a member, does not reset his credits
2019-09-12 11:37:03 +02:00
Sylvain
53e02622b9
[bug] disabled groups still appears as available in sign-up modal
2019-09-12 11:14:04 +02:00
Nicolas Florentin
3c486e4b93
[Bug] unable to create the first user because role member was missing
2019-09-11 17:11:43 +02:00
Sylvain
539eb08b89
ability to disable the online payments through an env var
2019-09-11 17:08:00 +02:00
Sylvain
d977838d52
fix tests according to changes for stripe SCA
2019-09-11 16:20:47 +02:00
Sylvain
78e6392f60
do not display invoice update logs in test mode + updated reservations fixtures w/o stp_invoice_id column + helper script to run tests
2019-09-11 14:29:35 +02:00
Sylvain
9fc3c7f61c
[bug] Wallet credit inputs does not allow to put zeros at the end of the decimal part of the amount
2019-09-11 13:05:10 +02:00
Sylvain
3320ee103b
Log changes in Invoices or InvoiceItems records for better handling of accounting certification issues
2019-09-11 12:22:14 +02:00
Sylvain
f60d19fa27
allow reservations & subscriptions at price of zero
2019-09-11 11:51:04 +02:00
Sylvain
75f483a7a6
compute subscription price server-side for payments
2019-09-11 10:31:22 +02:00
Sylvain
ac0489a496
[bug] wallet usage is noted on subscription invoices even if wallet was not used + use payment confirm API for subscriptions only (sca)
2019-09-10 17:57:46 +02:00
Sylvain
4d0ac9b3ca
using stp_payment_intent_id instead of stp_invoice_id on new invoices
2019-09-10 16:45:45 +02:00
Sylvain
5a75db394c
[bug] Users with role 'member' cannot download their invoices
2019-09-10 14:46:07 +02:00
Sylvain
04f17d44d8
handle sca in js frontend
2019-09-10 12:46:02 +02:00
Sylvain
a96050a2e9
refactor payment process for sca
2019-09-10 11:46:14 +02:00
Sylvain
e9e27663cd
quick coding rules checking with rubocop
2019-09-09 18:04:31 +02:00
Nicolas Florentin
e94cf46fa4
ongoing work on sca stripe
2019-09-09 17:37:54 +02:00
Nicolas Florentin
f1958a300b
[Bug] unable to create the first user because role member was missing
2019-09-09 14:34:00 +02:00
Sylvain
510533e080
handle 2nd confirmation on server + display confirmation modal on the client
2019-09-05 17:17:51 +02:00
Sylvain
12447698f8
collect card details on the client & create a paymentIntent on the server
2019-09-05 16:17:02 +02:00
Sylvain
a0961314a4
[ongoing] upgrade stripe gem & api version to allow SCA
2019-09-05 11:03:22 +02:00
Sylvain
967f539ad9
[ongoing] update to stripe-js:v3 to use strong customer authentication
2019-09-04 17:20:18 +02:00
Sylvain
bebb3354fb
[bug] ( #140 ) VAT rate is erronous in invoices
2019-08-14 10:56:30 +02:00
Sylvain
92d79bc9c7
[bug] ( #140 ) VAT rate is erronous in invoices
2019-08-14 10:54:23 +02:00
Sylvain
13d3197069
prevent existance of unwanted separators + truncate labels
2019-08-01 14:58:10 +02:00
Sylvain
15f858ba9c
Merge branch 'acd' into dev
2019-08-01 13:07:05 +02:00
Sylvain
35c31b96ea
fix vat history usage in invoice test + fix sidekiq delay extension
2019-08-01 11:50:03 +02:00
Sylvain
61c1d09ac8
[bug] use vat history while regenerating invoices
2019-08-01 11:29:45 +02:00
Sylvain
38ab06840e
consider vat history in accounting export + [bug] use vat history while regenerating invoices
2019-08-01 11:26:40 +02:00
Sylvain
acacd9a19e
fixed accounting codes interface + fixed csv generation
2019-08-01 10:24:34 +02:00
Sylvain
26c98394ac
fixed export service
2019-08-01 09:49:09 +02:00
Sylvain
e32825675c
[ongoing] fixing accounting export service
2019-07-31 16:52:11 +02:00
Sylvain
12d8c65fa2
async generation of export and download cached csv using hidden iframe
2019-07-31 15:47:02 +02:00
Sylvain
fa6a54a422
export notifications
2019-07-31 12:37:31 +02:00
Sylvain
a7f68b59dd
connect the export modal to the api
2019-07-31 12:00:52 +02:00
Sylvain
22d84e86f5
export modal
2019-07-31 11:10:10 +02:00
Sylvain
a9ea4057f3
interface to customize accounting codes and labels
2019-07-30 16:06:35 +02:00
Sylvain
f772bc3509
api endpoint and worker to export accounting data
2019-07-30 11:43:51 +02:00
Sylvain
82ad69d386
handle avoirs
2019-07-30 10:27:47 +02:00
Sylvain
ab295f064d
service to export invoices into a given period to CSV lines for an accounting sofware
2019-07-29 17:51:53 +02:00
Sylvain
3d3be70e29
[bug] newly generated refund is displayed as broken
2019-07-29 12:25:46 +02:00
Sylvain
5e8697de18
fix invoices list API
2019-07-29 12:19:54 +02:00
Sylvain
a778b1063a
enhance ruby syntax
2019-07-29 12:17:57 +02:00
Sylvain
0714878bca
[bug] unable to generate a refund
2019-07-29 12:07:22 +02:00
Sylvain
1be7bda603
[security] updated sidekiq to fix 3 security vulnerabilities
2019-07-29 11:34:59 +02:00
Sylvain
26c8d402e1
removed dependency to jquery-ui
2019-07-17 15:30:19 +02:00
Sylvain
12fcfee71e
[bug] unable to export reservations or subscriptions to excel
2019-07-10 12:25:08 +02:00
Sylvain
38d3ddd48a
[bug] export members list to excel is broken
2019-07-10 11:27:45 +02:00
Sylvain
b77fde2506
[bug] OpenlabWorker is crashing with message undefined method profile for StatisticProfile
2019-07-10 10:58:51 +02:00
Sylvain
1253af5377
Prevent invalid invoice logo from crashing the InvoiceWorker
2019-07-10 10:54:35 +02:00
Sylvain
ca61e4e08e
[bug] SubscriptionExpireWorker cannot run due to wrong expiration column in SQL query
2019-07-10 10:52:29 +02:00
Sylvain
ddbb492ace
[bug] abuses reports are not notified to admins
2019-06-26 12:55:38 +02:00
Sylvain
85f4182b2f
[bug] projects RSS feed fails to render
2019-06-24 11:03:40 +02:00
Sylvain
50373b6609
[bug] cookie consent modal is not shown
2019-06-17 14:57:11 +02:00
Sylvain
2d92df3ebb
do not delete the user if superadmin + fix text alert
2019-06-17 11:12:05 +02:00
Sylvain
b0b2e8d3a9
use an async worker to notify users about policy update
2019-06-17 10:01:59 +02:00
Sylvain
5cd977b4dd
ruby syntax + may fix #132 ?
2019-06-13 16:53:36 +02:00
Sylvain
f3c433883d
[bug] canceled reservation are not removed from statistics ( fix #133 )
2019-06-13 16:29:12 +02:00
Sylvain
84c90cdef3
ignore cookies modal if GA is disabled
2019-06-13 14:00:43 +02:00
Sylvain
f69703f0a0
allow user to change his choice about cookies
2019-06-13 12:52:56 +02:00
Sylvain
249e59bb2a
get user consent about cookies
2019-06-13 11:28:55 +02:00
Sylvain
7fc03af6bc
[ongoing] cookies consent modal
2019-06-12 16:53:37 +02:00
Sylvain
6e5cc2a4c4
typo and syntax
2019-06-12 16:31:45 +02:00
Sylvain
d0cd5a90d2
handle deleted users in notifications
2019-06-12 15:49:35 +02:00
Sylvain
ddce997e12
display data collection purpose on each input field + fix notifications on deleted user
2019-06-12 15:34:03 +02:00
Sylvain
0e18defe53
handle deleted user in statistics
2019-06-12 12:40:43 +02:00
Sylvain
a53c6e80e7
move invoice->operator to invoicing_profile + minor fixes to handle user deletion
2019-06-12 12:22:38 +02:00
Sylvain
86ded2b8d2
[ongoing] fixes for invoices pdf files
2019-06-11 16:56:11 +02:00
Sylvain
37b9e3da60
link statistic profile to invoices
2019-06-11 10:02:48 +02:00
Sylvain
818d1357a9
save user cration date in statistic_profile
2019-06-06 16:54:09 +02:00
Sylvain
cfd33c3a52
migrate projects to statistic_profile
2019-06-06 16:34:53 +02:00
Sylvain
35da65b686
change statistic_service to use statistic_profile + use raw sql in migrations
2019-06-06 13:58:49 +02:00
Sylvain
fe2a6f7120
migrate trainings to statistic_profile and adjust code
2019-06-06 12:00:21 +02:00
Sylvain
0a5e373730
models linking
2019-06-05 16:21:39 +02:00
Sylvain
f0c5b0eb09
init StatisticProfileTraining
2019-06-05 16:17:56 +02:00
Sylvain
6f87873b2c
fix init member group when created from signup modal
2019-06-05 16:09:11 +02:00
Sylvain
5c57bcc7c6
defer member search in admin panel to optimize requesting
2019-06-05 15:35:27 +02:00
Sylvain
660a8abe8b
fix statistic_profile
2019-06-05 12:24:01 +02:00
Sylvain
17fbd6b465
multiple fixes related to statistic_profile & invoicing_profile + fix users list while sorting by subscription
2019-06-05 12:11:51 +02:00
Sylvain
bd796bc588
fix SubscriptionsController - all tests passing
2019-06-05 07:58:49 +02:00
Sylvain
9fd6ea08b9
fix SubscriptionGroupValidator
2019-06-05 07:52:02 +02:00
Sylvain
4c033614ae
[ongoing] migrate subscriptions & reservations to statistic_profile
2019-06-04 16:50:23 +02:00
Sylvain
52992ac9d5
move gender & birthday to statistic_profile
2019-06-04 13:33:00 +02:00
Sylvain
42e73e4315
[ongoing] statistic profile
2019-06-03 17:25:04 +02:00
Sylvain
9ef2f142bd
link HistoryValue to InvoicingProfile + improved invoices tests
2019-06-03 16:51:43 +02:00
Sylvain
7ed97ef35a
link wallet & its transactions to invoicingprofile
2019-06-03 16:00:09 +02:00
Sylvain
6011f27268
finish moving organization & address to invoiving profile: fix create & edit user
2019-06-03 12:06:01 +02:00
Sylvain
a211ad39ff
moving organization & address to invoicingProfile + refactored doc about postgre
2019-05-29 14:28:14 +02:00
Sylvain
142e07f3c9
update code to use invoicingprofile
2019-05-29 12:01:24 +02:00
Sylvain
ffbca98276
[ongoing] fix api to use the invoicing_profile
2019-05-28 16:49:36 +02:00
Sylvain
83d3fd83b3
[bug] close period reminder is sent too early
2019-05-27 16:09:27 +02:00
Sylvain
3945b760b5
[ongoing] attach invoices to invoicingProfile instead of user
2019-05-27 13:03:44 +02:00
Sylvain
5231e464fe
fix invoicingProfile schema + migration script
2019-05-27 13:00:05 +02:00
Sylvain
70bc3d5732
put invoicing data into separate table
2019-05-27 13:00:05 +02:00
Sylvain
0c51f25f7f
Merge branch 'hotfix' into dev
2019-05-27 12:50:19 +02:00
Sylvain
5d32756928
[bug] updating a setting does not chain new values
2019-05-27 11:21:29 +02:00
Sylvain
6f2483a51f
[bug] when generating an Avoir at a previous date, the resulting checksum may be invalid
2019-05-27 11:11:21 +02:00
Sylvain
b423d9fce7
add link to interface in abuse report mail
2019-05-21 12:38:07 +02:00
Sylvain
9c2598d405
ability to delete processed reports
2019-05-21 12:24:45 +02:00
Sylvain
dfb0ea12f0
style component
2019-05-21 11:57:44 +02:00
Sylvain
7bbea22e76
display reports in interface
2019-05-21 11:49:50 +02:00
Sylvain
630809b91f
moved abuses panel to admin zone + fix loading template
2019-05-21 11:16:12 +02:00
Sylvain
dd4b6e2cb1
[ongoing] abuses management interface
2019-05-09 18:27:19 +02:00
Sylvain
10a87eb4cb
refactored project list translations
2019-05-09 16:09:20 +02:00
Sylvain
3394413747
fixed syntax
2019-05-07 15:56:23 +02:00
Sylvain
26b901ebb5
[bug#131] Availabilities export report an erroneous number of reservations for machine availabilities
2019-05-07 12:24:51 +02:00
Sylvain
4dfe02bebf
improved ruby syntax to match coding rules in some services
2019-04-25 15:09:37 +02:00
Sylvain
21c7484396
notify admin about notifications sent
2019-04-25 12:04:16 +02:00
Sylvain
8369e2e78e
fix: restore current policy on dropdown selection
2019-04-25 11:58:42 +02:00
Sylvain
162a56250a
notify users after privacy policy update + hide undefined content
2019-04-25 11:40:26 +02:00
Sylvain
531e298b14
[bug] updating a setting does not chain new values
2019-04-23 13:04:50 +02:00
Sylvain
c0c9b2a980
privacy policy: fixed admin view after update + display last update date
2019-04-23 12:58:01 +02:00
Sylvain
d0f0a293f3
save as draft or publish
2019-04-18 16:55:50 +02:00
Sylvain
caf6054e66
convert es6 to es5 in erb file
2019-04-18 16:01:58 +02:00
Sylvain
d9ce766f42
using ruby interpretation for SettingsController
2019-04-18 15:58:45 +02:00
Sylvain
7a2fc7c42e
[ongoing] save as draft or publish
2019-04-18 15:57:56 +02:00
Sylvain
8fae8b104d
admin interface to customize privacy policy page
2019-04-18 12:30:00 +02:00
Sylvain
5bdaebb2f2
privacy policy public page
2019-04-18 12:00:57 +02:00
Sylvain
43ff06c35d
fixed and improved translations
2019-04-18 11:35:09 +02:00
Sylvain
403e3a5562
enhance code quality for statistic service
2019-04-16 11:57:36 +02:00
Sylvain
936495e596
[bug] when paying reservation with wallet, the invoice footprint is not correctly updated
2019-04-08 17:04:53 +02:00
Sylvain
3b3e1af822
improved coupon filtering to allow pagination while filtering
2019-04-08 11:00:00 +02:00
Sylvain
44479b5597
allow filtering coupons list
2019-04-04 18:00:19 +02:00
Sylvain
9f8d24ec4f
paginate list of coupons
2019-04-04 17:28:29 +02:00
Sylvain
c223bd99ea
add loader while archive is not ready
2019-04-04 12:55:21 +02:00
Sylvain
c786ba6edb
notify user about archiving
2019-04-04 11:37:23 +02:00
Sylvain
94796bca29
fixed ruby syntax with linter
2019-04-04 09:33:41 +02:00
Sylvain
21a5f5591a
[ongoing] generate achives async
2019-04-03 17:57:21 +02:00
Sylvain
0f622d1aec
fixed ruby style
2019-04-03 17:39:45 +02:00
Sylvain
4be597ba9d
fixed ruby style
2019-04-03 17:33:43 +02:00
Sylvain
8a6ff0c093
prevent closing a period not in the past
2019-04-03 17:27:25 +02:00
Sylvain
9e39a0517c
[bug] vat rat in archives may be wrong
2019-04-03 16:56:47 +02:00
Sylvain
8e895e6b6a
force user to use datepicker in close period modal
2019-04-03 14:47:39 +02:00
Sylvain
79c3cfaa27
prevent the user to close the modal modal while closing a period
2019-04-03 14:31:39 +02:00
Sylvain
722d5d36e7
check server-side that periods match length requirements + explain requirements to user before closing
2019-04-03 13:04:19 +02:00
Sylvain
93ff761e64
[bug] Error :syntax when using quote in event category name
2019-04-02 16:19:23 +02:00
Sylvain
7cdacb3164
print date in archive
2019-04-01 13:36:45 +02:00
Sylvain
7a317b7e45
[bug] unable to add a file attachment to an event
2019-03-28 11:30:25 +01:00
Sylvain
a50bb63b64
prevent double validation while closing period
2019-03-27 17:37:36 +01:00
Sylvain
fc04886e89
prevent generate refund before first accounting period
2019-03-27 16:46:08 +01:00
Sylvain
be6b82fda1
improved VAT history + updated changelog + added instruction on watermark localisation
2019-03-27 15:50:38 +01:00
Sylvain
ea2a73cdc1
add asterisks on required fields
2019-03-26 17:20:10 +01:00
Sylvain
75310d599f
Merge branch 'host' into dev
2019-03-26 14:33:30 +01:00
Sylvain
fcc78d3930
apply coding rules to openAPI doc
2019-03-26 14:27:39 +01:00
Sylvain
b31bb272cc
unbranding LaCasemate
2019-03-26 14:04:45 +01:00
Sylvain
01ac73a1a1
removed capistrano & unicorn + cleaned lacasemate brading
2019-03-26 10:40:58 +01:00
Sylvain
2ac0336adb
Merge branch 'dev' into host
2019-03-25 16:17:23 +01:00
Sylvain
5cdaa014ef
[security] updated devise + updated rails
2019-03-25 14:57:48 +01:00
Sylvain
fd55c8d315
use SHA-3 (256 bits) to compute checksums + simplify accounting period integrity check UI
2019-03-21 17:15:41 +01:00
Sylvain
8530a6f655
superadmin + fixed free space notification
2019-03-20 16:49:38 +01:00
Sylvain
bf526458b4
add label to accounting period button
2019-03-20 11:56:03 +01:00
Sylvain
940ea3051b
chain historyValues with sha256 footprints
2019-03-20 11:01:53 +01:00
Sylvain
03c0c0d4fb
close periods at 1 year minus 1 day + fix alert reminder transalation
2019-03-18 14:45:21 +01:00
Sylvain
7b0824a4a3
notify admins when no accounting period closed for 1 year
2019-03-18 14:33:30 +01:00
Sylvain
c356f35f29
add operator_id to invoices
2019-03-18 11:11:09 +01:00
Sylvain
b439c643cb
zip archives, include checksum, chained zips
2019-03-13 17:48:35 +01:00
Sylvain
9fcb4277cd
Merge branch 'dev' into host
2019-03-13 16:49:11 +01:00
Sylvain
402be18bdf
model documentation
2019-03-13 16:49:03 +01:00
Sylvain
857b1cebba
fix accounting period checksum + improved period validation
2019-03-12 15:26:17 +01:00
Sylvain
4f418cc3fb
compute total without taxes + fix close period date pickers + improved archived % number format
2019-03-12 13:36:10 +01:00
Sylvain
b9e427a9fc
include VAT in archives
2019-03-12 12:15:14 +01:00
Sylvain
4e7a62bc2b
[ongoing] close period for max 1 year + force contiguous periods + fix totals
2019-03-12 09:14:20 +01:00
Sylvain
2a32bc4752
date the archives
2019-03-11 16:25:51 +01:00
Sylvain
b940ae0327
display complete info set on accounting archives
2019-03-11 16:11:49 +01:00
Sylvain
e35c50e42b
multilingual watermark on invoices
2019-03-11 14:47:52 +01:00
Sylvain
811d7288e7
fix chain_record methods
2019-03-11 13:49:16 +01:00
Sylvain
ae7a939cba
Merge branch 'dev' into host
2019-03-11 12:48:14 +01:00
Sylvain
20e91ede4e
Limit members search to 50 results to speed up queries
2019-03-11 12:47:46 +01:00
Sylvain
e78831e3cf
enlight watermark
2019-03-11 12:41:58 +01:00
Sylvain
e543f1fe3e
add watermark to invoices in dev/staging/test environment
2019-02-27 17:44:52 +01:00
Sylvain
672029876a
Merge branch 'dev' into host
2019-02-27 15:30:23 +01:00
Sylvain
a30513d59e
refactored invoice generation
2019-02-26 16:27:26 +01:00
Sylvain
a2ce0c3753
refactored invoice pdf generation script
2019-02-26 16:11:37 +01:00
Sylvain
9854a4b965
prevent memory saturation with periodic checks
2019-02-26 15:18:19 +01:00
Sylvain
1c8e82df14
added free disk space notification to oss release to prevent collision
2019-02-26 11:13:57 +01:00
Sylvain
8f210bb713
Merge branch 'dev' into host
2019-02-26 10:45:34 +01:00
Sylvain
1b97c39645
refactored notificationcenter to accept meta_data
2019-02-26 10:45:12 +01:00
Sylvain
279a958e46
download accounting period archive through interface
2019-02-25 17:22:54 +01:00
Sylvain
f11f629bcf
compute, secure and archive period total and cumulative total of each accounting period
2019-02-25 14:51:19 +01:00
Sylvain
1321e196f2
Merge branch 'dev' into host
2019-02-25 14:41:00 +01:00
Sylvain
e9b52a4c42
added sass variables for bootstrap upgrade
2019-02-25 14:40:39 +01:00
Sylvain
cf23fae73c
Merge branch 'dev' into host
2019-02-14 16:35:38 +01:00
Sylvain
7b573dd37f
restored deprecated notification
2019-02-14 13:05:09 +01:00
Sylvain
9f765009a8
[bug] unable to create oauth2 sso
...
[bug] application failed when sso activated
[bug] missing translations in oauth2 forms
2019-02-14 12:25:37 +01:00
Sylvain
06f2c3626c
refactored rake tasks
2019-02-13 12:59:28 +01:00
Sylvain
ffe5516d10
prevent closing an accounting period if any checksum error in period
2019-02-12 17:38:44 +01:00
Sylvain
9f4d026f30
fix last archive infos in closed accounting period
2019-02-12 16:19:11 +01:00
Sylvain
2ba3890325
display records integrity status
2019-02-12 16:00:36 +01:00
Sylvain
f9364b3872
chains invoice and invoiceItem records. save them in archives
2019-02-12 14:45:21 +01:00
Sylvain
cc124a0dee
[ongoing] chain invoice records
2019-02-11 13:57:07 +01:00
Sylvain
6e274afe3b
accounting archive: insert code checksum and previous archive checksum
2019-01-31 12:19:50 +01:00
Sylvain
55ae979213
Merge branch 'dev' into host
2019-01-30 10:04:12 +01:00
Sylvain
a528fc3766
infos about deprecated notification
2019-01-30 10:03:53 +01:00
Sylvain
6e89df045d
[bug] some reservation slots are not shown on the user calendars ( #127 )
2019-01-29 11:29:14 +01:00
Sylvain
da672ea8b6
Merge branch 'dev' into host
2019-01-21 16:34:06 +01:00
Sylvain
da4c9cf26f
[bug] invalid translation of title in new partner modal + refactored plans controller
2019-01-21 16:27:59 +01:00
Sylvain
75eaf4d4d0
improved member autocompletion with multiple words + refactored members controller
2019-01-21 15:17:56 +01:00
Sylvain
62410da9e1
add test for member autocomplete
2019-01-21 11:49:35 +01:00
Sylvain
80aab9f17c
fixed: create event with custom price
2019-01-21 11:26:42 +01:00
Sylvain
c4b3c1eab5
[bug] unable to search in user autocomplete
2019-01-21 09:42:51 +01:00
Sylvain
65892684a8
fixed availabilities controller
2019-01-17 16:55:25 +01:00
Sylvain
5a09453ac2
refactored availabilities controller
2019-01-17 16:26:03 +01:00
Sylvain
da25e16c50
refactored events controller
2019-01-17 09:53:28 +01:00
Sylvain
d2c4773ac9
[bug] unable to delete an admin who has changed a setting
2019-01-16 17:09:27 +01:00
Sylvain
0cd841da33
rubocop api controllers
...
TODO:
- events controller
- availabilies controller
- members controller
- plans controller
2019-01-16 16:28:25 +01:00
Sylvain
c6cf86fa5c
rubocop api controllers
2019-01-16 13:07:19 +01:00
Sylvain
526b9aab0c
[bug] unable to create/edit plan of 12 months/53 weeks
2019-01-16 12:10:07 +01:00
Sylvain
27f3296719
rubocop coupon
2019-01-16 11:07:09 +01:00
Sylvain
eb69822ce0
Merge branch 'dev' into host
2019-01-14 15:00:55 +01:00
Sylvain
77797db2f1
display VAT rates history
2019-01-14 15:00:33 +01:00
Sylvain
7ca72f53f2
refactored ApplicationController + rubymine stub for devise
2019-01-14 14:45:23 +01:00
Sylvain
068f4c829b
fixed user's role method call
2019-01-14 14:32:00 +01:00
Sylvain
a1ba272538
Merge branch 'dev' into host
2019-01-14 13:00:24 +01:00
Sylvain
f6e236aeb5
refactored roles methods to match ruby conventions
2019-01-14 12:57:31 +01:00
Sylvain
0927336956
fixed reservation after removing disable_invoicing + updated vcr cassettes
2019-01-14 12:45:17 +01:00
Sylvain
a2eb10331e
[ongoing] remove invoicing disabled per user
2019-01-10 16:50:54 +01:00
Sylvain
1db5e76bc9
tests on accounting periods + force reload periods when opening periods/avoir modal
2019-01-10 15:12:22 +01:00
Sylvain
4b5bd74188
add invoice_items in accounting archive
2019-01-10 13:05:57 +01:00
Sylvain
b42d1614fd
export to flat json files closed periods
2019-01-10 10:52:29 +01:00
Sylvain
2f17d90054
remove button 'generate refund' for invoices within closed periods
2019-01-09 17:07:15 +01:00
Sylvain
35638d611b
validates invoice&avoir creation to prevent any creation in closed period
2019-01-09 16:54:09 +01:00
Sylvain
5e8172af35
Merge branch 'dev' into us78
2019-01-09 16:28:36 +01:00
Sylvain
5ab0333176
rubocop invoice & avoir
2019-01-09 16:28:23 +01:00
Sylvain
dafeb668e0
Merge branch 'dev' into us78
2019-01-09 12:07:47 +01:00
Sylvain
56829190d6
refactored invoices controller
2019-01-09 12:07:31 +01:00
Sylvain
9fac706da8
validates accounting periods on creation + prevent refunding on closed periods (client only)
2019-01-08 17:32:45 +01:00
Sylvain
84aa0c75ff
fix date on period closing + improved confirmation msg
2019-01-08 11:58:37 +01:00
Sylvain
ccff40b226
handle dates default values and limits in close period modal
2019-01-08 11:19:07 +01:00
Sylvain
12c25389fa
Merge branch 'dev' into us78
2019-01-08 09:56:22 +01:00
Sylvain
d4cddc92fb
code comments
2019-01-08 09:56:07 +01:00
Sylvain
859544565b
[bug] first day of week is ignored in statistics custom filter
2019-01-08 09:38:35 +01:00
Sylvain
d8c8e4f72f
set default dates in close modal pickers
2019-01-07 17:21:32 +01:00
Sylvain
5b13c59496
list existing closings in close period modal
2019-01-07 16:45:31 +01:00
Sylvain
d89f9e9301
close an accounting period from interface to db through api
2019-01-07 15:33:09 +01:00
Sylvain
b1b5edbfb4
Merge branch 'dev' into us78
2019-01-07 12:48:47 +01:00
Sylvain
4ab0b52294
rubocop controllers
2019-01-07 12:48:22 +01:00
Sylvain
4af3e19cd0
accounting periods API
2019-01-07 12:47:53 +01:00
Sylvain
0a684c8e13
rails DB model for accounting periods
2019-01-07 12:29:52 +01:00
Sylvain
0a59dc6b5d
display previous closings in modal
2019-01-07 10:50:10 +01:00
Sylvain
c35029d205
i18n for close period modal
2019-01-03 17:51:24 +01:00
Sylvain
3fda7562d4
Merge branch 'dev' into us78
2019-01-03 17:40:04 +01:00
Sylvain
6637832d00
refactored frontend invoices translations
2019-01-03 17:39:50 +01:00
Sylvain
bd6584f529
code improvement
2019-01-03 16:50:50 +01:00
Sylvain
105bcf6236
[ongoing] interface to close an accounting period
2019-01-03 16:48:52 +01:00
Sylvain
ea0ec47268
[bug] error handling does not work in some cases
2019-01-03 12:22:34 +01:00
Sylvain
93dd1491cd
[bug] unable to create or edit a plan
2019-01-02 16:49:09 +01:00
Sylvain
39ab5a7ba9
[bug] unable to fetch projects from OpenProjects ( #126 )
2019-01-02 13:53:27 +01:00
Sylvain
9d831ef44a
rubocop code style
2018-12-27 14:55:55 +01:00
Sylvain
96e980e7b2
removed dead code + improved test suite
2018-12-27 14:53:11 +01:00
Sylvain
10e3d4c3e4
fix update setting from client
2018-12-27 14:15:58 +01:00
Sylvain
688b57e537
fixed data migration for settings -> history_values
2018-12-18 10:21:35 +01:00
Sylvain
ed65976c41
[ongoing] save settings history
2018-12-17 16:02:02 +01:00
Sylvain
d01a93e0f0
[ongoing] members tests
2018-12-12 17:24:31 +01:00
Sylvain
811b7193f7
improved & fixed test suite
2018-12-12 13:49:14 +01:00
Sylvain
f2eaf4e4e1
improved tests and bug fixes
2018-12-11 17:27:25 +01:00
Sylvain
ad69b647f7
fix reservation + subscription
2018-12-11 15:07:32 +01:00
Sylvain
7822ab4572
[ongoing] fix reservation processes
2018-12-10 17:20:23 +01:00
Sylvain
8e60545753
extend subscription and offer free days will keep track of previous subscription
2018-12-10 13:24:00 +01:00
Sylvain
bef3118649
[ongoing] refactor user.subscriptions to save history
...
TODO: - refactor subscription.save_with_payment (stripe)
- offer free days
- extend the subscription
- renew a subscription
- buy subscription + reservation
2018-12-06 18:26:01 +01:00
Sylvain
6794b12555
force gawk during elastic upgrade & rubocop
2018-12-03 15:10:04 +01:00
Sylvain
5828513a3a
handle error while polling notifications fails
2018-11-27 16:51:30 +01:00
Sylvain
f6cd552c66
migrate to angular 1.6
2018-11-27 16:26:21 +01:00
Sylvain
ab334d504b
migrate to angular 1.5
2018-11-27 15:16:23 +01:00
Sylvain
ad3105cbc9
migrate to angular 1.4
2018-11-27 13:57:41 +01:00
Sylvain
ffbe3e0b4a
updated procedure to setup development env, using docker
2018-11-26 15:14:43 +01:00
Sylvain
56a56565ae
[bug] create transverse plan: do not create one for the admins group
2018-11-26 11:33:48 +01:00
Sylvain
0c63405b4d
migrate from bower to yarn
2018-11-22 17:09:33 +01:00
Sylvain
2801ab0039
fix controllers imports issues due es6 convertion
2018-11-21 15:29:35 +01:00
Sylvain
0aa75488fa
store and retrieve app version in package.json
2018-11-21 11:42:04 +01:00
Sylvain
6e56ac4286
javascript fixes
2018-11-21 11:32:50 +01:00
Sylvain
f528b2021d
added semicolons
2018-11-21 11:08:53 +01:00
Sylvain
8cd533b5a6
eslint problems autofixes
2018-11-21 10:59:07 +01:00
Sylvain
d250dfa1d3
convert coffeescript comments to valid jsdoc
2018-11-21 09:42:31 +01:00
Sylvain
8a03b0b4f2
fix events page + fix disableAnimation directive
2018-11-20 16:25:15 +01:00
Sylvain
c1b1b701ae
fixes and improvements after coffeescript migration
2018-11-20 14:44:41 +01:00
Sylvain
bf1a3ce913
fix ERB JS services
2018-11-20 13:46:28 +01:00
Sylvain
0814f8c2fa
fix ERB JS directives
2018-11-20 13:44:53 +01:00
Sylvain
cfedb643b5
fix angular router file
2018-11-20 12:57:10 +01:00
Sylvain
74b6afd166
fix ERB JS controllers
2018-11-20 12:26:06 +01:00
Sylvain
aac0e8125c
[ongoing] fix erb js controllers
2018-11-19 16:52:48 +01:00
Sylvain
185ea30db3
Merge branch 'erb' into es6
2018-11-19 16:20:46 +01:00
Sylvain
6352087f70
fix comments in erb files
2018-11-19 16:17:49 +01:00
Sylvain
12f74d5d08
fixed javascript for events controllers
2018-11-07 16:37:28 +01:00
Sylvain
39b18933b6
fixed javascript for application controller
2018-11-07 16:36:10 +01:00
Sylvain
e7031c90d5
restablished erb files
2018-10-25 17:08:13 +02:00
decaffeinate
5da4bf6317
decaffeinate: Run post-processing cleanups on about.coffee and 95 other files
2018-10-25 16:51:20 +02:00
decaffeinate
2c4dd31869
decaffeinate: Convert about.coffee and 95 other files to JS
2018-10-25 16:50:16 +02:00
decaffeinate
c4a2635cd9
decaffeinate: Rename about.coffee and 95 other files from .coffee to .js
2018-10-25 16:49:04 +02:00
Sylvain
944fa5f9b9
fixed erb syntax for decaffeinate
2018-10-25 13:10:39 +02:00
Sylvain
41847d75a2
removed erb suffixes
2018-10-25 13:06:09 +02:00
Sylvain
8d4b354199
[bug] change group button overflow
2018-10-15 16:51:44 +02:00
Sylvain
2126a199e0
Ability to set a neutral gender for the fablab's title ( #108 )
2018-09-18 16:40:50 +02:00
Sylvain
1e3066f6f4
Ability to parametrize machines order on the booking page
2018-09-18 15:30:54 +02:00
Sylvain
a26e8edf19
fix rendering issues in settings
2018-09-18 14:38:43 +02:00
Sylvain
1b33f3c865
display the machine reservation user name to other members
2018-07-24 12:24:51 +02:00
Sylvain
afc6ef40d2
fixed User.to_json
2018-07-24 11:19:30 +02:00
Sylvain
9af1e5c658
fixed User.to_json
2018-07-24 11:13:05 +02:00
Sylvain
a7cc1711aa
Merge branch 'elastic5' into dev
2018-07-12 12:50:52 +02:00
Sylvain
407c18075c
[bug] event catgories not correct in statistics
2018-07-12 12:48:50 +02:00
Sylvain
05bd65dfb2
migrate es api: top 10 aggregations
2018-07-12 11:26:13 +02:00
Sylvain
7afe62522f
refactor User.as_json to use jbuilder template
2018-07-04 14:05:44 +02:00
Sylvain
17b7e96b67
[ongoing] fix top 10 aggregation
2018-06-12 12:59:23 +02:00
Sylvain
38551e8ac2
[ongoing] migrate es api: graphs (see FIXME)
2018-06-08 17:22:03 +02:00
Sylvain
f66ca9165e
migrate es api: statistics
2018-06-08 12:27:11 +02:00
Sylvain
697ea87e37
[bug] unable to filter statistics from age 0
2018-06-08 12:06:22 +02:00
Sylvain
d69007c6c9
[ongoing] migrate es api
2018-06-05 12:30:08 +02:00
Sylvain
1aad974782
Ensure elasticSearch indices are started with green status on new installations
2018-04-04 14:05:48 +02:00
Sylvain
c174f22c00
fix social sharing of trainings
2018-01-09 16:53:27 +01:00
Sylvain
679ccfec99
ability to share trainings on social medias
2018-01-09 15:09:48 +01:00
Sylvain
290b2ad513
[bug] facebook sharing of event has HTML tags in description
2018-01-09 15:02:45 +01:00
Sylvain
bdf799f79e
[bug] a reminder notification were sent for canceled reservations
2018-01-09 14:44:19 +01:00
Sylvain
72634162c6
[bug] unable to create training credit
2017-12-21 11:49:51 +01:00
Nicolas Florentin
a29ba926c0
fix events/index order, frontend js code was conflicting with server-side behaviour
2017-12-18 16:15:38 +01:00
Nicolas Florentin
2f4dd4642a
adds polyfill for Object.assign, fix for IE11
2017-12-18 14:54:46 +01:00
Sylvain
77e218aa7e
fix test suite
...
- update VCR cassettes
- fix test fixtures to allow pass test suite at the end of the week
2017-12-14 16:40:01 +01:00
Sylvain
a5b718d981
fix tests with invoices
2017-12-14 15:52:34 +01:00
Sylvain
e091b81187
fix events pagination
2017-12-13 15:20:51 +01:00
Sylvain
0b3192c3ab
[bug] subscription refund generate PDF with wrong dates
2017-12-13 13:16:32 +01:00
Sylvain
12c6cd2a70
Merge branch 'siteswapjuggler-master' into dev
...
also: align translations and mark missings
2017-11-20 11:43:40 +01:00
Sylvain
639610dc7a
[bug] unable to display profiles of users whom any reservation is associated with a deleted object
2017-11-13 11:15:33 +01:00
Sylvain
497ad71591
Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev
2017-11-02 15:34:09 +01:00
Sylvain
73a62bd9a0
[feature] allow setting decimal prices
2017-11-02 15:33:56 +01:00
Sylvain
90fe4e313b
hide reserve button on machine details page is machine is disabled
2017-10-16 14:04:55 +02:00
Sylvain
f4fd919dde
display disabled status for machines & trainings in openAPI
2017-10-11 16:03:04 +02:00
Sylvain
cc94a19ba6
hide disabled spaces in admin pricing area
2017-10-11 15:50:18 +02:00
Sylvain
02a155e7af
prevent create availability for disabled space
2017-10-11 15:23:42 +02:00
Sylvain
1631e4ae5c
hide disabled spaces & machines in public calendar
2017-10-11 15:18:44 +02:00
Sylvain
f8f45bcb69
filter and hide disabled spaces in list
2017-10-11 15:15:30 +02:00
Sylvain
1c8d362f11
ability to disable space
2017-10-11 14:58:38 +02:00
Sylvain
02baf9097e
hide disabled machine in admin pricing zone + prevent creating negative credits
2017-10-11 14:48:03 +02:00
Sylvain
ad288628cc
hide disabled trainings in pricing admin zone
2017-10-11 13:09:52 +02:00
Sylvain
0ab01091cd
prevent create availabilities for disabled machines
2017-10-11 13:02:54 +02:00
Sylvain
45465e8b59
prevent associate disabled machines w/ training
2017-10-11 13:00:46 +02:00
Sylvain
c9c7fe00c5
filter disabled machines in list + improve responsiveness
2017-10-11 12:54:13 +02:00
Sylvain
c67360771a
ability to disable machine
2017-10-11 12:10:05 +02:00
Sylvain
5ce6d4486e
fix profile complete mail template for non imported users
2017-10-11 11:56:43 +02:00
Sylvain
41eef71ead
fix c/p issue + prevent link disabled training to user
2017-10-11 11:40:21 +02:00
Sylvain
4d7a317315
prevent create new availability with disabled training
2017-10-10 18:17:22 +02:00
Sylvain
0e38574ef8
hide disabled trainings in public calendar
2017-10-10 18:13:30 +02:00
Sylvain
4752fce762
disable required training modal for machines associated with disabled trainings
2017-10-10 18:12:07 +02:00
Sylvain
4090fe2119
filter trainings list by status
2017-10-10 17:38:01 +02:00
Sylvain
05d9e62dd2
ability to disabled training
2017-10-10 17:16:43 +02:00
Sylvain
14592c1e18
prevent user from switching to disabled group
2017-10-10 16:30:28 +02:00
Sylvain
33b146d243
hide disabled groups
2017-10-10 15:44:17 +02:00
Sylvain
189665e53b
[ongoing] prevent disable group with users + [ongoing] hide disabled groups
2017-10-05 17:54:44 +02:00
Sylvain
fb092afc8c
filter enabled/disabled groups
2017-10-05 17:12:22 +02:00
Sylvain
c5f0501df2
enable/disable group
2017-10-05 16:48:18 +02:00
Sylvain
40bf22279e
add warning on plan disabling
2017-10-05 15:44:06 +02:00
Sylvain
a9cce55855
plan disabling: hide everywhere + filter in admin filter
2017-10-05 15:32:20 +02:00
Sylvain
26d79e5b12
disable a plan
2017-10-04 18:56:39 +02:00
Sylvain
25eb24e516
Confirmation and error handling while deleting an event
2017-10-02 13:14:15 +02:00
Sylvain
bbae623cac
[bug] image deformed on small device
2017-09-26 16:32:55 +02:00
Sylvain
601ac177b6
[bug] rendering for social networks shares
2017-09-26 15:48:47 +02:00
Sylvain
dbff2d1745
events list: change buttons to anchors to allow opening in background tab
2017-09-26 09:44:55 +02:00
Sylvain
ce0887e2ec
add missing jsdoc
2017-09-25 15:58:45 +02:00
Sylvain
f874748f74
[bug] fix events monitoring pagination
2017-09-25 15:48:21 +02:00
siteswapjuggler
70cf6ebfa8
cancel and sold out badge in event list
...
Public event list prompte cancelled and sold out badge for more clarity
to the public users.
Correction for « sold_out » test in home, show and public list. 0
subscriber with 0 free_place should be a free entry case and it appears
to be sold out.
Another error occurs (negative free place) if an admin change the
number of free places or decide to go free entry with an event.
Home and public list better display with access and price separate.
2017-09-24 21:51:58 +02:00
siteswapjuggler
cda13540f9
limit parameter removed
...
as requested
2017-09-24 18:39:32 +02:00
siteswapjuggler
5fe1a53237
double slashes correction in open API event JSON
...
correction of the double slash as requested
2017-09-24 18:37:08 +02:00
siteswapjuggler
22982a2356
Merge remote-tracking branch 'LaCasemate/master'
2017-09-24 18:17:58 +02:00
siteswapjuggler
3e2e5f5972
cancelled event management on front page
...
Cancelled event (nb_total_places = -1) are not prompted anymore on the
homepage >> no need to push them to the final user.
They are still display in the event module for continuity
2017-09-24 18:17:40 +02:00
siteswapjuggler
37bdfcb96f
pull request modification
...
Modification as requested for the pull request.
2017-09-24 15:12:46 +02:00
Sylvain
8d92f8492a
removed full-calendar hack, improved remove slot precess
2017-09-18 12:42:45 +02:00
Sylvain
54d686f1ac
[bug] home events overflow
2017-09-11 14:10:52 +02:00
siteswapjuggler
52071c7b83
Merge remote-tracking branch 'LaCasemate/master'
2017-09-10 12:01:59 +02:00
Sylvain
f5e2a44dcf
[bug] in public calendar, availabilities are not shown to visitors
2017-09-07 11:44:50 +02:00
Sylvain
404101ccd4
english and portuguese translations
2017-09-07 10:47:18 +02:00
Sylvain
273ec5317d
disallow locking availabilities if it has any non-cancelled reservations
2017-09-06 18:07:56 +02:00
Sylvain
57228f4eec
hide slots in members calendars if locked
2017-09-06 17:10:10 +02:00
Sylvain
9caa3ff56f
hide slots in members calendars if locked
2017-09-06 17:09:40 +02:00
Sylvain
d092a1c5ea
admin can lock and unlock availbilities
2017-09-06 15:01:41 +02:00
Sylvain
82511aa781
[feature] prevent creation of irregular yearly plans
2017-09-05 17:01:09 +02:00
Sylvain
53c1a72060
Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev
2017-09-05 10:43:24 +02:00
Sylvain
31cdc5c695
[bug] reccursive events have difference with requested time when crossing DST ( #77 )
2017-09-04 16:50:07 +02:00
siteswapjuggler
e13817176f
event monitor improvement
...
Many imrovement for the event monitoring admin module.
2017-09-04 00:09:08 +02:00
siteswapjuggler
73c9e301fb
open api events improvement
...
new data available: start_at, end_at, event_image
new controllers: id, upcoming, limit
2017-09-03 13:55:38 +02:00
Sylvain
112b174e5f
[bug] invalid time for reccurent events after Daylight Saving Time change
2017-08-31 17:32:04 +02:00
Nicolas Florentin
d602055e67
In login modal, displays an alert if Caps lock key is pressed
2017-08-31 17:11:46 +02:00
Sylvain
3d4260a3f7
[bug] unable to delete standard group
2017-08-30 14:57:06 +02:00
Sylvain
9c6143bd5e
tooltip about images insertion in medium editor
2017-08-29 17:50:57 +02:00
Sylvain
dcf55d8351
[bug] invalid notification text when sending amount coupon
2017-08-29 16:10:16 +02:00
Sylvain
cf6afb817d
[feature] configuration of max visibility for reservations
2017-08-24 18:34:18 +02:00
Sylvain
eb4f97000d
[bug] admin cannot see all space availabilities
2017-08-24 16:53:27 +02:00
Sylvain
295dc3749b
[bug] filename too long on events&prices API + updated axlsx
2017-08-16 12:05:04 +02:00
Sylvain
00d157dc3b
[bug] filename too long error on GET api/groups
2017-07-26 10:15:47 +02:00
Sylvain
3e44d62aac
[bug] filename too long error on GET api/trainings
2017-07-18 10:55:41 +02:00
Sylvain
17544225b5
[bug] invoices generation failed for subscription days offered
2017-07-12 11:38:51 +02:00
Sylvain
42d2c2ee31
[bug] hide spaces in public calendar when disabled
2017-06-13 19:31:48 +02:00
Sylvain
7ff46db808
[bug] confirmation message after admin creation
2017-06-13 19:26:32 +02:00
Peng DU
2ff47f3204
add task Id: 3713, reference: 1706002/VL, stripe id: in_1ASRQy2sOmf47Nz9Xpxtw46A, invoice total: 30.0, stripe invoice total: 80.0, date: 2017-06-08 16:16:26 +0200
...
Id: 3716, reference: 1706005/VL, stripe id: in_1ASRye2sOmf47Nz9utkjPDve, invoice total: 30.0, stripe invoice total: 40.0, date: 2017-06-08 16:51:15 +0200
Id: 3717, reference: 1706006/VL, stripe id: in_1ASS1X2sOmf47Nz93Xn2UxVh, invoice total: 30.0, stripe invoice total: 40.0, date: 2017-06-08 16:54:14 +0200
Id: 3718, reference: 1706007/VL, stripe id: in_1ASSBI2sOmf47Nz9Ol0gEEfC, invoice total: 30.0, stripe invoice total: 40.0, date: 2017-06-08 17:04:19 +0200 allow find the invoices incoherent
2017-06-09 11:08:08 +02:00
Peng DU
c6fedf3f20
Merge branch 'fix_issus_77' into dev
2017-06-08 19:40:30 +02:00
Peng DU
eca141f902
fix bug #77 : reservation amount total isnt equal stripe invoice amount that be paid by client
2017-06-08 19:38:19 +02:00
Sylvain
8531168ba2
improve RSS with project author and image + event dates image and category
2017-05-17 12:18:20 +02:00
Sylvain
7960964aed
set organization name in invoice object, if any ( #64 )
2017-05-16 10:44:52 +02:00
Sylvain
54154b1713
[feature] ability for admins to create users or organizations
2017-05-16 10:23:25 +02:00
Sylvain
b403f86187
[bug] price init for new groups & delete group
2017-05-15 15:25:27 +02:00
Sylvain
89e30980e0
[bug] unable to set locale other than fr or en
2017-04-27 18:35:00 +02:00
cyril
d1a1b63db5
Project view: added responsive support on external images
2017-04-13 14:26:29 +02:00
cyril
3fcf61de24
hide spaces in admin's credit management if spaces are disabled
2017-03-28 20:13:18 +02:00
Peng DU
1d53e3b5b7
fix json template of training reservation
2017-03-28 19:53:48 +02:00
Peng DU
2cc8096236
fix bug: cant get list of training reservation
2017-03-28 19:45:36 +02:00
Sylvain
ff8e804750
Merge branch 'week' into dev
2017-03-21 15:51:52 +01:00
Sylvain
f4187d0b4b
[bug] news plans statistics are not shown
2017-03-21 15:47:25 +01:00
Sylvain
5abc85ae0a
[feature] weekly plans
2017-03-21 13:06:02 +01:00
Sylvain
21560dd5d9
show space details on image-click
2017-03-21 12:06:58 +01:00
Sylvain
2c1b65eab9
Merge branch 'hotfix' into dev
2017-03-15 13:07:28 +01:00
Sylvain
8d5966396d
[bug] editing a plan remove the rolling attribute
2017-03-15 12:50:19 +01:00
Sylvain
38ce1b23b7
fix duplicates SLOT_DURATION declarations
2017-03-13 10:21:41 +01:00
Sylvain
796f0a87ae
ability to remove an unused custom price for an event ( #61 )
2017-03-02 18:36:54 +01:00
Sylvain
0f6358011f
improved space explications style
2017-03-02 17:04:47 +01:00
Sylvain
20ccc809aa
prevent polling notifications when the page is in background
2017-03-02 16:50:02 +01:00
Sylvain
853a3160d3
add notice about availabilities export
2017-03-02 13:39:49 +01:00
Sylvain
d8b8c39cb3
add day of week to availabilities export
2017-03-02 13:31:12 +01:00
Sylvain
c21f7ed5dc
export events availabilities
2017-03-02 13:05:29 +01:00
Sylvain
056060a88d
export spaces availabilities
2017-03-02 12:57:07 +01:00
Sylvain
d9b30fa2b0
export trainings availabilities
2017-03-02 12:44:59 +01:00
Sylvain
504fe49964
export machines availabilities
2017-03-02 12:34:28 +01:00
Sylvain
4d09ed37a3
export machines availabilities
2017-03-02 12:34:16 +01:00
Sylvain
f5ac9b1913
[bug] month navigation in client calendar ( #59 )
2017-03-01 17:23:46 +01:00
Sylvain
b9dcf5a512
[bug] delete event with custom price ( #61 )
2017-03-01 17:09:37 +01:00
Sylvain
2e094a501f
init spaces prices on plan creation
2017-03-01 16:45:05 +01:00
Sylvain
6df0a4090e
hide spaces in admin's price management and in plan edition if spaces are disabled
2017-03-01 15:58:40 +01:00
Sylvain
7ba50a72b7
reorganize spaces menu entries
2017-03-01 15:51:13 +01:00
Sylvain
13689fd707
set spaces disabled by default
2017-03-01 15:50:49 +01:00
Sylvain
f208caf5b0
fix change space reservation when many users on the slot does not change the good user
2017-03-01 14:47:59 +01:00
Sylvain
3c6bcccd0d
reset reservation modification on user change
2017-03-01 14:38:29 +01:00
Sylvain
30c6954464
prevent modify reservation to a complete slot
2017-03-01 14:35:07 +01:00
Sylvain
c9d6df13f9
disable space projects
2017-03-01 14:30:53 +01:00
Sylvain
185084f244
prevent admin from creating space availabilities that are not multiples of 1h
2017-03-01 14:27:01 +01:00
Sylvain
cdefcebf4c
fix typo
2017-03-01 12:59:59 +01:00
Sylvain
cf9181770b
export space statistics
2017-03-01 12:56:11 +01:00
Sylvain
05bf899393
delete old space stats when regenerating
2017-03-01 11:58:11 +01:00
Sylvain
b48451f9f8
improved space reservation optional explication message
2017-03-01 11:47:20 +01:00
Sylvain
d450301934
[to test] space reservations
2017-02-28 18:13:38 +01:00
Sylvain
4a9fb5855f
filter spaces in client calendar
2017-02-28 17:17:43 +01:00
Sylvain
e1178df45b
show space details on click in client calendar
2017-02-28 16:59:28 +01:00
Sylvain
c936b283f7
display spaces status in client calendar
2017-02-28 16:51:56 +01:00
Sylvain
0e94f8c3d4
Redo "change DB model to allow many_to_many relationship between Slot and Reservation"
...
This reverts commit 4cbfbdc4e0
.
2017-02-28 13:23:31 +01:00
Sylvain
4cbfbdc4e0
Revert "change DB model to allow many_to_many relationship between Slot and Reservation"
...
This reverts commit 03d922e214
.
2017-02-28 12:36:50 +01:00
Sylvain
a0e7e7951f
[ongoing] display spaces in public calendar
2017-02-28 11:59:48 +01:00
Sylvain
4703350de5
fix pay with stripe and coupon
2017-02-28 10:18:02 +01:00
Sylvain
b48557fd96
invoice generation for space reservation
2017-02-27 17:42:36 +01:00
Sylvain
43f78ff0e0
fix credits usage in space reservation
2017-02-27 17:38:15 +01:00
Sylvain
31f3c00b3a
fix pay many space slots by stripe
2017-02-27 16:51:11 +01:00
Sylvain
b5a0b43689
fix manage reservations
2017-02-27 16:43:39 +01:00
Sylvain
6a132948af
fixed slots display in space reservation calendar
2017-02-27 16:35:41 +01:00
Sylvain
847a0ba140
display correct slot status in space reservation calendar
2017-02-27 16:15:27 +01:00
Sylvain
af5f3c777d
fix space slot status in API
2017-02-27 13:48:35 +01:00
Sylvain
03d922e214
change DB model to allow many_to_many relationship between Slot and Reservation
2017-02-27 13:15:31 +01:00
Sylvain
fd2d18bf94
fix message on delete availability error
2017-02-27 10:14:19 +01:00
Sylvain
8e86c4b212
[ongoing] spaces reservation calendar
2017-02-23 17:45:55 +01:00
Sylvain
1efd506a5d
fix display in all trainings calendar
2017-02-23 13:50:45 +01:00
Sylvain
59384698f7
clean controllers imports
2017-02-23 13:46:16 +01:00
Sylvain
b25e69d131
fix do not subscribe
2017-02-23 12:50:12 +01:00
Sylvain
201eefc7bd
fix reservation through all trainings calendar
2017-02-23 12:39:50 +01:00
Sylvain
b098281155
fix reservation through all trainings calendar
2017-02-23 12:23:00 +01:00
Sylvain
ad83d38305
prevent book full event
2017-02-23 11:24:44 +01:00
Sylvain
8ea611882b
fix training reservation
2017-02-23 11:13:25 +01:00
Sylvain
03758d336c
fix move & cancel training reservation + fix display after cancel for machines & training
2017-02-22 17:45:22 +01:00
Sylvain
40ec38465c
fix display: after event move, starting a new move does not reset the previous move summary
2017-02-22 17:31:02 +01:00
Sylvain
c12366c9f1
[bug] unable to see reserved trainings for admin in booking calendar
2017-02-22 17:29:35 +01:00
Sylvain
71a3c8b41f
pluralize selection helper in cart
2017-02-22 16:53:58 +01:00
Sylvain
1959856235
use the cart directive in training reservation
2017-02-22 16:45:13 +01:00
Sylvain
dbc5d8836d
ability to add only one item in the cart
2017-02-22 14:41:49 +01:00
Sylvain
3e49c35414
improved comments
2017-02-22 13:50:13 +01:00
Sylvain
c2c400107d
improved tag management in cart
2017-02-22 11:23:32 +01:00
Sylvain
4bb9728502
clean machines controller
2017-02-22 11:01:52 +01:00
Sylvain
ce087ae778
refacto wording to make cart reservableType agnostic
2017-02-22 10:51:07 +01:00
Sylvain
c4824f99ba
fix summary after event moved
2017-02-22 10:28:14 +01:00
Sylvain
7a21a907a8
offer slot from cart + [ongoing] refacto cart translations
2017-02-22 09:44:15 +01:00
Sylvain
86371a42df
fix display alter when exchanging events if tag missmatch
2017-02-21 17:44:27 +01:00
Sylvain
9b2ba8528f
fix machines controller JSDoc
2017-02-21 17:43:39 +01:00
Sylvain
76478bc075
display reservable name in summary after payment
2017-02-21 17:26:54 +01:00
Sylvain
4fa171da9d
display summary after payment + ongoing clean template from references to machine
2017-02-21 17:23:53 +01:00
Sylvain
11619dc6c5
remove reference to machine in cart directive code
2017-02-21 16:41:53 +01:00
Sylvain
5a41424579
fixed & improved js routing
2017-02-21 15:41:45 +01:00
Sylvain
3837604dd6
fix remove slot from cart
2017-02-21 15:26:11 +01:00
Sylvain
fe6f85eb7c
fix after payment update calendar
2017-02-21 14:48:59 +01:00
Sylvain
3db55019c9
split calendar & cart logic for machines
2017-02-21 13:42:12 +01:00
Sylvain
afd1cb4ce7
[bug] unable to delete admin
2017-02-21 10:36:00 +01:00
Sylvain
85572a03db
[ongoing] move payment to cart component
2017-02-20 17:17:27 +01:00
Sylvain
9b7f74e02d
handle coupons & plans & user change in cart directive
2017-02-20 15:07:14 +01:00
Sylvain
049606b450
[ongoing] reservation cart refactoring
2017-02-16 17:57:14 +01:00
Sylvain
8343c1503d
disabled ability to create space availabilities if no spaces
2017-02-16 12:06:44 +01:00
Sylvain
f850c66f01
prevent add space availability if disabled
2017-02-15 16:58:17 +01:00
Sylvain
23b9851218
allow enable/disable spaces -> disabled by default
2017-02-15 15:41:25 +01:00
Sylvain
69130a1309
fix translation mapping in settings
2017-02-15 13:38:16 +01:00
Sylvain
d463d4dd5a
display spaces in admin calendar
2017-02-15 13:18:03 +01:00
Sylvain
1855935322
interface to create space availabilities
2017-02-15 11:32:29 +01:00
Sylvain
30454c4262
manage space info message + refactor settings translations mapping
2017-02-15 09:48:27 +01:00
Sylvain
36a0eafef3
interface to set credits for spaces
2017-02-14 17:29:52 +01:00
Sylvain
ec4a06a0e4
interface to configure space price per plan + refactored plans interface code
2017-02-14 17:06:42 +01:00
Sylvain
42819b18cb
refactor plan form translations mapping
2017-02-14 16:19:10 +01:00
Sylvain
1554cfe65d
refactor plan translations mapping
2017-02-14 16:09:07 +01:00
Sylvain
93bceb5517
define spaces prices for non-subscribers
2017-02-14 15:25:28 +01:00
Sylvain
334201e551
refactor admin pricing translations mapping
2017-02-14 14:58:16 +01:00
Sylvain
0adb9e29c6
space edition interface
2017-02-14 13:36:10 +01:00
Sylvain
d8acd4c86f
fix ui issues on space creation/deletion
2017-02-14 12:51:30 +01:00
Sylvain
73a5689140
inteface to display spaces
2017-02-14 12:41:51 +01:00
Sylvain
da95e6e0d8
space creation interface
2017-02-14 11:28:07 +01:00
Sylvain
9d367f95db
[ongoing] new space interface
2017-02-13 17:18:06 +01:00
Sylvain
40952600e7
basic interface structure for space management
2017-02-13 17:00:27 +01:00
Sylvain
c254cad8e5
spaces policy
2017-02-13 16:12:14 +01:00
Sylvain
05d4b7b3c5
spaces api
2017-02-13 16:10:12 +01:00
Sylvain
46fbcc06f3
add attachment & characteristics to spaces
2017-02-13 15:53:12 +01:00
Sylvain
560bb46383
space db model
2017-02-13 14:38:28 +01:00
Sylvain
4f3c5e963c
[bug] change plan price lost stats
2017-01-09 10:54:30 +01:00
Sylvain
ab53b621d1
[bug] navigation to about page duplicates admin's links in left menu
2017-01-05 18:03:54 +01:00
Sylvain
fedfc866a9
[bug] ReservationReminderWorker crash with undefined method find_by
2017-01-05 15:15:31 +01:00
Sylvain
c479502dd0
[bug] too many unread notifications cause system memory overflow
2017-01-05 15:06:54 +01:00
Sylvain
b5246ae1cf
[bug] AvailabilityIndexerWorker crash availabilities deleted just after their creation
2017-01-04 15:20:54 +01:00
Sylvain
ce7b737163
possible workaround for orphan InvoiceWorkers created with nil parameter
...
Moreover, a log was added on job creation, to help debugging if this does not fix the issue
2017-01-04 14:48:32 +01:00
Sylvain
e656b7d784
[bug] regenerate statistics does not remove all previous values
2017-01-04 14:46:43 +01:00
Sylvain
8119f54e4c
Statistics about hours available for machine reservations and tickets available for training reservations, now handle custom filtering on date and type
2017-01-03 17:07:23 +01:00
Sylvain
9edf723373
[bug] wrong statistics about hours available for reservation
2017-01-03 13:35:36 +01:00
Sylvain
5b7e8474d4
asterisk on group select in member form
2017-01-03 12:07:16 +01:00
Sylvain
d5c5e36965
[bug] compute age of users born on 29/02, lead to app crash on non-leap years
2017-01-03 11:24:14 +01:00
Sylvain
94abdb9eec
revert last commit
2017-01-02 17:01:52 +01:00
Sylvain
a39be14718
fix number of remaining notifications
2017-01-02 15:56:52 +01:00
Sylvain
1f0da1194b
[bug] fix VAT amount in invoice config
2017-01-02 11:08:40 +01:00
Sylvain
9bfaaaccd9
improved numerous notifications display
2016-12-19 17:08:11 +01:00
Sylvain
102eecdc8a
ability to send again auth migration code
2016-12-15 14:16:24 +01:00
Sylvain
5e1b85832c
[ongoing] resend sso fusion token
2016-12-14 17:14:53 +01:00
Sylvain
a7fdc4d741
fix potentital issue with sso + enterprise profile
2016-12-14 15:55:12 +01:00
Sylvain
d8b6848b1b
sso wording
2016-12-14 15:14:33 +01:00
Sylvain
531a89945b
member form: add asterisks on mendatory fields
2016-12-14 13:05:42 +01:00
Sylvain
76c1412177
Merge branch 'wallet_avoir' into dev
2016-12-13 15:33:56 +01:00
Sylvain
3cdbecf74a
add invoice item to refund invoices for wallet credit
2016-12-13 15:05:40 +01:00
Sylvain
ecbe8a58a2
coupon edition: display internationalized errors
2016-12-13 12:46:00 +01:00
Sylvain
85ee73f0e0
ability to edit coupon expiration
2016-12-13 12:01:54 +01:00
Sylvain
4817da75d6
[bug] unable to create or edit percentage coupons
2016-12-13 10:08:19 +01:00
Sylvain
9190e61f5f
basic avoir invoice for wallet credit
2016-12-12 15:32:01 +01:00
Sylvain
b44089a33d
interface & api to build avoir for a wallet credit
2016-12-12 14:20:26 +01:00
Sylvain
c2f638934e
added info notice about operation's time of admin delete
2016-12-12 11:18:24 +01:00
Sylvain
4c8b661750
display coupon application result in inline message instead of growl notification
2016-11-30 10:17:05 +01:00
Sylvain
10fc7b69e9
Ability to display optional information message on event reservation page
2016-11-29 16:46:19 +01:00
Sylvain
b75cbc17d7
fix training reservation calendar witch shows all trainings slots
2016-11-29 15:48:39 +01:00
Sylvain
852437ebf8
remove coupon from memory after payment
2016-11-29 15:35:54 +01:00
Sylvain
82fa5416ce
fix creation of prices with float values
2016-11-29 15:23:36 +01:00
Sylvain
a9e593a840
fix statistics generation with cash coupon
2016-11-29 14:57:43 +01:00
Sylvain
6c933857f4
fix statistics generation with cash coupon
2016-11-29 14:57:21 +01:00
Sylvain
1ebab285f3
fix statistic generation with cash coupons
2016-11-29 12:07:22 +01:00
Sylvain
3894523eae
fix error message about rounding inconsistencies when generating invoices
2016-11-29 11:52:11 +01:00
Peng DU
f487133825
fix bug: user cant debit his wallet when admin pay a plan for this user with invoice disabled
2016-11-29 11:39:41 +01:00
Sylvain
5a4eaefc02
fix cash coupon usage when paying by stripe
2016-11-29 11:12:58 +01:00
Sylvain
0c05b45d08
improved error message on machine reservation w/ stripe payment
2016-11-29 09:15:30 +01:00
Sylvain
70a369a2b9
display error message on server error when paying by card
2016-11-28 16:47:40 +01:00
Sylvain
42a8d40b37
fix partial refund of invoices with cash coupons
2016-11-28 16:34:39 +01:00
Sylvain
aa7748f8eb
Merge branch 'cash' into dev
2016-11-28 12:05:18 +01:00
Sylvain
585d137cfc
some automated tests about cash coupons
2016-11-28 10:40:02 +01:00
Sylvain
f0e11cf718
fix pdf invoice generation with cash coupon
2016-11-28 09:57:09 +01:00
Sylvain
3ce41f0c5c
[to test] send cash coupon to user by mail
2016-11-24 18:17:49 +01:00
Sylvain
ce6877b484
success message when applying cash coupon
2016-11-24 18:05:16 +01:00
Sylvain
63b0f0c061
[to test] compute prices/invoices using cash coupons
2016-11-24 17:57:48 +01:00
Sylvain
0a08c4c32d
check cash coupons does not exceed cart amount for subscriptions
2016-11-24 16:38:22 +01:00
Sylvain
ff11694e05
check cash coupons does not exceed cart amount for events
2016-11-24 15:01:35 +01:00
Peng DU
63a3bcf19a
Fix a bug: invoice of reservation show payment by debit card when user pay with wallet
2016-11-24 14:09:34 +01:00
Sylvain
04e10c8bb6
check cash coupons does not exceed cart amount for trainings & machines
2016-11-24 13:58:41 +01:00
Sylvain
3dc5f1a0e4
real fix for coupon change slot's original price (reverts cfd92cdc40
)
2016-11-24 11:33:45 +01:00
Sylvain
8419efc7f5
handle unconfigured twitter's keys
2016-11-24 09:38:42 +01:00
Sylvain
0cb0ff3a06
[ongoing] using cash coupon in reservation logic
2016-11-23 17:17:34 +01:00
Sylvain
c13f640e81
remove rails find_by_* helpers
2016-11-23 16:30:19 +01:00
Sylvain
cc06bcab85
fix cash coupon creation on stripe + store amount in centimes
2016-11-23 15:44:59 +01:00
Sylvain
30ab25b5a0
normalize ProjectsController code structure
2016-11-23 15:01:33 +01:00
Sylvain
cf11f6afcf
factorize currency symbol into
2016-11-23 14:27:11 +01:00
Sylvain
ad2911529c
db model, api and interface for cash coupons
2016-11-23 12:43:42 +01:00
Sylvain
52ad1b2c13
fix trainings, users, events graphs
2016-11-21 11:45:48 +01:00
Sylvain
6c9fdaaf83
[bug] fix machine hours stats graph
2016-11-21 11:35:56 +01:00
Sylvain
38653d22d1
fix events description on the home page
2016-11-16 16:55:56 +01:00
Sylvain
d46e6cf9c9
[members excel export] invoicing disabled
2016-11-16 15:08:24 +01:00
Sylvain
73e4439036
front-end modifications to cancel a booked event
2016-11-09 17:07:48 +01:00
Sylvain
da71ba783c
[bug] exports for events reservation always have seats=1 ( fixes #54 )
2016-11-09 15:01:58 +01:00
Sylvain
c04ed51f85
[bug] translation conflict
2016-11-09 14:35:02 +01:00
Sylvain
2dcd980be3
[bug] recurrent events doesn't have the configured theme and age range
2016-11-09 13:12:30 +01:00
Peng DU
99cca406d5
fix bug: event date period dant show correct in invoice
2016-11-03 12:17:19 +01:00
Peng DU
9dca65786a
fix project step images height bug
2016-11-03 11:26:01 +01:00
Peng DU
f1b749d5f2
Image max size is configutable, size by default is 2 megabytes
2016-11-02 15:36:22 +01:00
Peng DU
ba5e5752a4
allow add more picture for project step
2016-11-02 14:58:06 +01:00
Peng DU
84c03a690b
add padding for summernote editor modal
2016-11-02 11:12:23 +01:00
Sylvain
f9220d44a0
fix i_accept_to_receive_information_from_the_fablab in sign-up modal
2016-10-26 16:35:10 +02:00
Sylvain
42f7b3c75c
add HTML in event description
2016-10-26 16:33:21 +02:00
Sylvain
91f70e2c47
[bug] statistics graphs not working
2016-10-24 09:31:29 +02:00
Sylvain
c500518c28
[bug] sharing project or event w/o image on social network render error 500
2016-10-11 16:07:34 +02:00
Sylvain
7d54341d98
Merge remote-tracking branch 'github/master' into dev
2016-10-11 15:37:35 +02:00
Kenneth Lim
18bc37749b
locale: informations --> information
...
Not sure if this helps but information does not require an `s`. :)
Signed-off-by: Kenneth Lim <kennethlimcp@gmail.com>
2016-10-07 17:11:58 +08:00
Sylvain
611652ccb5
[bug] many fixes on admin calendar
...
- [bug] after creating an element (training/machine), browse through the calendar and come back: the element appears duplicated
- [bug] deleting an element have an erronous confirmation message
- [bug] deleting an element cause the message "cannot read property 'length' of undefined" to be displayed in the console
2016-10-05 11:06:58 +02:00
Sylvain
fc747c55c7
wallet credit confirmation
2016-09-29 13:02:24 +02:00
Sylvain
1ef2c11355
add links to RSS feeds into application header
2016-09-29 11:54:08 +02:00
Sylvain
34ad1c9056
move RSS code into separate folders
2016-09-29 10:53:20 +02:00
Sylvain
376cb6dbe9
Merge branch 'rss_feeds' of git://github.com/Vincent14/fab-manager into Vincent14-rss_feeds
2016-09-29 10:09:15 +02:00
Sylvain
c2d2786515
fix default_host for dev and test environments
2016-09-29 10:02:31 +02:00
cyril
a0fef8d046
bug fix: not to force https in env production for root_url helper
2016-09-28 13:58:22 +02:00
Sylvain
785e9a42f8
test fix asset:precompile
2016-09-28 10:52:25 +02:00
Sylvain
60d60fdd65
use slugs in projects URL opened from notifications
2016-09-27 16:58:57 +02:00
Sylvain
e48bb88f1f
use slug in traning show url
2016-09-27 16:00:22 +02:00
Sylvain
b715078e83
[admin] button to delete training from view + confirmation on machine/training deletion from view
2016-09-27 15:32:49 +02:00
Sylvain
9a71dc5ea2
trainings monitoring: open current year/month by default on training selection
2016-09-27 14:56:57 +02:00
Sylvain
d45ca7213f
updated changelog
2016-09-27 14:10:00 +02:00
Sylvain
36524d4cd9
display list of allowed extensions in project's CAD attachments
2016-09-27 14:08:04 +02:00
Sylvain
bf9ea40648
[feature #40 ] project images will show in full-size on a click
2016-09-27 11:50:05 +02:00
Sylvain
6e94850522
prevent project step reordering to trigger unsaved-changes dialog
2016-09-27 11:31:20 +02:00
Sylvain
1195451863
[bug] embedded video not working in tranings/machines descriptions
2016-09-27 10:45:07 +02:00
Sylvain
24a0f5533c
fix unable to view dashboard nav buttons on small devices + fix responsive issues on admin views
2016-09-27 09:55:24 +02:00
Sylvain
30c52dfe95
share on twitter with title
2016-09-26 16:44:45 +02:00
Sylvain
a1fd69f309
auth provider safe destroy
2016-09-26 12:41:59 +02:00
cyril
b2b66e7910
display the edit button for admin
2016-09-23 14:43:34 +02:00
cyril
c14a4d03c5
ui: machines and trainings list : remove the description
2016-09-23 14:42:53 +02:00
cyril
70a95ffcd7
Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev
2016-09-23 14:40:47 +02:00
cyril
eed8f6519e
display caret icon for small screen in profil nav
2016-09-23 14:40:41 +02:00
Peng DU
fc9aeb00a2
remove edit wallet reference from facture
2016-09-23 12:52:43 +02:00
Peng DU
0f7238bbba
fix wallet amount display error
2016-09-23 11:46:58 +02:00
Peng DU
972a5e0a89
fix bug: admin cant pay a plan with code promo by wallet
2016-09-22 18:04:13 +02:00
Sylvain
205c45060a
update version on user login according to their role
2016-09-22 17:01:40 +02:00
Sylvain
6401b321ef
[feature] display fab-manager's version, when logged as admin
2016-09-22 16:46:14 +02:00
Peng DU
270b279ffb
user can use a code promo for pay le plan by wallet and carte visa
2016-09-21 16:19:04 +02:00
Peng DU
1008a6dd1b
fix bug: cant show correct payment modal when pay by wallet and code promo
2016-09-21 13:09:10 +02:00
Peng DU
cfd92cdc40
fix bug: code promotion change slot's price original
2016-09-20 18:39:28 +02:00
Peng DU
afb026bdc9
clear invoice_item of wallet/group if payment has a error
2016-09-20 17:42:30 +02:00
Peng DU
802e239d5b
calcul total price of reservation with coupon when use wallet
2016-09-20 16:54:23 +02:00
Peng DU
e5341b0b89
fix bug: cant subscribe a plan
2016-09-20 14:37:35 +02:00
Peng DU
5d6aa163b5
change groups cache key name
2016-09-20 11:39:49 +02:00
Vincent
6920793ce1
add RSS feed to events index
2016-09-15 22:22:35 +02:00
Vincent
a5c6ba5f7d
add RSS feed to projects index
2016-09-15 21:50:08 +02:00
Sylvain
64bae54bce
[Bug] move event reservation is not limited by admin settings (prior-delay & disable)
2016-09-15 18:43:27 +02:00
Sylvain
32a79bec1b
[bug] clicking on the text in stripe's payment modal, does not validate the checkbox
2016-09-15 18:22:52 +02:00
Sylvain
638747ff0e
[SSO] improved boolean mapping interface
2016-09-15 18:15:23 +02:00
Sylvain
3c277428bf
[SSO] field data mapping transformation on data reception
2016-09-15 17:10:41 +02:00
Sylvain
13f416a101
[sso] save and restore field data mapping
2016-09-15 15:58:21 +02:00
Sylvain
ee333df53f
improved transformation interface
2016-09-14 18:54:53 +02:00
Sylvain
77626aa674
[SSO] interface for transforming boolean and dates datatypes
2016-09-14 18:52:18 +02:00
Sylvain
a0fb6fb683
[sso] show mapping datatype in provider edition
2016-09-14 17:32:11 +02:00
Sylvain
dc4c4b678f
[sso] fix create mapping w/ datatype display
2016-09-14 17:13:07 +02:00
Sylvain
50543b8d09
[sso] give informations about the expected data in sso mapping
2016-09-14 16:41:45 +02:00
Sylvain
019cfcadea
[sso] fix endpoint regexp
2016-09-13 12:09:55 +02:00
Sylvain
ec0f597067
[sso] display strategy name in providers list
2016-09-13 12:06:25 +02:00
Sylvain
627073f2be
[SSO] updated user's documentation
2016-09-12 17:29:44 +02:00
Sylvain
336158c5ad
[SSO] fix re-mapping of avatar, address and organization
2016-09-12 12:10:46 +02:00
Sylvain
d233297469
check coupon code server side + integration test for wrong copon
2016-09-08 15:19:12 +02:00
Sylvain
d99d090814
remove duplicate in mime types
2016-09-07 16:30:14 +02:00
Sylvain
19e89cce3d
[feature] validate project attachement by mime type
2016-09-07 15:44:19 +02:00
Sylvain
6bbb45c953
add more extensions to the allowed projects attachements
2016-09-07 12:17:21 +02:00
Sylvain
c2533c0590
add custom aggs for machine & trainings stats: available bookings
2016-09-06 17:17:15 +02:00
Sylvain
9d599a14e5
display custom aggregations in front statistics
2016-09-06 16:53:04 +02:00
Sylvain
53dd54b175
working custom aggs w/ result tidy in stats query
2016-09-06 16:32:41 +02:00
Sylvain
1fec50accf
ability to run custom aggregation with query and append result to query
2016-09-06 14:21:52 +02:00
Sylvain
ea671d03a4
database structure for custom aggregations in statistics
2016-09-05 17:16:23 +02:00
Sylvain
d0837706b6
fixed rake tasks
2016-09-05 15:30:46 +02:00
Sylvain
701b913eb1
[ongoing] elastic data structure for storing availabilities info
2016-09-05 15:15:31 +02:00
Sylvain
3dea7a63a9
prevent sending multiple reminders for reservations with multiple slots
2016-09-01 16:26:08 +02:00
Sylvain
71a111d8ba
improved reservations settings validation (delays)
2016-09-01 16:15:41 +02:00
Sylvain
9aef331596
add textual indications about empty fields in coupon form
2016-09-01 14:54:24 +02:00
Sylvain
670e9371d8
improved machine reservation tag display
2016-09-01 14:34:08 +02:00
Sylvain
434234c235
[Bug] machine slots with tags are not displayed correctly on reservation calendar
2016-09-01 14:31:21 +02:00
Sylvain
401e88cd88
fix event hover color for age range and theme
2016-09-01 11:44:18 +02:00
Sylvain
c3505c1419
fix coupon discount if reservation+subscription when pay by stripe
2016-09-01 11:36:51 +02:00
Sylvain
cb42b46790
[Bug] machine name is not shown in plan edition
2016-08-31 17:01:01 +02:00
Sylvain
87104a6b97
remove unused recuced_amount from event + allow to rollback migrations + openAPI will display custom prices for events
2016-08-31 11:58:37 +02:00
Sylvain
4c9879768b
fix statistic generation for events with custom prices
2016-08-30 17:03:05 +02:00
Sylvain
ea73b9a88b
fix create event without custom price + fix test fixtures
2016-08-30 14:48:22 +02:00
Sylvain
4f41aa6554
event custom prices: various fixes and removed artifacts
2016-08-30 13:07:47 +02:00
Sylvain
63a9f8bf95
update nummber of free places after event reservation payment
2016-08-30 12:45:35 +02:00
Sylvain
b9411366c2
update nb of free places after moving an event reservation with custom prices
2016-08-30 12:34:36 +02:00
Sylvain
7de896feb9
display 'pay' button when booking only custom prices tickets
2016-08-30 12:11:51 +02:00
Sylvain
feda4861f2
ability to move reservation with custom fares reservations
2016-08-30 11:27:25 +02:00
Sylvain
f175b4b28e
display custom prices places names in reservation summary after booking an event
2016-08-30 10:17:52 +02:00
Sylvain
d8e467d261
fix coupon usage with on-site payment
2016-08-30 09:47:03 +02:00
Sylvain
cd038a8550
custom price on all occurrences with recursive event creation
2016-08-30 09:37:05 +02:00
Sylvain
8aef50660a
show custom price reservations in admin/events/show reservations
2016-08-29 17:51:11 +02:00
Sylvain
60a8f60be8
display custom prices in events index
2016-08-29 17:33:21 +02:00
Sylvain
7bc19f540d
show custom price event bookings in dashboard
2016-08-29 17:21:20 +02:00
Sylvain
3d1c852576
show custom prices bookings in admin/editMember
2016-08-29 16:54:10 +02:00
Sylvain
d47a5aea5f
statistics generation for event with custom prices
2016-08-29 16:44:07 +02:00
Sylvain
d86cccf98c
custom prices in invoice generation
2016-08-29 16:37:51 +02:00
Sylvain
af883ea1ec
show custom price tickets booked in event show
2016-08-29 16:28:26 +02:00
Sylvain
06d65c785a
reserve event with custom prices
2016-08-29 15:43:47 +02:00
Sylvain
12eadb8ceb
interface for booking event custom prices
2016-08-29 11:09:36 +02:00
Sylvain
c6a83e98cb
[ongoing] db architecture for custom prices reservation
2016-08-25 18:41:33 +02:00
Sylvain
4fd31c3e9b
display custom prices in event show
2016-08-25 15:36:52 +02:00
Sylvain
05b010b83f
fix ability to edit custom prices
2016-08-25 14:13:30 +02:00
Sylvain
5d91756ace
ability to edit event with custom prices
2016-08-25 13:56:07 +02:00
Sylvain
7dc359e4ee
associate custom price categories to an event
2016-08-25 13:16:47 +02:00
Sylvain
bca77559ed
ability to delete a price category
2016-08-24 17:09:00 +02:00
Sylvain
77db2b2326
ability to edit price category
2016-08-24 16:52:37 +02:00
Sylvain
500a466371
full ability to create price categories
2016-08-24 16:21:43 +02:00
Sylvain
6c3dfab0a9
API for price categories management
2016-08-24 12:30:48 +02:00
Sylvain
9748ea596f
interface structure refactoring for fares' categories
2016-08-23 17:49:43 +02:00
Sylvain
ead7eda76b
interface structure refactoring for fares' categories
2016-08-23 17:49:28 +02:00
Sylvain
ea7410a738
reservation reminder: tested and fixed
2016-08-23 10:10:58 +02:00
Sylvain
cc1d6e4f21
[not tested] send reminder notification every hours for upcoming reservations
2016-08-17 17:39:12 +02:00
Sylvain
b166d6abc6
renamed FlowWorkers to more consistant name (Processors)
2016-08-17 15:43:13 +02:00
Sylvain
26aed7a1b5
ability for the admin to set custom settings for the reservation reminders + fix settings customization confirmation message
2016-08-17 12:49:52 +02:00
Sylvain
63e767bd18
refactored settings page
2016-08-17 10:10:23 +02:00
Sylvain
1799ab9bf5
fix error message
2016-08-17 09:54:31 +02:00
Sylvain
8aa5d5e4f5
allow dashes in coupon codes
2016-08-17 09:53:58 +02:00
Sylvain
428b2db0ea
send a coupon to a user
2016-08-16 18:12:13 +02:00
Sylvain
3253290860
[ongoing] send a coupon to a user
2016-08-16 11:33:10 +02:00
Sylvain
396d7b4df7
include coupons discounts in statistics CA
2016-08-16 10:29:08 +02:00
Sylvain
8ae3cf25b8
fix display success after admin subscribe plan
2016-08-11 18:30:59 +02:00
Sylvain
ba559d87fb
use coupon in plan subscription
2016-08-11 18:17:28 +02:00
Sylvain
1e0d809db9
handle coupon in refunds
2016-08-11 13:44:42 +02:00
Sylvain
d955f5d3e1
use coupon in event reservation
2016-08-11 12:34:55 +02:00
Sylvain
a63c1830cd
better fix for events categories
2016-08-11 11:33:55 +02:00
Sylvain
0c3a2a7832
fix events categories
2016-08-11 11:07:49 +02:00
Sylvain
5af64d1cd0
fix: go to training planning when trying to book not trained machine
2016-08-10 18:07:57 +02:00
Sylvain
8a68445d2e
fix stripe coupon creation
2016-08-10 17:48:34 +02:00
Sylvain
4be571e6d2
fix coupon usage with stripe
2016-08-10 17:37:17 +02:00
Sylvain
e122b99ebb
coupon usage in trainings
2016-08-10 16:53:40 +02:00
Sylvain
6e1dfda8f5
show coupon details in invoice
2016-08-10 16:33:26 +02:00
Sylvain
6a87467f7c
rebase coupon usage on code instead of id (more secure)
2016-08-10 15:34:47 +02:00
Sylvain
def5384a38
validation of validity_per_user on coupon usage
2016-08-10 11:08:01 +02:00
Sylvain
b4e28b94f3
apply coupon in payment modal + fix update user w/o organization
2016-08-09 17:20:38 +02:00
Sylvain
a679bc1638
compute price including coupon discount
2016-08-09 16:36:14 +02:00
Sylvain
d1c1a614a9
i18n coupon directive
2016-08-09 10:22:01 +02:00
Sylvain
5ce0097aa3
[ongoing] coupon validation and usage directive
2016-08-08 17:09:05 +02:00
Sylvain
c23b6fa3e0
fix coupons test
2016-08-08 15:43:02 +02:00
Sylvain
e2ea64cf9c
coupon edition + refactored coupon status
2016-08-08 15:21:33 +02:00
Sylvain
a6ded12ee9
create/delete coupons on stripe + adjust schema to match stripe requirements
2016-08-08 14:42:17 +02:00
Sylvain
35b324e108
coupon safe destroy
2016-08-08 12:25:27 +02:00
Sylvain
23320104c5
ability to edit coupons
2016-08-08 12:08:09 +02:00
Sylvain
01b77b3179
fixed delete coupon + fixed coupon status
2016-08-08 10:11:36 +02:00
Sylvain
7c434db09a
interface to create new coupons
2016-08-04 18:13:19 +02:00
Sylvain
ee03f1a79c
admin interface to list coupons
2016-08-04 14:26:07 +02:00
Sylvain
0eaa81b0ba
extracted some heavy admin views into sub-templates files & fixed uncomplete users display behavior in admin list
2016-08-04 12:08:33 +02:00
Sylvain
ce31c1412b
coupons usages are counted with invoices
2016-08-04 09:45:00 +02:00
Sylvain
84a7e81813
API for coupons
2016-08-03 17:56:36 +02:00
Sylvain
3a932e75c0
coupon data model & tests
2016-08-03 17:25:00 +02:00
Sylvain
c9a7c599c0
notify admin about organization registration & organization server validation
2016-08-02 18:06:07 +02:00
Sylvain
e3774230d3
use organization name & address in invoices if any
2016-08-02 15:55:49 +02:00
Sylvain
af94b62ff1
add organization infos to members xlsx export
2016-08-02 15:28:24 +02:00
Sylvain
33358c2fb5
ability to edit organization in profile & ablity to link its params from an sso
2016-08-02 15:11:26 +02:00
Sylvain
2afd6ade8a
allow user to set his organization on registration
2016-08-02 12:27:45 +02:00
Sylvain
ccc1eaf3a0
database structure for organizations
2016-08-01 17:36:38 +02:00
Sylvain
bd54ad8158
ability to share events on social networks twitter & fb
2016-08-01 16:19:50 +02:00
Sylvain
26d5e5e42c
allow social share of projects on twitter & facebook
2016-08-01 15:45:56 +02:00
Sylvain
dbc199cbba
project preview in facebook open graph
2016-07-28 17:44:58 +02:00
Sylvain
5f96c9916d
[feature] newsletter : ask conscent + export in xlsx
2016-07-28 12:20:51 +02:00
Sylvain
5cacb1d34a
notify admin when users exports are running
2016-07-28 10:28:43 +02:00
Sylvain
a2066d8c09
[feature]async generation of users exports
2016-07-27 17:00:06 +02:00
Sylvain
b3f56cefd4
alert user about ongoing running export
2016-07-27 15:42:29 +02:00
Sylvain
7843cd1f8e
fix typo
2016-07-27 12:34:42 +02:00
Sylvain
4d2f46ca95
[feature] Async statistics export to XLSX
...
- fix tests due to removal of event_categories
- rake task for generating statistics
2016-07-27 11:28:54 +02:00
Sylvain
74154cf1f3
Merge branch 'xls' into dev
...
Conflicts:
CHANGELOG.md
app/helpers/application_helper.rb
config/locales/en.yml
config/locales/fr.yml
2016-07-25 16:56:22 +02:00
Sylvain
32d239f723
[Bug #28 ] Event type disappear when editing the event
2016-07-25 16:16:25 +02:00
Sylvain
54740d13f8
Fix i18n for stripe payment dialog
2016-07-25 12:14:38 +02:00
Sylvain
3b9d1b398b
Fix i18n for payment dialog
2016-07-25 12:10:10 +02:00
Peng DU
c220678ea5
change some texts in reservation on site
2016-07-21 16:32:58 +02:00
Peng DU
7650ec5a5a
fix bug: dont get plan object in compute amount of wallet in reservation
2016-07-21 16:32:57 +02:00
Peng DU
909c204af5
show invoice download link in wallet transaction debit operator
2016-07-21 16:32:57 +02:00
Peng DU
9ba8e46450
refactroing wallet service, credit/debit in transaction of db, if have an error we rollback all
2016-07-21 16:32:57 +02:00
Peng DU
56f2ea4172
always use debit text
2016-07-21 16:32:57 +02:00
Peng DU
5d84dcb666
update locale
2016-07-21 16:32:57 +02:00
Peng DU
9befe091b8
refactoring generate invoice settlement info
2016-07-21 16:32:57 +02:00
Peng DU
50ba15b5bf
fix bug: dont update wallet amount if invoice disable, cant update wallet amount when user only subscribe subscription
2016-07-21 16:32:56 +02:00
Peng DU
7be60c2d00
fix locale key no found error
2016-07-21 16:32:56 +02:00
Peng DU
f2010e752d
show pay by wallet in invoice
2016-07-21 16:32:56 +02:00
Peng DU
773c1adf4a
edit invoice reference
2016-07-21 16:32:56 +02:00
Peng DU
2c49285740
avoir by wallet
2016-07-21 16:32:56 +02:00
Peng DU
4f42253d3d
wallet transaction list operation locale
2016-07-21 16:32:55 +02:00
Peng DU
38fafb7a70
wallet credit amount can be a float
2016-07-21 16:32:55 +02:00
Peng DU
2dbc026db1
pay subscription by wallet
2016-07-21 16:32:55 +02:00
Peng DU
31d5c6d3b3
pay totalement/partialement reservation by wallet
2016-07-21 16:32:54 +02:00
Peng DU
fc7eaaab94
add notification and alert when user wallet credit
2016-07-21 16:32:54 +02:00
Peng DU
d0956bb0aa
show wallet transactions of user
2016-07-21 16:32:54 +02:00
Peng DU
1dab903054
refactoring wallet amount to concern
2016-07-21 16:32:54 +02:00
Peng DU
9116e8c04a
wallet transaction type must be credit/debit
2016-07-21 16:32:54 +02:00
Peng DU
b22bae1d8f
wallet amount convert auto to float
2016-07-21 16:32:54 +02:00
Peng DU
cac9e16c17
cant debit/credit a negative
2016-07-21 16:32:53 +02:00
Peng DU
363fd73bc4
add model WalletTransaction
2016-07-21 16:32:53 +02:00
Peng DU
db8a6e8a32
application can show user wallet
2016-07-21 16:32:53 +02:00
Peng DU
79ef7f4188
refactoring show training controller and add a new action avaibilities
2016-07-19 12:16:41 +02:00
Peng DU
0b053b11ed
change calendar default view to agendDay if screen width <= 480px
2016-07-18 18:10:39 +02:00
Peng DU
dd7f67116d
change machines list icon
2016-07-18 17:57:50 +02:00
Peng DU
38bf35d06f
hide popup of training description
2016-07-18 17:51:49 +02:00
Peng DU
120df2e716
add an aside for filter caldendar in mobile
2016-07-18 16:31:14 +02:00
Peng DU
9638b775fc
fix bug: cant set correct default date for fullcalendar
2016-07-18 10:37:54 +02:00
Peng DU
70d623f65a
filter calendar by machine/formation/event or disponible
2016-07-14 18:36:52 +02:00
Peng DU
0b1a19cd76
calendar training slot redirect to fetch of training
2016-07-14 12:20:04 +02:00
Peng DU
f26e211acb
update locale
2016-07-14 12:20:03 +02:00
Peng DU
dbc9a388a8
fix bug: cant click machines event in < today and > first day of week
2016-07-14 12:20:03 +02:00
Peng DU
066458ca70
availability type filter
2016-07-14 12:20:03 +02:00
Peng DU
c1cdea18f3
optimise sql query
2016-07-14 12:20:03 +02:00
Peng DU
b3ca940880
show tag in availability
2016-07-14 12:20:03 +02:00
Peng DU
1fc4439df8
click slot to show machine fetch
2016-07-14 12:20:03 +02:00
Peng DU
2b08cc8594
fix bug cant navigate to yestoday in agendaDay view
2016-07-14 12:20:02 +02:00
Peng DU
49ee5011c1
show availability with reservation state
2016-07-14 12:20:02 +02:00
Peng DU
a67320121c
rename a variable
2016-07-14 12:20:02 +02:00
Peng DU
68e1b959ff
disable slotEventOverlap for agendaDay view
2016-07-14 12:20:02 +02:00
Peng DU
e9c1584968
availability public api
2016-07-14 12:20:02 +02:00
Peng DU
fb26a2e358
add public calendar menu, view, controller, routes and refactoring calldendar config
2016-07-14 12:20:02 +02:00
Peng DU
44b0fd8aa8
get availability border color in helper
2016-07-14 12:20:01 +02:00
Peng DU
0af0cc7878
update angular-ui-calendar and ajax load availabilites
2016-07-14 12:20:01 +02:00
Peng DU
1529e4b14e
allow active/disactive a training to show in training lists
2016-07-14 12:18:24 +02:00
Peng DU
503e8fc95f
fix bug: check text is exist in breakFilter
2016-07-14 11:26:03 +02:00
Sylvain
6839e8db38
Merge branch 'events' into dev
...
Conflicts:
CHANGELOG.md
config/locales/app.shared.en.yml
config/locales/app.shared.fr.yml
2016-07-13 18:32:30 +02:00
Sylvain
90142ae3bb
Merge branch 'training' into dev
2016-07-13 18:15:14 +02:00
Sylvain
e765267bb5
fix export for missing users
2016-07-13 18:09:32 +02:00
Sylvain
68f9324725
Merge branch 'steps' into dev
...
Conflicts:
app/assets/javascripts/controllers/projects.coffee.erb
db/schema.rb
2016-07-13 16:10:18 +02:00
Sylvain
3d7b0bbdfc
Merge remote-tracking branch 'origin/machines' into dev
2016-07-13 16:03:12 +02:00
Sylvain
2c8001f38f
Merge branch 'projects' into dev
...
Conflicts:
app/views/api/members/show.json.jbuilder
2016-07-13 15:57:45 +02:00
Sylvain
c863975e9c
statistics tables: sort by date
2016-07-13 11:12:16 +02:00
Sylvain
ad19bfbd79
fix custom filter CA=0
2016-07-13 10:19:43 +02:00
Sylvain
cbeb78fd7e
fix members full export
2016-07-13 09:20:52 +02:00
Sylvain
3413c3040b
[ongoing] members export full infos
2016-07-12 17:46:19 +02:00
Sylvain
b489b5d270
change export links to xlsx
2016-07-12 13:41:19 +02:00
Sylvain
bfe04c8be6
export reservations: eager load reservables
2016-07-12 13:38:35 +02:00
Sylvain
1b17290395
optimize export subscriptions & reservations queries
2016-07-12 13:16:29 +02:00
Sylvain
827b3334e1
migrate export subscriptions to axlsx
2016-07-12 13:10:06 +02:00
Sylvain
85912603a2
migrate export reservations to axlsx
2016-07-12 13:00:56 +02:00