Commit Graph

679 Commits

Author SHA1 Message Date
Gregor Kleen
431eb45a94 Log to file during tests 2018-11-27 19:11:28 +01:00
Gregor Kleen
52467723b8 Cleanup fuzzy pseudonym handling 2018-11-26 17:24:19 +01:00
Gregor Kleen
52e99bae53 Fix #232 2018-11-24 21:50:04 +01:00
Gregor Kleen
c26897847c Show SheetSubmissionMode & cleanup 2018-11-19 13:53:05 +01:00
Gregor Kleen
a634aca98a Fix tags 2018-11-14 17:08:52 +01:00
Gregor Kleen
4697efab5f Overhaul auth-predicates 2018-11-14 14:20:32 +01:00
SJost
7bc72505a4 Ratings are now validated, some refactoring 2018-11-09 13:59:14 +01:00
Gregor Kleen
455a239c8c Merge branch 'master' into tests 2018-11-02 14:24:20 +01:00
Gregor Kleen
e5d3213efb Fix some hlint 2018-11-02 00:25:44 +01:00
Gregor Kleen
9ccc2e3149 Fix warnings 2018-11-01 22:06:00 +01:00
SJost
af77f1cab3 Fixes #222. Fixes #213. Bug with Summary-Display (not summing up properly). 2018-11-01 16:04:46 +01:00
Gregor Kleen
3d91e0fabd Setup hlint & yesod 2018-10-31 23:55:29 +01:00
SJost
d6ef0c1b65 Tooltips clarifying sheetTypes and sheetGrading at sheet creation 2018-10-31 17:07:19 +01:00
SJost
9d71dd7d9a Fixes #213 2018-10-31 12:26:47 +01:00
SJost
db18b4bdba Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX into sheet-type 2018-10-31 09:45:32 +01:00
SJost
1b021259cc SheetType refactoring (Halfway only) 2018-10-31 09:44:40 +01:00
Gregor Kleen
eff7875c1c Cleanup language extensions 2018-10-28 19:11:40 +01:00
SJost
584fc4558e Notification Corrections assigned added 2018-10-24 16:44:39 +02:00
SJost
3b96d96838 NotificationSheetInactive 2018-10-24 14:59:46 +02:00
SJost
adde4ccdf6 Bugfix: delete user cd /home/jost/programming/Haskell/Yesod/uniworx/templates 2018-10-17 18:07:04 +02:00
Gregor Kleen
b89dd09a94 NTSheetInactive should default to False 2018-10-17 09:47:54 +02:00
Gregor Kleen
f07ad82c1d Pseudonym submission creation 2018-10-15 15:02:44 +02:00
Gregor Kleen
2d90eef867 Fix build & cleanup 2018-10-15 09:19:08 +02:00
Gregor Kleen
1f32f638f0 Fix pseudonym coding & new wordlist 2018-10-15 09:06:41 +02:00
Gregor Kleen
8e28c397fd Return existing in SPseudonymR 2018-10-15 08:44:12 +02:00
Gregor Kleen
4266683b15 Fix pseudonym generation 2018-10-15 02:15:46 +02:00
Gregor Kleen
788b53946a SheetSubmissionMode & generate pseudonyms 2018-10-15 01:04:49 +02:00
Gregor Kleen
99c53fee73 Cronjobs & notifications for sheet active/inactive 2018-10-13 15:41:02 +02:00
Gregor Kleen
d743fd6536 Time formatting in emails 2018-10-12 19:40:52 +02:00
Gregor Kleen
f98939885b Wire in NotificationSubmissionRated 2018-10-11 21:44:58 +02:00
Gregor Kleen
20db862f53 Cleanup & worker pool 2018-10-10 12:18:22 +02:00
Gregor Kleen
4598b38242 Cron 2018-10-09 20:07:50 +02:00
Gregor Kleen
74222dbcc8 Framework for email-test 2018-10-04 14:53:36 +02:00
Gregor Kleen
b7771137a5 Monadic construction of mime emails 2018-10-03 17:27:31 +02:00
Gregor Kleen
fb52db33a1 Cleanup 2018-10-01 19:21:45 +02:00
Gregor Kleen
a63e59d5a3 Merge branch 'master' into feat/jobs 2018-10-01 13:17:37 +02:00
Gregor Kleen
7bafd767dd Merge branch 'master' of gitlab.cip.ifi.lmu.de:jost/UniWorX 2018-09-28 21:34:07 +02:00
Gregor Kleen
857dc92ca2 Overhaul authentication
Fixes #186
2018-09-28 21:27:19 +02:00
SJost
66ab0f9be6 Major contributions towards #189 and #194 2018-09-28 17:22:22 +02:00
SJost
43598d05c4 Fixes #190, except for manipualted post-data (ok) 2018-09-21 16:29:26 +02:00
SJost
a20ff1468e First part of issue #187 implemented. 2018-09-20 16:49:19 +02:00
Gregor Kleen
899741bb41 Add UploadMode to Sheet
Fixes #181
2018-09-18 20:43:32 +02:00
SJost
7c0c70f241 users have surnames now! 2018-09-18 16:04:21 +02:00
SJost
4234824f20 Minor code cleaning cd /home/jost/programming/Haskell/Yesod/uniworx/templates 2018-09-18 15:08:21 +02:00
SJost
c684692cc2 Fixes unformatted UTCTime displays; DisplayAble no longer available for all Show Types 2018-09-17 15:35:14 +02:00
Gregor Kleen
66dbad9b72 Experimental: don't try to marshal if we don't care
Also explicitly test migration during deployment
2018-09-06 15:31:28 +02:00
Gregor Kleen
3bfae5d3c6 Experimental: fewer quotes 2018-09-06 15:20:57 +02:00
Gregor Kleen
fadd7c4d88 Experimental: better quoting 2018-09-06 14:58:58 +02:00
Gregor Kleen
e32ad38fb9 Experimental: try more quoting 2018-09-06 14:57:42 +02:00
SJost
e971432cd7 Migration fix attempt 2018-09-06 14:13:42 +02:00
SJost
5feb6ff0f6 BUGFIX: schoolField working after SchoolId refactoring 2018-09-06 13:29:25 +02:00
Gregor Kleen
f22a95d3be cleanup 2018-08-29 15:25:25 +02:00
Gregor Kleen
5b9bb68011 Handle parametrized types in derivePersistFieldJSON 2018-08-29 13:57:53 +02:00
Gregor Kleen
7dedd8d501 Double quotes in migration 2018-08-29 12:52:17 +02:00
Gregor Kleen
b0cabdac15 Quotes in tableExists for Migration 2018-08-29 10:57:08 +02:00
SJost
f1f80bf814 SchoolId change to Shorthand completed 2018-08-29 09:47:10 +02:00
SJost
41e52609c5 minor 2018-08-28 15:19:16 +02:00
SJost
479601a8cf Remove/recreate constrainsts, BUT sql type conversion has a syntax error that I don't understand 2018-08-24 10:22:41 +02:00
SJost
d53c877802 Migration for schoolId works manually, but not automatically :( 2018-08-23 20:01:51 +02:00
SJost
a4dacc8d01 Halfway through with #162, still todo 2018-08-21 13:34:32 +02:00
Gregor Kleen
508ed2ecd9 More sophisticated submission distribution
Fixes #77
2018-08-17 16:57:57 +02:00
Gregor Kleen
7686996214 Cleanup 2018-08-16 13:00:03 +02:00
Gregor Kleen
13cc4195c8 Fix database migrations for empty db
Fixes #159
2018-08-14 20:35:18 +02:00
Gregor Kleen
7671d68592 Better database encoding of JSON values 2018-08-13 14:46:08 +02:00
Gregor Kleen
adf98bf35a Simplify format of UserTheme 2018-08-13 14:21:27 +02:00
Gregor Kleen
264ad01d8f Introduce database versioning
Fixes #120
2018-08-13 14:13:38 +02:00
Gregor Kleen
28c7afe69c Cleanup Theme declaration 2018-08-06 22:16:33 +02:00
Gregor Kleen
d2242f21ff Always form a monoidal sum during a run of dbTable
Fixes #142
2018-08-06 17:39:31 +02:00
SJost
85b57654a5 Statistik für Übungsblätter 2018-08-01 18:37:29 +02:00
Gregor Kleen
534c7183ff Two-digit years 2018-07-30 23:29:58 +02:00
Gregor Kleen
51c04aec20 Make a bunch of things case insensitive in database
Fixes #96

Might require manual database migration
2018-07-22 18:49:39 +02:00
SJost
ea118d3713 Refactor fileIdTables done 2018-07-21 13:05:45 +02:00
Gregor Kleen
03a785abc2 Fix PathPiece for ZIPArchiveName & submission original archive link 2018-07-10 13:47:02 +02:00
Gregor Kleen
2882b02214 Split DateTimeFormat up into three fields 2018-07-10 10:51:31 +02:00
Gregor Kleen
239c96d907 Timezones, date formatting & minor cleanup 2018-07-09 23:07:26 +02:00
Gregor Kleen
acd100bca7 PWFile auth-plugin 2018-07-04 11:35:30 +02:00
Gregor Kleen
3f5fab8d2f Permit downloading original archives 2018-07-03 17:18:28 +02:00
SJost
aeeacb3bfb Bugfix: Sheet Edit Button and some Page Headings 2018-07-03 16:50:03 +02:00
Gregor Kleen
1d49244d63 Merge branch 'master' into feat/corrections-upload 2018-07-01 18:49:36 +02:00
SJost
12e52becbd Minor fixes. 2018-07-01 14:14:15 +02:00
Felix Hamann
583025135c mint-green is now moss-green and resonsive-fixes 2018-07-01 12:31:37 +02:00
Felix Hamann
f1806ffed2 live-preview of selected theme on profile-page 2018-07-01 09:43:44 +02:00
Gregor Kleen
c72b9ef385 Hierarchical submission routes 2018-07-01 00:23:38 +02:00
Gregor Kleen
60b250f5b3 Merge branch 'master' into feat/pagination 2018-06-30 18:54:19 +02:00
SJost
d240c0f680 Renamed to: Uni2work 2018-06-30 13:16:38 +02:00
SJost
14d37203f8 Breadcrumbs and Headings fixed 2018-06-29 18:28:41 +02:00
Gregor Kleen
d33956dfaa Fix database representation of term for correct sorting 2018-06-29 16:13:36 +02:00
Gregor Kleen
6e0558d094 Merge branch 'master' into feat/assign-correctors 2018-06-29 10:51:56 +02:00
SJost
2525ad553f Themes and Favorites work now, but need reload or page change. 2018-06-26 14:00:41 +02:00
SJost
5ff0a3524d Profile prepared for Theme selection (incomplete, but compiles) 2018-06-26 11:04:59 +02:00
SJost
07c44c966b BUGFIX: Exercise had no VisibleFrom Date defaultet to always False, now True if ActiveFrom time has been reached. 2018-06-21 16:46:43 +02:00
SJost
61161b0a29 RenderMessage & Display instanzen für SheetFileType 2018-06-21 11:22:14 +02:00
SJost
5cc3920059 DisplayAble vs Show for Theme completed. 2018-06-20 22:58:12 +02:00
SJost
b5e849af64 Show Lecture/Corrector associations on profile page 2018-06-20 15:09:44 +02:00
SJost
f4dcd00669 Theme is now read from Database 2018-06-19 11:40:25 +02:00
SJost
f936453204 Minor refactor among utility modules 2018-06-19 11:05:02 +02:00
SJost
171f62ad8a Theme Datatype complete 2018-06-19 10:09:37 +02:00
SJost
cc9d0a7b9a ThemeDatatype plus TemplateHaskell Show implemented 2018-06-19 09:30:37 +02:00
Gregor Kleen
9260024676 Replace SheetCorrectors 2018-05-28 16:41:47 +02:00
Gregor Kleen
ead6aacfc2 Monoid-instance for Load 2018-05-17 14:14:00 +02:00
SJost
e4c0913c12 datatype Load refactored as discussed 2018-05-04 18:12:54 +02:00
Gregor Kleen
544eadca85 Fix DB interaction 2018-04-29 14:34:06 +02:00
Gregor Kleen
93c96ae620 Framework for Notifications 2018-04-29 13:55:09 +02:00
SJost
071e8c2de1 assignment of submissions halfway done 2018-04-26 14:16:22 +02:00
SJost
fcd6703752 Group Submissions mostly done, NOT COMPILING 2018-04-11 13:12:49 +02:00
SJost
a544c61be2 Submission upload (Sitzung mit Gregor) 2018-04-10 12:50:20 +02:00
Gregor Kleen
3d98fe4736 Refactor utils 2018-04-03 17:56:55 +02:00
SJost
5f6640148c Hierarchical Routes 2018-03-22 16:04:38 +01:00
SJost
d881f18352 Datenschutznotizen & Load -> Rational 2018-03-21 09:59:18 +01:00
SJost
037c0cce20 Sheet editing working, except for files 2018-03-16 18:52:32 +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
8247c6c6d4 Fixes to Course New/Edit handling. Update not yet working! 2018-03-14 18:34:42 +01:00
Gregor Kleen
2fa247826f Add support for internationalization 2018-02-21 13:19:27 +01:00
SJost
499315432a SheetFile Up/Download added 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
272bc7f6c5 schoolField & termField in Utils 2018-02-19 16:54:10 +01:00
Gregor Kleen
0293363e13 Copy more information from LDAP on login 2017-11-26 21:59:47 +01: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
Gregor Kleen
59f4c0c74a Unify sheet type with grading schema 2017-10-09 19:46:45 +02:00
Gregor Kleen
3cebf133bf Merge branch 'zip-stream' 2017-10-09 19:26:58 +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
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
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
1877fb81b4 Structured TermIdentifier & tests for it 2017-10-04 16:20:29 +02:00
Gregor Kleen
bb2dbc3b79 Move files around 2017-10-04 13:59:49 +02:00