Commit graph

1509 commits

Author SHA1 Message Date
Oleksii Kriuchykhin 456934464a Remove unneeded validation calls [SCI-1090] 2017-03-09 17:20:27 +01:00
zmagod 1d42d46c02 fixes bug with step comments 2017-03-09 16:02:52 +01:00
Luka Murn ae96223437 Fix rake db:add_user task 2017-03-09 15:37:15 +01:00
zmagod 3057965940 fix bug with filenames 2017-03-09 11:48:50 +01:00
zmagod 9939d8df06 refactor 2017-03-09 10:51:54 +01:00
Luka Murn 1e3a697a91 Merge pull request #508 from biosistemika/lm-sci-838-fix
Open edit/view Office files in new browser tab/window [SCI-838]
2017-03-09 10:39:16 +01:00
zmagod 49f91184da fixes locals 2017-03-09 09:55:15 +01:00
Luka Murn a4bf5516a5 Merge pull request #505 from Ducz0r/lm-sci-1082-fix
Minor change [SCI-1082]
2017-03-09 08:58:14 +01:00
Luka Murn 0e8f5f8e99 Merge branch 'lm-sci-1091-fix' of https://github.com/Ducz0r/scinote-web into Ducz0r-lm-sci-1091-fix
Conflicts:
	app/views/my_modules/_state_buttons.html.erb
