Sylvain
585f01b671
compile angular-ui-tour from the sources
2020-10-07 16:37:01 +02:00
Sylvain
c30e096e53
fix loading ui-tour with webpack
2020-10-07 10:25:27 +02:00
Sylvain
6d00d03f8e
replace method raw by html_safe
...
https://stackoverflow.com/questions/19633877/undefined-method-raw-for-controller-for-rails-4
2020-10-06 12:44:05 +02:00
Sylvain
c1564d5eae
Merge branch 'webpacker' into dev
2020-10-05 17:52:46 +02:00
Sylvain
4f5f54a66a
moved locales files into the main application pack
2020-10-05 17:42:49 +02:00
Sylvain
512411eb04
fix angular-bootstrap-switch
2020-10-05 17:22:59 +02:00
Sylvain
be9dfe4ff5
fix angular-ui-tour templates url
2020-10-05 15:34:41 +02:00
Sylvain
6fa9347c75
fix training reservation calendar
2020-10-05 12:54:37 +02:00
Sylvain
d701260fae
fix spaces reservation calendar
2020-10-05 12:12:22 +02:00
Sylvain
5a0185dd48
fix machine reservation calendar
2020-09-30 16:32:01 +02:00
Sylvain
f6183dbafb
fix public calendar filter
2020-09-30 11:59:50 +02:00
Sylvain
c0a46e5bf1
fix public calendar
2020-09-30 11:45:44 +02:00
Sylvain
495a4686d5
load fullcalendar locale
2020-09-30 11:37:55 +02:00
Sylvain
8ee91ef7d5
fixes fullCalendar for admin agenda
2020-09-30 11:23:42 +02:00
Sylvain
5caceec57b
WIP: debug fullcalendar with webpack
...
see https://stackoverflow.com/questions/44220534/uncaught-typeerror-cannot-read-property-hastime-of-undefined
2020-09-29 16:22:34 +02:00
Sylvain
8cc0d30ee9
fix fontawesome left arrows
2020-09-29 14:35:42 +02:00
Sylvain
fe88f3ba0f
fix fontawesome with holder.js
2020-09-29 14:27:49 +02:00
Sylvain
57b76d156b
Alert before cancelling a reservation that credits will be lost
2020-09-29 12:03:13 +02:00
Sylvain
13bc5334cc
ability to configure until when the events are shown on the home page
2020-09-29 09:39:32 +02:00
Sylvain
30b3a794d3
[bug] managers cannot see passed events
2020-09-29 08:40:07 +02:00
Sylvain
62e45dc998
Updated fullCalendar to 2.9.1
...
+ fix using moment-timezone with webpack
2020-09-28 17:33:18 +02:00
Sylvain
e68397d0c5
Updated bootstrap-switch to 3.4.0
2020-09-28 16:30:07 +02:00
Sylvain
253fb21940
updated jquery-minicolors to 2.3.5
2020-09-28 14:51:45 +02:00
Sylvain
39ff1269a3
fix path for template _plan.html
2020-09-23 16:42:43 +02:00
Sylvain
26f26c02bb
[bug] removed unexpected character in coupon form
2020-09-23 15:37:32 +02:00
Sylvain
8945dbfb39
[bug] unable to create a subscription plan for only one group
2020-09-23 15:28:20 +02:00
Sylvain
8f25c54402
[bug] user's manual URL is not up-to-date
2020-09-23 10:54:45 +02:00
Sylvain
8b823b3d67
[bug] slots duration is not shown when looking at a new availability
2020-09-23 10:20:51 +02:00
Sylvain
36d8c76ad7
[bug] wallet tab is not shown in members dashboard
2020-09-23 10:13:41 +02:00
Sylvain
a8811afba3
[bug] unable to search for projects ( #230 )
2020-09-23 09:32:42 +02:00
Sylvain
562fb5d8d7
fix requiring templates from ngtemplate-loader
2020-09-22 16:04:42 +02:00
Sylvain
a398ba8b8e
fix loading angular-ui-tour templates + use templateUrl instead of template:require()
2020-09-22 14:46:13 +02:00
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