Commit Graph
553 Commits
Author SHA1 Message Date
Valentina Kiryushkina 71d80d872a Try to login only if credentials were modified 2016-12-05 14:22:24 +03:00
Valentina Kiryushkina aba09990ee Remove modification flag and listeners from fields because use of them makes Apply button always active even no real changes was made 2016-12-05 14:22:23 +03:00
Valentina Kiryushkina a51d7b4da8 Fix EDU-794 Changes in stepik credentials in Settings aren't saved
Refactor settings creation: 1) Erase password on login change 2) Do not erase password on focus gained by password field 3) Use lambda instead of anonymous class where possible

Refactor stepik settings: 1) Login in settings under progress  2) Do not save new credentials until they are posted on stepic 3) Remove default password for show: set user password in stepik settings panel
2016-12-05 14:22:23 +03:00
Valentina Kiryushkina c4f1fffcdb Fix json serialization for stepic adaptive courses which has no files and no subtasks 2016-12-05 14:22:23 +03:00
Aleksey Pivovarov 52d9d450f4 [fix] ui: allow to override background color for Editor notification panel
pass background color in constructor, so it could be used in `createActionLabel` call

follow-up: 0de9910, 1e42810, 9089601
2016-12-01 20:21:48 +03:00
Vladimir Krivosheev 9f31026d75 cleanup, tool windows state hot reload 2016-12-01 15:29:13 +01:00
Aleksey Pivovarov 1e42810fda ui: allow to override background color for Editor notification panel 2016-11-30 17:28:27 +03:00
Ekaterina Tuzova cae8ae1d7d show task description in tests files 2016-11-29 17:43:59 +03:00
Ekaterina Tuzova e059708634 fixed get available private courses 2016-11-28 15:51:04 +03:00
Ekaterina Tuzova 7787a2608e login if we do not have access token 2016-11-28 15:51:04 +03:00
Ekaterina Tuzova 00e6b440c5 added option to skip running task file on check action 2016-11-25 20:23:18 +03:00
Ekaterina Tuzova b26470ac28 navigate to the next subtask on subtask switch 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova b4503a2aa4 On go to next task open only task file related to the current step 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova 6fc1f46568 open only task file related to the current step 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova d030b5c514 find file in study project generator 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova a72cb7108c scroll to the answer placeholder 2016-11-25 19:31:39 +03:00
Liana.Bakradze 0d6d849c33 EDU-675 Add Course Creation label to Course Node in Project View for Course Creator Mode 2016-11-25 19:30:41 +03:00
Ekaterina Tuzova eaa6999da6 proper separator for task file path 2016-11-25 18:24:24 +03:00
Ekaterina Tuzova 86cba1b8e1 take into account subtasks for course progress bar
this is done only for courses with one lesson and one task
2016-11-25 18:24:24 +03:00
Ekaterina Tuzova 2866c34d61 copy invisible files from inner directories 2016-11-25 17:17:12 +03:00
Ekaterina Tuzova ed0ca207ed do not show lesson if there are only one lesson and only one task 2016-11-25 17:17:12 +03:00
Liana.Bakradze 8f7f4f8478 update placeholders from target subtask 2016-11-24 19:09:10 +03:00
Liana.Bakradze 9b78c5468e update placeholders that appear between subtasks 2016-11-24 17:45:47 +03:00
Valentina Kiryushkina cb9147f19f Fix EDU-793 PyCharm freezes when creating course from Stepik
Freeze on course creation was caused by EduEduStepicAuthorizedClient which tried to login before getting step. Now we use an authorized client only if user logged in at project creation (it's required for private and adaptive courses), otherwise an unauthorized client is used.
2016-11-24 15:50:55 +03:00
Liana.Bakradze 73862c882d fix subtasks switching for tasks with many files 2016-11-23 17:11:32 +03:00
Liana.Bakradze 604d10fad7 set correct length for placeholders invisible from prev subtasks 2016-11-23 15:33:14 +03:00
Ekaterina Tuzova 0935834d85 Added inner directories support to the educational edition 2016-11-23 14:34:43 +03:00
Ekaterina Tuzova 986a98eee1 Update length properly after editing answer placeholder 2016-11-23 14:34:43 +03:00
Liana.Bakradze e10506857c EDU-791 Subtasks: undo "Hide from prev subtasks" can break a course 2016-11-23 14:01:53 +03:00
Liana.Bakradze 5cecdc77ac make replace operation undo transparent 2016-11-23 13:34:16 +03:00
Liana.Bakradze 37b0c6d349 explaining comment 2016-11-22 19:43:35 +03:00
Valentina Kiryushkina c83cde13c1 Remove unused stepic names, add "/" to stepic urls where needed 2016-11-22 13:01:41 +03:00
Valentina Kiryushkina 6bc1b9c47a Minor Inspect code 2016-11-22 13:01:40 +03:00
Valentina Kiryushkina 57b17be93c Fix EDU-779 Open steps of pycharm type in adaptive courses
1) Refactor createTask method in order to reuse it in adaptive connector
2) Use authorized client to get steps from stepic, because user may get steps from private lesson
2016-11-22 13:01:40 +03:00
Liana.Bakradze 4981fa3406 EDU-782 Subtasks: switch subtasks from project view 2016-11-21 17:38:11 +03:00
Liana.Bakradze f69b942be4 EDU-783 Subtasks: do not force focus on test file when switching 2016-11-21 15:51:22 +03:00
Liana.Bakradze f5e502cdd2 EDU-769 Exception when open any task file 2016-11-21 15:34:55 +03:00
Liana.Bakradze 69fa7cb94a EDU-748 Exception from tabs 2016-11-18 15:35:25 +03:00
Liana.Bakradze cb304d9c95 fixes after IDEA-CR-14348 review 2016-11-17 17:09:05 +03:00
Liana.Bakradze 6b360083b6 fix deserialization of new local courses 2016-11-17 17:08:44 +03:00
Liana.Bakradze 5e3f9fc8ff fix add subtask from test files 2016-11-17 17:08:44 +03:00
Liana.Bakradze af1c9a3912 reorganize answer placeholder actions 2016-11-17 17:08:43 +03:00
liana.bakradze 7ddb0ce851 replace subtaskInfo map with list for stepik 2016-11-17 17:08:43 +03:00
Liana.Bakradze e3c5a9ab61 type here as default placeholder text 2016-11-17 17:08:42 +03:00
Liana.Bakradze 7a30e80e95 open proper test file when switching between subtasks 2016-11-17 17:08:42 +03:00
liana.bakradze eb7dd75409 delete subtask 2016-11-17 17:08:41 +03:00
liana.bakradze fd3a8c9176 convert local courses to new format 2016-11-17 17:08:40 +03:00
liana.bakradze 5cce863634 add format version to stepic format 2016-11-17 17:08:40 +03:00
Liana.Bakradze d922d92ab1 remove hack for storing multiple hints 2016-11-17 17:08:40 +03:00
Liana.Bakradze b81e4aebdd save changes from edit placeholder 2016-11-17 17:08:39 +03:00