Commit Graph

2009 Commits

Author SHA1 Message Date
SJost
7329c84304 SubmissionEdit page offers downloads now. 2018-04-19 11:22:35 +02:00
SJost
11c17e3dc8 ExcerciseBuddies for DefinedGroups are forced 2018-04-19 10:56:32 +02:00
SJost
780201703c Merge branch 'feat/exercises' of gitlab.cip.ifi.lmu.de:jost/UniWorX into feat/exercises 2018-04-19 10:45:10 +02:00
SJost
efcbb82d25 ExcerciseBuddies working 2018-04-19 10:45:05 +02:00
Gregor Kleen
d741dabc25 mforced & aforced 2018-04-19 10:11:52 +02:00
SJost
8725f935d0 Merge remote-tracking branch 'origin/master' into feat/exercises 2018-04-19 09:29:41 +02:00
SJost
cdf2cec832 minor comment added 2018-04-19 09:29:16 +02:00
Felix Hamann
e27a88c237 Merge branch 'feat/pagination' into 'master'
Feat/pagination

See merge request !23
2018-04-14 22:36:44 +02:00
Gregor Kleen
acce67d562 Fix sortable column attributes 2018-04-14 20:18:24 +02:00
Gregor Kleen
c78184a946 Automatically check isAuthorized for MenuItems 2018-04-13 15:49:26 +02:00
Gregor Kleen
9d65f94f51 Mark sortable columns 2018-04-13 15:28:04 +02:00
Gregor Kleen
05cd245102 Links to every page of table 2018-04-13 15:06:15 +02:00
Felix Hamann
e0b3f0921a signal to the user that a column is sortable 2018-04-12 23:23:35 +02:00
Felix Hamann
2a1c805d85 Merge branch 'master' into feat/pagination
merged master into this to avoid databas conflicts when switching between master and feat/pagination
2018-04-12 21:38:25 +02:00
Gregor Kleen
4c4cbd584c Fix build of Submission.hs 2018-04-11 15:09:20 +02:00
Gregor Kleen
08607a5e7c Fix javascript issues, 'directions' in sortable-header, sorted attrs 2018-04-11 14:28:33 +02:00
SJost
fcd6703752 Group Submissions mostly done, NOT COMPILING 2018-04-11 13:12:49 +02:00
SJost
5c1789786d Util-Sheet vergessen 2018-04-10 15:16:32 +02:00
SJost
a544c61be2 Submission upload (Sitzung mit Gregor) 2018-04-10 12:50:20 +02:00
SJost
4a7d35144a Merge remote-tracking branch 'origin/feat/pagination' into feat/exercises 2018-04-10 10:40:10 +02:00
SJost
380c57c578 Favourites working now (without PageActions). 2018-04-10 10:38:21 +02:00
Gregor Kleen
c2174161c5 Better name for templates/table/table 2018-04-04 15:28:55 +02:00
Gregor Kleen
e71864368c Implement links to toggle table sorting 2018-04-04 14:35:11 +02:00
Gregor Kleen
72b2b72f03 Implement table sorting 2018-04-04 12:54:00 +02:00
Gregor Kleen
951af369c8 Fewer newlines 2018-04-04 12:31:50 +02:00
Gregor Kleen
431adf0324 Add 'zipFileField' 2018-04-04 12:29:01 +02:00
Gregor Kleen
5e8698fee1 Revert "Allow overriding unpackZips-Checkbox"
This reverts commit 8e43a314d3.
2018-04-04 12:21:43 +02:00
SJost
fa6b04663e Merge remote-tracking branch 'origin/master' into feat/exercises 2018-04-03 18:50:51 +02:00
Gregor Kleen
8e43a314d3 Allow overriding unpackZips-Checkbox 2018-04-03 18:48:10 +02:00
SJost
ea5e04bd78 Merge remote-tracking branch 'origin/master' into feat/exercises 2018-04-03 18:04:13 +02:00
Gregor Kleen
3d98fe4736 Refactor utils 2018-04-03 17:56:55 +02:00
SJost
2714485dbd Merge remote-tracking branch 'origin/master' into feat/exercises 2018-04-03 16:58:25 +02:00
SJost
7e9e066e55 Quickfix sheet grading edit 2018-04-03 16:58:05 +02:00
SJost
f35579e20d Merge remote-tracking branch 'origin/master' into feat/exercises 2018-04-03 16:50:59 +02:00
SJost
d279a1a2c6 Minor messages 2018-04-03 16:49:41 +02:00
Gregor Kleen
54cd2bd266 Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX into feat/pagination 2018-04-03 16:20:44 +02:00
Gregor Kleen
9a26d17c5e Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX into feat/multi-file-field 2018-04-03 14:53:18 +02:00
Gregor Kleen
1b86abb46d MultiFileField Sheet 2018-04-03 14:51:25 +02:00
Felix Hamann
8bb71a5c3e Moved modals to standalones 2018-03-31 01:55:00 +02:00
Felix Hamann
33a99b0f62 changed menuItemType of Uebungsblaetter 2018-03-29 00:23:24 +02:00
Felix Hamann
6edc4d4a99 added page action bar for prime actions
closes #34
2018-03-25 23:47:02 +02:00
SJost
05a0f6b0bf CreatedBy/ChangeBy als eigene Tabellen überall eingeführt 2018-03-22 20:35:17 +01:00
SJost
6fe311ee78 Sheet edit times und fillDB angepasst 2018-03-22 19:49:33 +01:00
SJost
9f96e6dd35 PageActions added 2018-03-22 19:27:57 +01:00
SJost
5f6640148c Hierarchical Routes 2018-03-22 16:04:38 +01:00
Gregor Kleen
7ee2aac209 MultiFileField 2018-03-22 15:18:08 +01:00
SJost
217ae28d9e Merge branch 'master' into feat/exercises 2018-03-22 14:07:10 +01:00
SJost
ad2b7ae866 DeleteRedirct, fetchSheet caching, etc. 2018-03-22 12:19:40 +01:00
SJost
710b8334e5 convenience functions for authorisation, not yet used 2018-03-21 18:15:16 +01:00
SJost
023da918bb convenience functions for authorisation 2018-03-21 17:39:17 +01:00
SJost
85d128a244 Sheet Editing/Delete working now 2018-03-19 23:33:59 +01:00
SJost
5364190a38 Problem: getrennte get/post Handler funktionieren so nicht. Warum? 2018-03-19 22:57:24 +01:00
Gregor Kleen
28d9c5c95b Cleanup 2018-03-19 12:29:55 +01:00
Felix Hamann
e58851cd3c scollable tables for smaller screens 2018-03-18 17:55:02 +01:00
Felix Hamann
4f660f04c0 navbar rework, smooth breadcrumbs 2018-03-18 15:47:37 +01:00
Felix Hamann
3d36e5c957 icons, responsive navigation, breadcrumbs, design 2018-03-18 02:52:17 +01:00
Felix Hamann
d55b88d7cb Merge branch 'master' into initial_thoughts_on_frontend 2018-03-17 19:31:15 +01:00
Felix Hamann
d8f2ce6e90 added menu-icons and asidenavbar-styling 2018-03-17 19:23:45 +01:00
Felix Hamann
be383f84b8 reverted markup and js changes to buttonField 2018-03-17 15:30:27 +01:00
Felix Hamann
8fc53d879f split inputs-logic and form-logic in frontend 2018-03-16 20:54:35 +01:00
SJost
037c0cce20 Sheet editing working, except for files 2018-03-16 18:52:32 +01:00
SJost
daed94ae33 Several Cleanups 2018-03-16 17:54:28 +01:00
Gregor Kleen
170442cff0 Fix page indicator 2018-03-16 14:22:33 +01:00
Gregor Kleen
2cfd87de87 Page indicator 2018-03-16 14:09:12 +01:00
Gregor Kleen
ba918129c9 Identify paginated table with html-id 2018-03-16 13:30:58 +01:00
Gregor Kleen
907958baf4 Cleanup identified tables 2018-03-16 13:06:52 +01:00
Gregor Kleen
d47fa717a3 Identify tables 2018-03-16 12:58:49 +01:00
Gregor Kleen
96cdef2538 Better PSValidator 2018-03-16 12:54:18 +01:00
Gregor Kleen
a0ccae13b7 Intigrate pagination into term list 2018-03-16 10:28:43 +01:00
SJost
c35f718054 Sheet Download works 2018-03-16 10:26:54 +01:00
Gregor Kleen
b96411460c Start work on server side pagination 2018-03-16 10:25:55 +01:00
SJost
85f132295c minor changes toward sheet saving 2018-03-16 09:05:29 +01:00
SJost
40cf5ec858 CourseForm works without redirect only 2018-03-15 14:51:30 +01:00
SJost
075872dbbe Replace does not work either 2018-03-15 10:04:16 +01:00
SJost
8247c6c6d4 Fixes to Course New/Edit handling. Update not yet working! 2018-03-14 18:34:42 +01:00
Felix Hamann
475411bb4a localstorage for show-hides, sortable tables, more navigation 2018-03-11 23:53:06 +01:00
Felix Hamann
e4ddcd9e49 minor fixes for file-inputs and buttons 2018-03-08 11:06:12 +01:00
Felix Hamann
20b6828c96 Merge branch 'master' into initial_thoughts_on_frontend 2018-03-07 21:58:18 +01:00
Felix Hamann
ca582f8e8a widget-restructuring and new colors 2018-03-07 21:55:01 +01:00
SJost
1c052087fd Merge branch 'master' into feat/exercises 2018-03-07 15:47:54 +01:00
SJost
43cb2cfa73 Term template angepasst 2018-03-07 15:28:18 +01:00
SJost
f36d048dac Merge branch 'master' into feat/exercises 2018-03-07 14:17:02 +01:00
SJost
a29cefe7d2 MV: generic_form.hamlet -> formPage.hamlet 2018-03-07 14:16:08 +01:00
SJost
70a95b3e0b Beispiel Internationalisierung in Handler.Term 2018-03-07 13:59:50 +01:00
Felix Hamann
3f11dab6ab Merge branch 'master' into initial_thoughts_on_frontend 2018-03-07 13:35:58 +01:00
SJost
4c65d379af Merge branch 'master' into feat/exercises 2018-03-07 13:31:08 +01:00
Gregor Kleen
2fb478e8ff Merge branch 'feat/custom-renderers' 2018-03-07 13:30:06 +01:00
SJost
27507906d1 Minor comments 2018-03-07 13:01:23 +01:00
Felix Hamann
cd8b6d985b introduced BEM for CSS and aside-navigation 2018-03-06 22:29:17 +01:00
Felix Hamann
b9b5496ca7 added reactive input labels and general form styling 2018-03-05 00:40:10 +01:00
Felix Hamann
0a7328f969 added sortable tables 2018-03-04 22:48:54 +01:00
Felix Hamann
7b3915fa95 moved sticky navbar to StaticR and added show-hide-elements (only HomeR) 2018-03-04 22:19:25 +01:00
Felix Hamann
50cebd92bf Merge branch 'master' into initial_thoughts_on_frontend 2018-03-02 18:33:22 +01:00
Gregor Kleen
fe73d6cc22 Start work on customizable form renderer 2018-03-01 12:54:22 +01:00
Felix Hamann
349938b0e7 added navbar widget and did some cleanup to eventually get rid of bootstrap 2018-02-22 22:44:54 +01:00
Gregor Kleen
a548652b52 Bump yesod-colonnade 2018-02-21 13:33:28 +01:00
Gregor Kleen
937db06db2 Remove backup 2018-02-20 15:54:25 +01:00
SJost
c8c968a7e4 minor merge conflict resolved 2018-02-19 18:10:41 +01:00
SJost
a3f71a474b Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX into feat/exercises 2018-02-19 18:06:54 +01:00
SJost
8d221600d3 TermIdentifier -> TermId in routes 2018-02-19 17:58:55 +01:00
Felix Hamann
7cb64b765a introduced menu-widget 2018-02-19 17:28:28 +01:00
SJost
499315432a SheetFile Up/Download added 2018-02-19 16:57:12 +01:00
SJost
6070c9231b sheet display extended, not yet complete 2018-02-19 16:57:12 +01:00
SJost
3575e69123 Bug with SheetInfo Form fixed 2018-02-19 16:57:12 +01:00
SJost
06a29205cd Fileinfo in AForm type troubles :( 2018-02-19 16:57:12 +01:00
SJost
bc094dc813 Sheets still incomplete, show sheet list and working. sheetAdmin template is not yet working 2018-02-19 16:57:12 +01:00
SJost
2f47f12832 User Overview page added, no user-editing yet 2018-02-19 16:55:20 +01:00
SJost
9bad1b42ec Forgotten minor bugfixes that belong to master, but slipped into this branch. 2018-02-19 16:55:20 +01:00
SJost
272bc7f6c5 schoolField & termField in Utils 2018-02-19 16:54:10 +01:00
Gregor Kleen
a94a8e3f81 Support for partial templates 2018-02-19 16:08:50 +01:00
Gregor Kleen
fddd8bef4c Make CryptoIDKey implicit using new cryptoids-class 2018-02-09 14:22:01 +01:00
Gregor Kleen
b6dbd27eb0 Cleanup 2018-02-09 12:35:10 +01:00
Gregor Kleen
d37ee331f6 Use correct status header 2018-02-09 12:35:10 +01:00
Gregor Kleen
7c5c12dc6b Fix type error 2018-02-09 12:35:10 +01:00
Gregor Kleen
6bf0f321cf Check decryption before redirecting (as was intended) 2018-02-09 12:35:10 +01:00
Gregor Kleen
db92528884 Framework & dispatch submissions 2018-02-09 12:35:10 +01:00
SJost
14ccdb1e35 Bugfix: Infinite Loop in Authorization Code; Stubs for Exercise Sheet; Fixed several compiler warnings 2017-11-29 17:26:32 +01:00
SJost
b363c05c95 AdminSchool no longer nullable; Profile page displays granted rights 2017-11-29 15:17:31 +01:00
SJost
4686c63fd9 BUGFIX, Attempt 2: Authorization for Admins without schools fixed. 2017-11-27 16:54:12 +01:00
SJost
e3906672aa BUGFIXES: 1) Message status codes 2) Course editing could have cause uniqueness constraint violation, resulting in db exception. 2017-11-27 15:59:28 +01:00
SJost
70ad55f565 Course participant count working now, albeit inefficient through runDB per Collonade-Row 2017-11-27 13:21:11 +01:00
Gregor Kleen
c09b0d8619 Cleanup 2017-11-27 12:37:56 +01:00
Gregor Kleen
aa1e10e3e9 Remove redundant import 2017-11-27 09:24:28 +01:00
Gregor Kleen
e6f6e8c621 Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2017-11-26 22:00:38 +01:00
Gregor Kleen
0293363e13 Copy more information from LDAP on login 2017-11-26 21:59:47 +01:00
SJost
39b3cd0bec defaultHandler gained argument for page navigation 2017-11-24 15:20:26 +01:00
SJost
1b272c6ee8 Form-Identifiers introduced 2017-11-17 16:59:48 +01:00
SJost
52be9e3198 Link-Buttons via CSS 2017-11-17 16:17:16 +01:00
SJost
05b912179f Buttons for Links utility added 2017-11-17 15:24:38 +01:00
SJost
4121b49c25 Minor changes to buttons 2017-11-16 13:23:50 +01:00
SJost
4bcbf963f1 Button CSS style added. 2017-11-15 18:04:32 +01:00
SJost
88e123f405 Button form cleaning 2017-11-15 16:37:19 +01:00
SJost
6b0f380808 Pure button Forms working 2017-11-15 16:27:15 +01:00
Gregor Kleen
8bffe66a6d Handle all cases in button accumulation 2017-11-15 13:38:06 +01:00
Gregor Kleen
725e00cf68 Really fix button accumulation, this time 2017-11-15 13:17:33 +01:00
Gregor Kleen
261f064d4e Accumulate button result correctly 2017-11-15 13:06:50 +01:00
SJost
faf5c1b2dc Fix for buttons does not work either 2017-11-15 12:16:14 +01:00
SJost
c71910f22e Buttons reworked after call; not yet working 2017-11-15 11:22:52 +01:00
SJost
25547be0fc Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2017-11-15 10:38:14 +01:00
Gregor Kleen
1b42873f12 Cleanup
Fixes #15
2017-11-15 10:10:24 +01:00
SJost
e138e42ae0 Button Stubs 2017-11-15 09:41:19 +01:00
Gregor Kleen
5070403ce8 Switch to newly released 'filepath-crypto' 2017-10-25 22:43:19 +02:00
SJost
772a5ee02c Esqueleto for Term Overview 2017-10-18 15:57:55 +02:00
Gregor Kleen
0cd0425903 Zip UTF8-support 2017-10-18 15:30:02 +02:00
Gregor Kleen
377d8667c2 Multiple submission upload 2017-10-16 15:52:20 +02:00
Gregor Kleen
b0e5f54b4d Download of multiple Submissions & Additional colonnade wrapper 2017-10-14 00:20:47 +02:00
Gregor Kleen
1afc2b4bad Clean up structure 2017-10-12 19:43:41 +02:00
Gregor Kleen
cb27038c6b Allow upload of single files 2017-10-12 16:58:59 +02:00
Gregor Kleen
d01404047f Graceful handling of undone corrections 2017-10-12 15:47:18 +02:00
Gregor Kleen
f6e7b3fe25 Include rating files again 2017-10-12 04:43:50 +02:00
Gregor Kleen
76c9e61167 Deletion within Submissions 2017-10-12 04:37:29 +02:00
Gregor Kleen
264ea52b58 Cleanup
Closes #14
2017-10-12 02:21:08 +02:00
Gregor Kleen
37a9836193 Submission Upload 2017-10-12 02:14:23 +02:00
Gregor Kleen
252168e61c Download ratings 2017-10-11 22:47:26 +02:00
Gregor Kleen
b552e2a0e3 Download of submission files (single & as archive) 2017-10-11 18:02:04 +02:00
SJost
68b3e578b4 Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2017-10-11 10:13:12 +02:00
SJost
70ad7474fe PostButton Helpers added to HomeR 2017-10-11 10:13:03 +02:00
Gregor Kleen
b514ee3c92 Minor cleanup 2017-10-11 00:29:31 +02:00
Gregor Kleen
845369a27a Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2017-10-11 00:18:15 +02:00
Gregor Kleen
f7f7c7c592 Dump submissions 2017-10-11 00:18:09 +02:00
SJost
a11c542d64 Registering for courses works now. 2017-10-11 00:11:04 +02:00
Gregor Kleen
11895f6709 Bump CryptoID 2017-10-11 00:00:20 +02:00
Gregor Kleen
6bb8f1b49e Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2017-10-10 19:21:02 +02:00
Gregor Kleen
28a65913cf Finish filtering of ratings from a stream of Files 2017-10-10 19:20:46 +02:00
SJost
2b78bce646 Temporary Homepage and Breadcrumbs working. 2017-10-10 18:35:43 +02:00
SJost
e85b130a0d Model changed according to discussion (compiles, but runs only after non-safe SQL migration) 2017-10-10 17:41:10 +02:00
SJost
586d411162 Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2017-10-10 14:46:24 +02:00
SJost
1fe7362a30 Course display etwas erweitert. 2017-10-10 14:46:20 +02:00
Gregor Kleen
9de9032916 Bind to cryptoids 2017-10-10 14:30:48 +02:00
Gregor Kleen
62c2320aef Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2017-10-10 12:37:30 +02:00
Gregor Kleen
9dfe26b6c9 minor cleanup 2017-10-10 12:37:24 +02:00
SJost
3fbeed2682 Warning: some routes renamed; otherwise minor commit. 2017-10-10 07:42:24 +02:00
SJost
77e7e77e74 Course editing works now, deletion not due to SQLconstraints (lecturers need deletion). 2017-10-10 00:24:25 +02:00
SJost
00c0e1fbfe Course Edit compiles, but deletion/edit does not work yet. I think I need to separate Post/Get Handlers again. 2017-10-09 23:54:14 +02:00
SJost
26efab4506 Course Edit compiles, but deletion/edit does not work yet. I think I need to separate Post/Get Handlers again. 2017-10-09 23:28:21 +02:00
Gregor Kleen
0a40a8bf70 extractRatings 2017-10-09 23:19:51 +02:00
Gregor Kleen
710fec9b18 Test for rating formatting/parsing 2017-10-09 22:57:06 +02:00
Gregor Kleen
57ee32cc9c Instances for Rating 2017-10-09 22:42:02 +02:00
Gregor Kleen
674a17acbe Formatting & parsing of rating files 2017-10-09 22:40:05 +02:00
SJost
b980bab1b1 Course Form works; display not yet. 2017-10-09 22:17:49 +02:00
Gregor Kleen
3cebf133bf Merge branch 'zip-stream' 2017-10-09 19:26:58 +02:00
Gregor Kleen
93b2c72a7b Move Zip to Utils 2017-10-09 19:00:39 +02:00
SJost
d10a629fa2 Term Handler cleaned again; small changes to Model (Maybe added for some Text Types, courseOwner dropped). 2017-10-09 16:16:00 +02:00
Gregor Kleen
332be4d9ce Switch Zip to work on 'File's 2017-10-09 16:08:02 +02:00
Gregor Kleen
5742d21406 Address date confusion 2017-10-09 14:07:27 +02:00
SJost
df1398f756 JSON for showTerms 2017-10-09 07:47:34 +02:00
SJost
98c945b443 Numbering for colonnade tables provided. 2017-10-08 21:05:55 +02:00
SJost
930a478ee3 TermTable properly realised with Colonnade now. Additional dependencies were required. 2017-10-08 19:57:08 +02:00
SJost
99edd912dc Multi-Field Form Validation added. 2017-10-08 17:04:43 +02:00
SJost
b472f2ca27 Generic form button utility 2017-10-08 10:31:15 +02:00
SJost
e6ee9070ea Model change: term aware of lecturing times now 2017-10-08 08:51:22 +02:00
SJost
6d1c3bad06 MultiButton: Term deletion working 2017-10-08 08:42:59 +02:00
SJost
34df734b5e Bootstrap changes, gGeneric Form refined, Basic Term Sanity Checks 2017-10-07 19:22:21 +02:00
SJost
1bca71b720 Ord TermIdentifier changed 2017-10-06 23:43:12 +02:00
SJost
a71c7326a8 DateTimeLocale added and used 2017-10-06 23:19:54 +02:00
SJost
40fab9a362 Term Handler moved to its own module 2017-10-06 22:22:30 +02:00
SJost
d9c6380807 Term editing required third route :( 2017-10-06 18:38:18 +02:00
SJost
a871725d9c Creating and editing terms: basic functionality, still bery ugly 2017-10-06 17:14:56 +02:00
SJost
6d3df4f30b Term creation half-ways, problems with Custom Primary key for Terms 2017-10-06 16:49:43 +02:00
SJost
fcec208936 termField stub created, needs to be moved to common utils 2017-10-06 11:22:43 +02:00
Gregor Kleen
88493d34a0 Bugfixes 2017-10-06 04:09:45 +02:00
Gregor Kleen
6c1afb6919 more detailed tests 2017-10-05 20:17:37 +02:00
Gregor Kleen
15bd70f10a Test suite for zip handling 2017-10-05 19:11:05 +02:00
Gregor Kleen
4191d65fc5 More polymorphism. 2017-10-05 14:13:51 +02:00
Gregor Kleen
0f0f77344f consumeZip 2017-10-05 14:10:32 +02:00
Gregor Kleen
104b3ad397 produceZip 2017-10-05 13:37:54 +02:00
SJost
7209b69859 new course handler stub 2017-10-04 23:20:26 +02:00
Gregor Kleen
bb2dbc3b79 Move files around 2017-10-04 13:59:49 +02:00
SJost
bb946e1b11 Initial PostgreSQL Template 2017-09-11 09:53:42 +02:00