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
Sylvain
d72e39f716
migrate export members to axlsx
2016-07-12 12:48:26 +02:00
Sylvain
d84238b331
statistics: global export to excel
2016-07-12 12:03:38 +02:00
Sylvain
569cc1b737
use theme primary in export header
2016-07-07 17:15:54 +02:00
Sylvain
8e968f7813
fix type key transmission
2016-07-07 16:57:23 +02:00
Sylvain
0f7f2c256a
[export] handle data type in custom fields
2016-07-07 16:34:28 +02:00
Sylvain
022db4e486
export all stats indices to excel
2016-07-07 16:26:25 +02:00
Sylvain
8e8bd3f9eb
full subscriptions export
2016-07-07 15:31:22 +02:00
Sylvain
eec004d1ba
cancel button does not trigger the generation
2016-07-06 19:04:04 +02:00
Sylvain
b0f7c634ea
subscriptions export with all rows
2016-07-06 19:00:22 +02:00
Sylvain
e8b1c99d2a
Alleluia git add . Downloading xls from front is working
2016-07-06 15:53:09 +02:00
Peng DU
40038f571c
Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev
2016-07-06 11:22:05 +02:00
Peng DU
e57d5c96e6
cancel cache machine index json
2016-07-06 11:22:01 +02:00
Sylvain
d307f91983
use an hidden form to post export data
2016-07-05 17:23:14 +02:00
Sylvain
4dcab27af2
API generate valid xlsx files
2016-07-05 16:13:11 +02:00
Sylvain
b26bbd18ef
API accessing service & conforming server-side access points
2016-07-05 12:21:55 +02:00
Sylvain
38c00391fc
basic UI and API for exporting stats to excel
2016-07-04 17:15:37 +02:00
Sylvain
683bc835df
[bug] statistics: sum of stats does not work
2016-07-04 12:53:56 +02:00
Sylvain
8ba797bbf2
add filters in event index view
2016-07-04 11:11:00 +02:00
Sylvain
5af4c0b9d5
fix articles image height
2016-07-04 10:53:09 +02:00
Sylvain
3f6890825b
fix events index: box sizes
2016-07-04 10:39:24 +02:00
Sylvain
981999c29f
simplify event view in index if event on a single day
2016-06-30 16:56:13 +02:00
Sylvain
abb91458b1
display filters infos in event show
2016-06-30 16:45:47 +02:00
Sylvain
fda619e422
add info message on categories management + fix existing categories slugs
2016-06-30 16:12:24 +02:00
Sylvain
894f836286
fix the 'load more events' button
2016-06-30 15:26:34 +02:00
Sylvain
0557cb991f
rake task for correct event statistics mapping in elastic
2016-06-30 14:14:46 +02:00
Sylvain
e930e04ed6
add age&theme filters to statistics
2016-06-30 12:48:46 +02:00
Sylvain
5a0bb86394
fix events pagniation
2016-06-30 12:41:47 +02:00
Sylvain
e36df94f0f
server-side protection against deleting used filters
2016-06-30 11:39:56 +02:00
Sylvain
c8b42f1b7f
add slugs to event filters + add categories into statistics + prevent remove linked elements in front
2016-06-30 11:24:57 +02:00
Sylvain
812d7a3c05
server-side protection against last category deletion
2016-06-30 09:57:40 +02:00
Sylvain
bb6295c487
prevent from removing the last category
2016-06-30 09:51:06 +02:00
Sylvain
5374d8d0a6
event form: do not display filters with no values
2016-06-30 09:43:24 +02:00
Sylvain
859960ce3e
confirmation on event filter deletion
2016-06-30 09:34:26 +02:00
Sylvain
eb7ee6300e
remove associations with events on filter deletion
2016-06-29 17:26:41 +02:00
Sylvain
e13870555b
ability to link filters to events
2016-06-29 17:05:42 +02:00
Sylvain
09bcd7df2c
do not display events filter if no values exists for this filter
2016-06-29 16:13:42 +02:00
Sylvain
bdda4cd7b0
[feature] ability to filter events by category, theme and age
2016-06-29 16:09:27 +02:00
Sylvain
79b97eb113
[feature] manage event's age range
2016-06-29 11:21:21 +02:00
Sylvain
51cce7bbc3
[feature] manage event themes
2016-06-29 10:38:04 +02:00
Sylvain
9adc219edb
[feature] manage events categories
2016-06-28 17:06:33 +02:00
Sylvain
cbbd697d38
age_range & theme for event model
2016-06-28 15:56:37 +02:00
Sylvain
7d02fa9d9a
rename Courses/Workshops to Events
2016-06-28 11:42:20 +02:00
Sylvain
d5b06d08ad
[feature] confirmation on project deletion
2016-06-28 10:02:36 +02:00
Sylvain
6df3c90da2
fix api doc link
2016-06-27 18:08:19 +02:00
Sylvain
841c2dfd3a
Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev
2016-06-27 17:23:16 +02:00
Sylvain
f6f539d2fc
link to openAPI documentation in front interface
2016-06-27 17:23:05 +02:00
cyril
fb73fc23de
fix ui:list openapi
2016-06-27 17:08:18 +02:00
Sylvain
875e513f1c
Merge remote-tracking branch 'origin/open-api' into dev
2016-06-27 16:31:50 +02:00
Sylvain
8e07460deb
[feature] redirect to slugged-url on publish project
2016-06-27 15:34:08 +02:00
Peng DU
a4fcede638
fix bug: cant get member training availability
2016-06-27 13:38:50 +02:00
Peng DU
4eea18a479
fix merge
2016-06-27 12:49:20 +02:00
Peng DU
6db26e7a19
fix conflt
2016-06-27 12:47:03 +02:00
Peng DU
df8dbfae8c
fix conflt of changelog
2016-06-27 12:42:57 +02:00
Peng DU
b477353286
cancel cache for plant and training_prcings
2016-06-27 12:37:44 +02:00
Peng DU
68e45c0460
cache last event and optimise last subscript api
2016-06-27 10:55:51 +02:00
Peng DU
0bb4665b4a
avoid N+1 for users list
2016-06-24 18:43:22 +02:00
Peng DU
d64e8a291b
remove order for avoid N+1
2016-06-24 18:36:36 +02:00
Peng DU
702e35650f
event cache
2016-06-24 18:26:11 +02:00
Sylvain
9e728c691f
[feature] prevent unmerged accounts (soo imported) from being displayed in lists/searches
2016-06-23 11:42:10 +02:00
Sylvain
c90f4684b9
[bug] scroll statistics tables not working when elastic is not localhost
2016-06-23 11:11:54 +02:00
Peng DU
60f504c660
event categoriy is required
2016-06-22 18:56:45 +02:00
Peng DU
1383483a54
dont compute member list if not complete
2016-06-22 17:28:04 +02:00
Peng DU
4dff74827b
optimise machine/training availabilities query
2016-06-22 12:54:12 +02:00
Peng DU
e82372fb7b
optimise machine availabilities query
2016-06-21 19:07:47 +02:00
Sylvain
9b8e3eba88
Merge branch 'stats' into dev
2016-06-21 17:11:40 +02:00
Peng DU
d65ecf437b
cache training json
2016-06-21 17:02:44 +02:00
Peng DU
85a40db603
price cache
2016-06-21 16:04:44 +02:00
Peng DU
4d0d3d6af0
optimise load plans json
2016-06-21 14:49:39 +02:00
Sylvain
3e24d328a9
[feature] statistics: username link leads to admin edition
2016-06-21 14:46:00 +02:00
Sylvain
24f963645b
optimize usernames mapping in statistics
2016-06-21 14:39:44 +02:00
Sylvain
4639a15e2f
[feature] paginate statistics
2016-06-21 13:16:42 +02:00
Peng DU
2df2d8796d
add ngSanitize
2016-06-21 13:03:54 +02:00
Peng DU
8b699153cc
update jbuilder and add cache in progress
2016-06-20 19:41:05 +02:00
Sylvain
cb3cd8ee11
[ongoing] paginate statistics results
2016-06-20 17:13:39 +02:00
Peng DU
9e1468cb31
remove ngAnimate for fix bug cant click element on Chrome 51
2016-06-20 13:20:54 +02:00
Sylvain
3bdecbe7fc
[bug] prevent linking field User.merged_at from SSO
2016-06-20 11:46:41 +02:00
cyril
a8b6d1dcc8
fix:ui display price on list plans
2016-06-16 17:49:09 +02:00
Sylvain
ba4115a1da
Merge remote-tracking branch 'origin/plugin' into dev
2016-06-16 17:13:36 +02:00
Sylvain
f7d8d18bc8
[feature] paginate public list of members
2016-06-16 16:09:22 +02:00
Sylvain
ddbb043a41
do not retrieve full users list on plans page
2016-06-16 14:26:10 +02:00
Sylvain
0339fd8e09
allow multi words search in users autocomplete
2016-06-16 12:55:20 +02:00
Sylvain
dbeb0717df
fix show existing collaborator name in project edition
2016-06-16 11:11:03 +02:00
Sylvain
a325211552
optimization collaborators of a project
2016-06-16 09:30:38 +02:00
Sylvain
08244d53dc
improve trainings load times
...
- do not eager load trainings availabilities in INDEX action if not requsted
- in trainings monitoring (font), do not load all availabilities for all traninings by default, by select a training first to load its availabilities
2016-06-15 12:01:09 +02:00
Sylvain
e503d6edd8
optimize trainings API
2016-06-14 15:42:28 +02:00
Sylvain
4bc57c43d2
fix admin user select
2016-06-14 11:30:17 +02:00
Sylvain
49e23062ee
[bug] full-calendar date display on small devices
2016-06-14 10:57:27 +02:00
Sylvain
027e18a020
fix typo
2016-06-14 10:51:20 +02:00
Sylvain
f924144fda
[feature] member select with lazy loading
2016-06-14 09:57:39 +02:00
Sylvain
48a90bb7b4
advanced project step modulation with automatic re-ordering
2016-06-02 16:02:08 +02:00