2017-03-09 08:44:09 +01:00
zmagod f78ef8c82a fixes hound 2017-03-08 14:41:42 +01:00
zmagod 5c2e9a4b04 adds extends and fixes report methods 2017-03-08 14:14:03 +01:00
Luka Murn 800df7a26b Also make button icons work when rendering them via JS
Closes SCI-1073.
2017-03-08 13:55:10 +01:00
Oleksii Kriuchykhin 0f8336e5a5 Refactoring of the comments using STI [SCI-1090] 2017-03-08 13:18:20 +01:00
Luka Murn 7c9aa2e476 Hide complete&uncomplete task buttons if user cannot do it
Closes SCI-1091.
2017-03-06 16:01:04 +01:00
Luka Murn 86a800a84e Open edit/view Office files in new browser tab/window
Closes SCI-838.
2017-03-06 14:12:18 +01:00
Luka Murn 473487faec Add HTML <head><title> to edit, view file pages
Closes SCI-1049.
2017-03-06 13:55:07 +01:00
Luka Murn 4ddb139911 Fix padding of state buttons
Closes SCI-1073.
2017-03-03 16:36:52 +01:00
Luka Murn 42b773f180 Merge pull request #504 from Ducz0r/lm-sci-1078-fix
Fix sample type groups edit color script [SCI-1078]
2017-03-02 13:09:51 +01:00
Luka Murn 043613782e Minor change 2017-03-02 13:04:13 +01:00
Luka Murn 808fdf6744 Merge pull request #502 from Ducz0r/lm-sci-1073-fix
Fix protocol state buttons a bit [SCI-1073]
2017-03-02 09:02:52 +01:00
Luka Murn 7a48da2e94 Merge pull request #501 from Ducz0r/lm-sci-1057-fix
Canvas should now properly work again [SCI-1057]
2017-03-02 09:01:51 +01:00
Luka Murn 3599537e42 Fix sample type groups edit color script so it works properly now
Closes SCI-1078.
2017-03-01 09:09:44 +01:00
Oleksii Kriuchykhin 4868ec5331 Remove task completion duplicated code [SCI-1075] 2017-02-28 17:07:59 +01:00
Luka Murn 3d7f09bde6 Fix protocol state buttons a bit
Closes SCI-1073.
2017-02-28 14:35:12 +01:00
Luka Murn 2252b46afc Canvas should now properly work again
Closes SCI-1057.
2017-02-28 10:41:55 +01:00
zmagod e1b3dcc2ba adds enum extends to report element part of SCI-1003 2017-02-27 13:53:46 +01:00
Luka Murn fecfc9e41d Merge pull request #498 from biosistemika/release-1.8.1
Release 1.8.1
2017-02-23 14:57:30 +01:00
Luka Murn dc89c160be Fix a bug with team page not working from user task modal 2017-02-23 14:45:00 +01:00
Luka Murn 87599dca88 Merge branch 'lm-sci-1026-fix' into release-1.8.1 2017-02-23 13:55:41 +01:00
mlorb a72a072fac Merge pull request #495 from mlorb/ml_sci_948
Fix report - checklist items are in separate row than checkboxes [SCI-948]
2017-02-23 10:50:48 +01:00
okriuchykhin 986ad051a1 Merge pull request #496 from okriuchykhin/ok_SCI_873
Improve image scaling in image preview [SCI-873]
2017-02-23 09:30:56 +01:00
Oleksii Kriuchykhin cb588ed378 Improve image scaling in image preview [SCI-873] 2017-02-22 16:55:57 +01:00
okriuchykhin d30e149936 Merge pull request #493 from okriuchykhin/ok_SCI_739
Lower z-index value for notification count icon [SCI-739]
2017-02-22 16:48:39 +01:00
okriuchykhin 75792cde14 Merge pull request #492 from okriuchykhin/ok_SCI_759
Add more extensive explanation when project name is already taken [SCI-759]
2017-02-22 16:25:16 +01:00
Mojca Lorber f84611f558 fix report - checklist items are in separate row than checkboxes 2017-02-22 15:51:26 +01:00
Oleksii Kriuchykhin a326fa374f Lower z-index value for notification count icon [SCI-739] 2017-02-22 14:35:07 +01:00
Zmago Devetak 58f97fdb5b Merge pull request #489 from ZmagoD/zd_SCI_1002_add_hook
adds hook for lock task action
2017-02-22 14:24:01 +01:00
Oleksii Kriuchykhin 35b0b33ddf Add more extensive explanation when project name is already taken [SCI-759] 2017-02-22 14:18:48 +01:00
mlorb b65c716b79 Merge pull request #491 from biosistemika/ml_sci_1028_v2
Fix repeat tutorial is always created on the same team [SCI-1028]
2017-02-22 13:52:46 +01:00
Mojca Lorber 330fe9c291 fix repeat tutorial is always created on the same team
Closes SCI-1028.
2017-02-22 13:43:03 +01:00
mlorb 42e6a99911 Merge pull request #487 from mlorb/ml_sci_1032
Fix visual bug in edit avatar mode [SCI-1032]
2017-02-22 10:59:18 +01:00
mlorb 8c111db31a Merge pull request #486 from mlorb/ml_sci_1033
Fix user has no teams view [SCI-1033]
2017-02-22 10:58:39 +01:00
zmagod 151dc79a81 adds hook for lock task action 2017-02-21 16:25:50 +01:00
Mojca Lorber ac0988ef32 add data-hooks for remove manage teams button 2017-02-21 15:39:08 +01:00
Mojca Lorber 0fd41e8a6d remove changes on user has no teams view 2017-02-21 15:12:58 +01:00
Oleksii Kriuchykhin 53ba9437b2 Fix circular dependency while loading Settings [SCI-1004] 2017-02-21 14:38:13 +01:00
mlorb ea1711be83 Merge pull request #485 from mlorb/ml_sci_1001
Add data-hook for E-signature manifestation/display [SCI-1001]
2017-02-21 14:25:08 +01:00
mlorb 01d9f306a5 change div to span 2017-02-21 14:22:28 +01:00
Mojca Lorber 6b30f097f0 fix visual bug in edit avatar mode 2017-02-21 14:02:42 +01:00
okriuchykhin 95af5001ab Merge pull request #484 from okriuchykhin/ok_SCI_1004
Add global settings base class [SCI-1004]
2017-02-21 13:20:24 +01:00
Mojca Lorber 90864a45a0 fix user has no teams view 2017-02-21 13:08:06 +01:00
Oleksii Kriuchykhin 7703db3386 Change implementation of the Settings base class [SCI-1004] 2017-02-21 13:07:10 +01:00
Luka Murn 6f1c19ae2d Fix _user_dropdown.html.erb 2017-02-21 09:27:42 +01:00
Mojca Lorber cb2127ee7f add data-hook for E-signature manifestation/display 2017-02-20 18:03:55 +01:00
okriuchykhin 8e18ff44a6 Merge pull request #479 from okriuchykhin/ok_SCI_999
Add task complete/uncomplete functionality [SCI-999]
2017-02-20 15:19:00 +01:00
Oleksii Kriuchykhin 2aba0f46a6 Add global settings base class [SCI-1004] 2017-02-20 15:11:57 +01:00
Luka Murn 573f3c8d42 Merge pull request #483 from Ducz0r/lm-sci-1026-fix
Fix manage project users modal bug [SCI-1026]
2017-02-20 08:22:03 +01:00
Luka Murn ce617894c5 Fix manage project users modal bug
Closes SCI-1026.
2017-02-16 15:29:58 +01:00
Oleksii Kriuchykhin 4fb5fa79af Move task completion activity and notification creation to separate methods [SCI-999] 2017-02-16 13:36:05 +01:00
Oleksii Kriuchykhin 218e96b1f0 Code style fixes [SCI-999] 2017-02-16 11:45:07 +01:00
Zmago Devetak c963674e49 Merge pull request #482 from ZmagoD/zd_SCI_987_vol2
fixes bug with user teams table [fixes SCI-987]
2017-02-15 13:30:25 +01:00
Luka Murn 164bd787e9 Merge pull request #481 from Ducz0r/lm-sci-958-fix
Team administrators are Viewers of all Projects in Team [SCI-958]
2017-02-15 10:40:52 +01:00
zmagod 836baa7412 fixes bug with user teams table [fixes SCI-987] 2017-02-15 10:06:21 +01:00
Nbernot 97584aabb3 Updated the lists of office online file extensions
Extended the list of file extensions that receive office online icons and 'open in' text.
2017-02-14 16:44:03 +01:00
Luka Murn d097f0dd15 Merge pull request #477 from Ducz0r/lm-sci-928
Refactor, merge, unify, improve, update, beautify settings page [SCI-928]
2017-02-13 16:42:57 +01:00
Luka Murn 1b6f50647c Please Hound 2017-02-13 16:40:27 +01:00
Luka Murn b369177d1f Merge pull request #480 from Ducz0r/lm-sci-964-fix
Fix system notification email links not working bug [SCI-964]
2017-02-13 16:31:04 +01:00
Oleksii Kriuchykhin f97c20e9b5 Fix hound warnings [SCI-999] 2017-02-13 15:42:28 +01:00
Oleksii Kriuchykhin 78d5cbb223 Add links to task completion notification [SCI-999] 2017-02-13 14:51:21 +01:00
Luka Murn 86be639a7c Please the Hound 2017-02-13 14:20:44 +01:00
Luka Murn 3313d14316 Fix search for administrators and projects
Closes SCI-958.
2017-02-13 14:15:53 +01:00
Luka Murn c6ed73bc82 Allow team admins to see all projects, even hidden ones 2017-02-13 13:42:53 +01:00
Luka Murn f93cc89624 Fix system notification email links not working bug
Closes SCI-964.
2017-02-10 15:13:33 +01:00
Oleksii Kriuchykhin cf8566df33 Add task complete/uncomplete functionality [SCI-999] 2017-02-10 14:27:20 +01:00
Luka Murn 3eb4faa44b Fix task restore action
Closes SCI-991.
2017-02-10 14:08:56 +01:00
Luka Murn 280b7a0e75 Minor fix 2017-02-09 15:10:45 +01:00
Luka Murn 2a9f975c13 Some minor fixes 2017-02-09 14:58:11 +01:00
Luka Murn f7bd62547e Refactor teams settings into its own controllers 2017-02-09 14:37:59 +01:00
Luka Murn 7bee3a4ea0 Move user profile to settings 2017-02-09 11:34:52 +01:00
Luka Murn 5cb3eb5e09 Refactor preferences -> move them to subcontroller, subroute 2017-02-09 11:07:16 +01:00
okriuchykhin c2a69982aa Merge pull request #471 from okriuchykhin/ok_SCI_936
Adds datatable to all teams page [SCI-936]
2017-02-07 10:33:33 +01:00
okriuchykhin e2de3c92e7 Merge pull request #472 from okriuchykhin/ok_SCI_984
Check that user is a member of a team when switching to it [SCI-984]
2017-02-07 09:36:46 +01:00
okriuchykhin 53ff6a2893 Merge pull request #473 from okriuchykhin/ok_SCI_997
Fix smart annotation is missing at editing column with smart annotation [SCI-997]
2017-02-07 09:33:40 +01:00
Oleksii Kriuchykhin 80dbc669d0 Simplify all teams dt definition [SCI-936] 2017-02-06 17:17:48 +01:00
Oleksii Kriuchykhin 449f4479e9 Fix code style issues [SCI-936] 2017-02-06 17:08:20 +01:00
zmagod c99a540eb3 adds hook to team name in the invitation template [fixes SCI-930] 2017-02-03 16:53:42 +01:00
Oleksii Kriuchykhin 916ed2572a Fix smart annotation is missing at editing column with smart annotation [SCI-997] 2017-02-03 16:42:38 +01:00
Oleksii Kriuchykhin cc6b518c7f Check that user is a member of a team when switching to it [SCI-984] 2017-02-03 16:10:37 +01:00
Oleksii Kriuchykhin 62535a01bd Move teams datatable js code into separate file [SCI-936] 2017-02-03 10:44:42 +01:00
Oleksii Kriuchykhin 8b105aa030 Add override hooks [SCI-936] 2017-02-02 23:35:47 +01:00
Zmago Devetak 65bbd81497 Merge pull request #469 from ZmagoD/zd_SCI_929
Adds hook in user settings navigation
2017-02-02 15:01:37 +01:00
mlorb 970d99e6e3 Merge pull request #465 from mlorb/ml_sci_937
Redesign of individual team page [SCI-937]
2017-02-02 11:15:55 +01:00
mlorb 5510fa7751 rename data-hooks in team view 2017-02-02 10:36:23 +01:00
Oleksii Kriuchykhin db90c5d63b Add datatable to all teams page [SCI-936] 2017-02-02 09:53:59 +01:00
zmagod bb42bd04a5 adds hook in user settings navigation 2017-02-01 17:10:22 +01:00
Mojca Lorber 86351ce17d add data-hooks for billing 2017-02-01 15:01:54 +01:00
Mojca Lorber d3e0eca44e redesign individual team page 2017-02-01 14:44:47 +01:00
Oleksii Kriuchykhin 031741d122 Disable protocols link if user has no teams [SCI-934] 2017-02-01 14:26:51 +01:00
Oleksii Kriuchykhin c119b7c014 Make sciNote work for users without any teams [SCI_934] 2017-02-01 14:16:26 +01:00
Zmago Devetak 5c9954bb89 Merge pull request #450 from ZmagoD/zd_SCI_939
Refactor "organizations" to "teams"
2017-02-01 13:12:02 +01:00
okriuchykhin 067b9452a4 Merge pull request #464 from okriuchykhin/ok_SCI_935
Add config option to enable/disable users registration [SCI-935]
2017-02-01 09:36:36 +01:00
Luka Murn 059f9cfb25 Merge pull request #468 from biosistemika/hotfix-1.7.2
Change URLs to sciNote help pages [SCI-978]
2017-01-31 16:15:39 +01:00
Luka Murn db75231617 Update URLs to sciNote support pages
Closes SCI-978.
2017-01-31 15:48:56 +01:00
zmagod be5faad97c fixes hound 2017-01-31 13:33:55 +01:00
Oleksii Kriuchykhin d1e69438de Add config option to enable/disable users registration [SCI-935] 2017-01-30 15:04:02 +01:00
mlorb bc8c4c3c6c Merge pull request #463 from mlorb/ml_sci_965
Fix step does not save if table is without content [SCI-965]
2017-01-30 11:08:21 +01:00
Mojca Lorber b291553d01 fix hound 2017-01-27 16:36:03 +01:00
Mojca Lorber d5021fad2c fix step does not save if table is without content 2017-01-27 16:25:11 +01:00
okriuchykhin 9909f9dcff Merge pull request #456 from okriuchykhin/ok_SCI_951
Fix missing preview images in task and protocol management [SCI-951]
2017-01-27 14:42:41 +01:00
okriuchykhin c6fe0003f4 Merge pull request #458 from okriuchykhin/ok_SCI_957
Fix protocol table filtering by keywords [SCI-957]
2017-01-27 14:19:53 +01:00
okriuchykhin 53e09bd50a Merge pull request #457 from okriuchykhin/ok_SCI_955
Fix comments re-initialization after edit of the results [SCI-955]
2017-01-27 11:50:52 +01:00
zmagod e59b2e039a Merge branch 'master' of https://github.com/biosistemika/scinote-web into zd_SCI_939 2017-01-27 11:15:31 +01:00
zmagod 61b260fb8a fixes bug in protocol management 2017-01-27 11:01:44 +01:00
mlorb 77236f161b Merge pull request #461 from mlorb/ml_sci_952
Fix bug with avatar in smart annotations [SCI-952]
2017-01-27 10:08:53 +01:00
Luka Murn 2c3be391a8 Merge pull request #462 from ZmagoD/zd_SCI_962_vol2
fix edit action
2017-01-26 17:25:57 +01:00
Luka Murn 36f25e98f1 Merge pull request #459 from okriuchykhin/ok_SCI_943
Fix RTF toolbar init after eding new step [SCI-943]
2017-01-26 17:25:41 +01:00
zmagod 30912c514e fix edit action 2017-01-26 17:24:24 +01:00
Mojca Lorber 5bed5f0f4a fix bug with avatar in smart annotations 2017-01-26 17:15:00 +01:00
zmagod cec5f1333d fixes RTE bug for new text results [fixes SCI-962] 2017-01-26 16:54:43 +01:00
Oleksii Kriuchykhin 100cc700c6 Fix RTF toolbar init after eding new step [SCI-943] 2017-01-26 16:37:44 +01:00
Luka Murn 3bf447b0f4 Fix bug where reCaptcha form wasn't working 2017-01-26 16:06:29 +01:00
Oleksii Kriuchykhin 17a53cbd7f Fix protocol table filtering by keywords [SCI-957] 2017-01-26 15:52:46 +01:00
Oleksii Kriuchykhin ff86184b24 Fix comments re-initialization after edit of the results [SCI-955] 2017-01-26 15:24:37 +01:00
Oleksii Kriuchykhin 0f860496a7 Fix image preview after saving of report [SCI-951] 2017-01-26 14:42:14 +01:00
Luka Murn 3e6d11a087 Merge pull request #455 from mlorb/ml_sci_944
Fix entering new smart anotations [SCI-944]
2017-01-26 14:06:35 +01:00
Mojca Lorber 13d1cc5171 fix entering new smart anotations 2017-01-26 13:50:32 +01:00
Oleksii Kriuchykhin 08aa882155 Fix generation of image previews after protocol loading from repo [SCI-951] 2017-01-26 13:19:59 +01:00
Luka Murn 0baaf12de3 Re-display images & checkboxes in PDF reports
Closes SCI-953.
2017-01-26 10:46:58 +01:00
Luka Murn 8c5a52417c Merge pull request #445 from okriuchykhin/ok_SCI_940
Refactor smart annotation/auto_link/simple_format rendering [SCI-940]
2017-01-25 17:49:38 +01:00
okriuchykhin 648d256dff Merge pull request #448 from okriuchykhin/ok_SCI_945
Fix openning of protocol preview with images [SCI-945]
2017-01-25 17:27:01 +01:00
okriuchykhin 6610c75bfc Merge pull request #452 from okriuchykhin/ok_SCI_949
Fix error when referencing deleted sample in SA [SCI-949]
2017-01-25 17:26:48 +01:00
Oleksii Kriuchykhin c55f3cb99c Add flag to disable simple_format in custom_auto_link [SCI-940] 2017-01-25 17:18:19 +01:00
Oleksii Kriuchykhin 310d8c1920 Refactor smart annotation/auto_link/simple_format rendering [SCI-940] 2017-01-25 17:18:19 +01:00
mlorb bedef297c4 Merge pull request #453 from mlorb/ml_sci_950
Fix problem with protocol export [SCI-950]
2017-01-25 17:15:21 +01:00
okriuchykhin 4c0f68ffbd Merge pull request #410 from okriuchykhin/ok_SCI_855
Improved tooltip handling in samples datatable V2 [SCI-855]
2017-01-25 16:19:52 +01:00
Mojca Lorber 99a40961fa fix problem with protocol export 2017-01-25 16:12:48 +01:00
Oleksii Kriuchykhin 5fe9261595 Fix error when referencing deleted sample in SA [SCI-949] 2017-01-25 15:54:12 +01:00
zmagod a507bb4d1f hound 2017-01-25 15:40:35 +01:00
zmagod 1220466035 fixing hound 2017-01-25 15:00:14 +01:00
zmagod afd8328e9c rename ortanizations -> teams 2017-01-25 14:22:06 +01:00
Oleksii Kriuchykhin ddd8bcf7b0 Prevent double initialization of popup [SCI-855] 2017-01-25 13:47:01 +01:00
Oleksii Kriuchykhin 96a9857dec Add handling of popups in the end of the table [SCI-855] 2017-01-25 13:47:01 +01:00
Oleksii Kriuchykhin fb49ce8be2 Improved tooltip handling in samples datatable [SCI-855] 2017-01-25 13:47:01 +01:00
Mojca Lorber 6905fc8c08 remove letter f 2017-01-25 13:20:11 +01:00
Oleksii Kriuchykhin 90e4b26c69 Fix openning of protocol preview with images [SCI-945] 2017-01-25 13:06:12 +01:00
zmagod f04a2f663a renamed organizations in config/ 2017-01-25 12:30:11 +01:00
zmagod 8c035a1981 renames organization in assets 2017-01-25 12:12:27 +01:00
okriuchykhin 35b8638598 Merge pull request #446 from okriuchykhin/ok_SCI_902_v2
Add sanitization of group/type to sample edit [SCI-902]
2017-01-25 12:05:30 +01:00
zmagod 72e13beee3 renamed organizations in views 2017-01-25 12:01:23 +01:00
Mojca Lorber 2277af534c fix table titles 2017-01-25 11:01:35 +01:00