Compare commits

...
Sign in to create a new pull request.

247 commits

Author SHA1 Message Date
1bd4541faa Remove custom syntax for text formatting 2019-04-13 19:18:32 +02:00
0a33e29e4f Use .gitignore file instead of .hgignore 2019-04-13 19:18:10 +02:00
81e5b72f3d Use user “questlab” in database scripts and configuration 2019-04-13 19:16:50 +02:00
coderkun
e62ca15a66 Update English translation 2016-10-31 22:05:16 +01:00
coderkun
9e5f595d5a Enable languages en_EN and pt_BR in application config 2016-10-31 22:00:58 +01:00
coderkun
6c8abc3033 Add en_EN translation 2016-10-31 22:00:37 +01:00
coderkun
c2aefefb7f Merge pull request #15 from gabrielssilva/pt_br
Add pt_BR translation
2016-10-31 21:58:32 +01:00
Gabriel Silva
e97123bc24 Adds pt_BR translation
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
2016-10-30 18:06:57 -03:00
coderkun
f8c5e2376a Update readme to properly mark Named Entities 2016-10-29 11:34:14 +02:00
coderkun
0f658ad96a Add readme with introduction text 2016-10-28 22:38:57 +02:00
oliver
dac75a7199 update translation 2016-10-28 21:52:43 +02:00
oliver
b925064d46 update header of source files with current year and new link 2016-10-28 21:43:18 +02:00
oliver
565a82326c set order to ascending for Character groups Quests 2016-06-28 10:40:45 +02:00
oliver
a36437e572 fix order of Character groups Quests (fixes #169) 2016-06-28 10:37:10 +02:00
oliver
8353cfc7d9 merge framework ?NRE? 2016-05-28 12:35:45 +02:00
oliver
16e5957854 fix some docstrings 2016-05-28 12:34:18 +02:00
oliver
63af0d0afa do not track generated documentation 2016-05-28 12:32:48 +02:00
oliver
7085de8fe2 fix many docstrings and their formatting 2016-05-28 12:30:53 +02:00
coderkun
7b44e19569 fix typos in some docstrings 2016-05-28 12:26:56 +02:00
oliver
e50c2bb5e6 do not use function boolval() to be compatible with PHP < 5.5 (fixes #163) 2016-04-23 14:32:22 +02:00
oliver
74e7ff5ac6 update translations 2016-04-17 14:41:16 +02:00
oliver
794462e3e9 questtype ?Submit?: use database transaction for adding terms 2016-04-17 14:35:45 +02:00
oliver
f4980652c2 do not use NumberFormatter for similarity values of questtype ?Submit? because it it broken 2016-04-16 21:11:42 +02:00
oliver
2b801227af questtype ?Multiple Choice?: escape content for text input fields 2016-04-16 18:23:41 +02:00
oliver
48c1f1c730 let Textile parser use unrestricted mode to allow HTML for formatted text 2016-04-16 18:23:08 +02:00
oliver
d8845371e6 fix permissions for Piwik plugins 2016-04-15 20:06:16 +02:00
oliver
9c9efafc65 do not reuse pointer (call-by-reference) $drag for editing task of questtype ?Drag&Drop? (fixs #160) 2016-04-15 18:56:58 +02:00
oliver
b8de91c048 don?t use array as class constant for mimetypes of questtype ?Submit? (fixes #161) 2016-04-15 18:03:07 +02:00
oliver
d885a4baa9 update Piwik to version 2.16 (fixes #91) 2016-04-10 18:55:57 +02:00
oliver
296343bf3b use anchor inside page to redirect to Character groups Quests on Character groups-group page 2016-04-10 14:41:16 +02:00
oliver
9c0b0d8d07 implement position for sorting of Character groups Quests (implements #157) 2016-04-10 14:28:22 +02:00
oliver
412326f69a set permissions for actions of CharactergroupsquestsController 2016-04-10 14:05:59 +02:00
oliver
814b88c787 fix handling of ?gender? during Character registration (fixes #154) 2016-04-10 12:42:06 +02:00
oliver
1925547cf4 merge branch ?submit-similarity? 2016-04-09 16:36:55 +02:00
oliver
7f97d4fb2d add Stored Procedure ?update_cache_characters_xplevels? to drop-script 2016-04-09 16:28:16 +02:00
oliver
59a3cba90e fix SQL-definer of Stored Procedure ?update_cache_characters_xplevels? 2016-04-09 16:23:48 +02:00
oliver
14e0e71011 use AppConfig instead of database table to configure mimetypes for questtype ?Submit? 2016-04-09 16:20:29 +02:00
oliver
4df159ba7e add docstrings to similarity methods 2016-04-09 15:57:11 +02:00
oliver
df14dfafc3 hide map for Character groups Quest Stations when there are no stations 2016-04-09 13:44:37 +02:00
oliver
53fda5caaf implement similarity algorithm for questtype ?Submit? 2016-04-09 13:21:23 +02:00
oliver
67f92d6174 fix check of Character groups-group title by using Seminary-ID (fixes #151) 2016-04-09 13:06:04 +02:00
oliver
4e7fdd973e fix condition for showing Achievments on Character groups-group page 2016-03-26 19:23:55 +01:00
oliver
699d1aaa84 redirect to overview instead of edit after creating a new Character title 2016-03-26 19:15:23 +01:00
oliver
74b093a61f add ?public? option for Character groups Quests (implements #146) 2016-03-26 19:15:02 +01:00
oliver
f876913ced fix formatting of some docstrings 2016-03-26 18:48:43 +01:00
oliver
bd29bcdd7c add routes for Character title pages 2016-03-26 18:48:27 +01:00
oliver
0ca2e3131f fix validation of Character?s gender 2016-03-26 18:41:00 +01:00
oliver
e5158e33d9 show title of Characters whereever their names appear 2016-03-26 18:40:45 +01:00
oliver
13ce3f3281 fix permissions of CharactertitlesController 2016-03-26 18:01:17 +01:00
oliver
7061a98f5b fix permissions of QrController 2016-03-26 18:01:08 +01:00
oliver
d3fae2e551 merge branch ?charactertitles? 2016-03-26 17:53:08 +01:00
oliver
0729c79a7d add notification for Character titles 2016-03-26 17:52:16 +01:00
oliver
f886d4139d update translations 2016-03-26 17:45:29 +01:00
oliver
eddc4036cf assign Character titles via QR-codes (implements #118) 2016-03-26 17:36:23 +01:00
oliver
40d2aa5768 fix label-tag for creating Character types 2016-03-26 17:06:42 +01:00
oliver
88954cd31e fix typo (missing ?s?) in CharactersModel 2016-03-26 17:06:11 +01:00
oliver
14b09065a2 implement CRUD for Character titles 2016-03-26 17:05:42 +01:00
oliver
ac0e5a32cb fix database keys for achievementconditions_qrcode.hash and characters.charactertitle_id 2016-03-26 16:21:12 +01:00
oliver
92ce598ad1 fix media config for Character groups quests 2016-03-26 16:12:31 +01:00
oliver
4aa2a379b0 fix a few docstrings and formattings 2016-03-26 16:12:11 +01:00
oliver
320a583753 add Character titles and let Characters choose gender and title 2016-03-26 15:46:37 +01:00
oliver
f70587db46 add Achievement condition ?qrcode? to import-script 2016-03-13 14:14:04 +01:00
oliver
4f544d5255 fix styling of rare Achievements 2016-03-12 19:22:25 +01:00
oliver
28c914a926 add Achievement condition ?qrcode? to trigger Achievements by scanning a QR-code (implements #126) 2016-03-12 19:19:20 +01:00
oliver
3939def456 add link to assign Character group Achievements manually (implements #125) 2016-03-12 17:28:37 +01:00
oliver
cff72efcb4 fix mimetypes for Achievement icons 2016-03-12 16:06:45 +01:00
oliver
e597142266 fix some permissions and their formatting 2016-03-12 16:06:27 +01:00
oliver
42e9b518d9 update translations 2016-03-12 16:05:25 +01:00
oliver
bdfd021673 add QR-codes for Character groups Achievements (implements #124) 2016-03-12 16:04:51 +01:00
oliver
dd2b15bbd7 add notification for Character groups Achievements 2016-03-12 16:04:01 +01:00
oliver
7c2b3111c2 include Character groups Achievements when copying Seminaries 2016-03-12 16:03:38 +01:00
oliver
e4f98c29d1 list Character groups Achievements for Character groups and groups-groups 2016-03-12 16:02:58 +01:00
oliver
73c378d9f3 add Agent for Character groups Achievements (implements #123) 2016-03-12 16:01:27 +01:00
oliver
bf0d324655 move method to create random hashes to Utils-class 2016-03-12 15:56:32 +01:00
oliver
60036ea794 update create script for last version of mysqldump 2016-03-06 11:47:22 +01:00
oliver
2c21c628ae add missing triggers to drop-script 2016-03-03 13:11:54 +01:00
oliver
cc3ad1be53 fix an exception variable 2016-02-27 20:00:40 +01:00
oliver
b6b2d40bd0 fix translation of Stationtype ?singlechoice? 2016-02-27 20:00:24 +01:00
oliver
676c2386fd use random hash strings for Station URLs 2016-02-27 19:59:59 +01:00
oliver
d1faa5b4b1 update translations 2016-02-27 19:06:11 +01:00
oliver
178361ef94 add Stationtype ?singlechoice? 2016-02-27 19:05:54 +01:00
oliver
0cfdaf8f49 fix status for Stationtype ?multiple choice? 2016-02-27 17:17:38 +01:00
oliver
e4b7980500 place wrong and right texts for Station tasks in boxes 2016-02-27 16:54:45 +01:00
oliver
b511a960c8 show submitted values for tried Station tasks 2016-02-27 16:54:27 +01:00
oliver
54ed53ac33 add Character group selector to Station pages and show groups? status 2016-02-27 16:07:25 +01:00
oliver
060282e9c0 add Icon to Station pages 2016-02-27 15:29:08 +01:00
oliver
6e1d1ede2a fix styling of Station images on Quest page 2016-02-27 15:14:22 +01:00
oliver
55dd05df3b show grayscaled image for entered Stations 2016-02-27 15:14:03 +01:00
oliver
da9095b89d change getMediaFile() of MediaController to allow multiple actions (resize and grayscale for now) 2016-02-27 15:12:20 +01:00
oliver
ef05402b16 update translations 2016-02-12 11:12:07 +01:00
oliver
ec7787c3e0 merge branch ?charactergroupsqueststations? 2016-02-12 11:06:06 +01:00
oliver
f53980f057 update database create-script 2016-02-12 11:05:10 +01:00
oliver
3fe164209b use Seminary location as default extent for Station locations (implements #134) 2016-02-12 11:02:50 +01:00
oliver
a4f443d87a add location to seminaries 2016-02-12 11:02:06 +01:00
oliver
880b91d5e6 fix formatting of MulitpleChoice tasks (fixes #137) 2016-02-12 10:28:24 +01:00
oliver
16f85f1006 fix typo in variable 2016-02-12 10:08:42 +01:00
oliver
14ea890c8b add selector which Character group to show for Stations (implements #133) 2016-02-12 09:57:11 +01:00
oliver
6f76c2a3dd show back-button for Stations also when their task is empty (implements #132) 2016-02-06 18:24:31 +01:00
oliver
f630b50027 show count of solved Stations only for admins and moderators (see #139) 2016-02-06 18:14:52 +01:00
oliver
011bae5cd8 fix translation of ?solved? literals for Stations 2016-02-02 12:02:38 +01:00
oliver
4f0c7e2fa8 hide Stations map if no station has been discovered yet 2016-02-02 12:02:11 +01:00
oliver
1b19187587 fix visibility of method getEnteredStationsForQuestAndGroup() 2016-02-02 12:01:39 +01:00
oliver
2e6315134f merge default branch 2016-02-02 10:49:51 +01:00
oliver
dce9963bdf remove GPS coordinates on Station page 2016-02-02 10:49:29 +01:00
oliver
dff5616da1 update translations (fixes #138) 2016-02-02 10:48:38 +01:00
oliver
76ba31c04e merge branch ?charactergroupsqueststations? 2016-02-02 10:38:52 +01:00
oliver
f0ea809813 add labels to Station map 2016-02-02 10:33:17 +01:00
oliver
03cc6a475b add count of Stations for each Character group (implements #139) 2016-02-02 10:02:17 +01:00
oliver
e3b1fa85b5 add back-button for solved Stations (implements #132) 2016-02-02 09:41:26 +01:00
oliver
877fe86f30 remove print_r() 2016-02-02 09:33:59 +01:00
oliver
87d70f70e2 add icon and date for wrongly solved Stations (fixes #131) 2016-02-02 09:31:56 +01:00
oliver
2904549a65 fix status icons for Stations (fixes #135) 2016-02-02 09:17:31 +01:00
oliver
cf21b6c1a0 Stationtype ?keyword?: check regex 2016-01-31 17:21:11 +01:00
oliver
813152b091 fix position of title for Stations 2016-01-31 17:20:41 +01:00
oliver
9f8d9fa05c correct paths and autoplay for Station media (fixes #130) 2016-01-30 21:35:03 +01:00
oliver
56627a5c1f remove some prints and useless comments 2016-01-30 21:32:38 +01:00
oliver
d84789dce7 merge branch ?charactergroupsqueststations? 2016-01-30 20:39:41 +01:00
oliver
40a233fa7d implement copying of Stations for Seminary copy feature 2016-01-30 20:15:13 +01:00
oliver
ba97244b15 merge branch ?charactergroupsqueststations? 2016-01-28 22:33:53 +01:00
oliver
5614b6c089 remove poster for videos for now 2016-01-24 19:37:06 +01:00
oliver
efd304833c add media to right/wrong text of Character group Quest Stations 2016-01-24 19:36:05 +01:00
oliver
2d65b2e4b0 set permissions for CRUD actions of Character groups Quest Stations 2016-01-22 20:55:15 +01:00
oliver
d5c68803f0 display icons for Character groups Quest Stations 2016-01-22 20:51:23 +01:00
oliver
538e1aa8b0 merge branch ?charactergroupsqueststations? 2016-01-15 23:01:30 +01:00
oliver
a27352cb66 add prolog to Character groups Quest Stations 2016-01-15 13:21:21 +01:00
oliver
476c18b6a9 fix labels and text editors for Quest creation 2016-01-15 12:33:07 +01:00
oliver
f91a24c46d correct a few docstrings and translation usages 2016-01-15 12:30:21 +01:00
oliver
457a382317 implement task editing for Stationtype ?multiplechoice? 2016-01-15 12:30:00 +01:00
oliver
a1e46ff2aa implement task editing for Stationtype ?keyword? 2016-01-15 12:29:32 +01:00
oliver
112c7d0b4f add editing of Character groups Quest Station tasks 2016-01-15 12:28:59 +01:00
oliver
b7ce9f09cd add map for creating and editing of Character groups Quest Stations 2016-01-15 10:26:17 +01:00
oliver
33e1c4d8b5 fix handling of null-values for coordinates of Character groups Quest Stations 2016-01-14 19:19:12 +01:00
oliver
e03dea0d80 add basic CRUD for Character groups Quest Stations 2016-01-14 19:04:56 +01:00
oliver
5f25a0a383 update import-script for recent changes including Stationtypes 2015-12-25 16:55:30 +01:00
oliver
939cf7b08e add QrAgent for short URLs used in QR codes 2015-12-25 16:44:47 +01:00
oliver
c424cfe30c integrate Character groups Quest Stations into Character groups Quests 2015-12-25 16:43:18 +01:00
oliver
a31252d81b add QrcodesAgent 2015-12-25 16:42:28 +01:00
oliver
d7095c005a add routes and config for Character groups Quest stations and Stationtypes 2015-12-25 16:40:12 +01:00
oliver
f779b22574 add CharactergroupsqueststationsAgent 2015-12-25 16:39:26 +01:00
oliver
f31032cbb2 add Stationtype ?multiplechoice? 2015-12-25 16:30:06 +01:00
oliver
cb2865c1d5 add Stationtype ?keyword? 2015-12-25 16:26:34 +01:00
oliver
08f83280f7 add database table for Stationtypes 2015-12-25 16:17:36 +01:00
oliver
ea0a283358 create abstract StationtypeAgent 2015-12-25 16:01:13 +01:00
oliver
54e36ff95c add library ?phpqrcode? to generate QR codes 2015-12-25 15:54:39 +01:00
oliver
a57be75415 update Font Awesome to version 4.4.0 2015-12-25 15:52:48 +01:00
oliver
26c6625d72 update OpenLayers to version 3.11.2 2015-12-25 15:51:58 +01:00
oliver
267029f17d correct list styling for formatted text 2015-10-31 17:19:28 +01:00
oliver
8c5c7e0b13 add additional pages and handle introduction page as ?system? page 2015-10-30 22:45:05 +01:00
oliver
02e7665fb7 add Questlab logo to menu 2015-10-30 20:37:03 +01:00
oliver
d990e08f49 add link for creating new Achievement to manage-page 2015-10-23 14:54:35 +02:00
oliver
5b68bab5d5 fix character cache updates when changing XP-levels 2015-10-23 13:17:00 +02:00
oliver
676137b956 correct Moodpic for Achievements (fixes #112) 2015-09-18 11:25:10 +02:00
coderkun
88f94709d1 translate some left metadata 2015-09-12 20:55:43 +02:00
coderkun
a95a948841 add compression for text-based mimetypes via Apache directive 2015-09-12 20:55:10 +02:00
coderkun
11261f0fe6 add caching information for Apache?s ?mod_expires? module for static files 2015-09-12 20:54:33 +02:00
oliver
96ea420e7f delete XP-levels in reverse order to handle levels correctly 2015-08-23 18:56:24 +02:00
oliver
f19a337efa fix ID for deleting Achievements 2015-08-23 18:55:10 +02:00
oliver
331cb22caf remove enclosing <p>-tags for Quest tasks 2015-08-21 10:43:17 +02:00
oliver
48e0445acd add image source for Quest images 2015-08-21 10:41:40 +02:00
oliver
5cd31ca82d update imagelightbox.js 2015-08-21 10:26:33 +02:00
oliver
21444a6047 1) move JavaScript-code to scripts.js
2) add image sources for Questtext images
2015-08-21 10:25:47 +02:00
oliver
443ddc343a simplify image sources 2015-08-21 10:19:52 +02:00
oliver
ca6af3fe92 improve image source label for Moodpics 2015-08-20 14:28:34 +02:00
oliver
fc587be483 correct DOM node list access 2015-08-20 13:56:19 +02:00
oliver
136afff5f1 fix some indentations 2015-08-20 13:24:53 +02:00
oliver
6f3a8339f8 fix redirect when cancelling Quest deletion 2015-08-20 13:24:42 +02:00
oliver
3ee63b6782 fix formatting of Quest texts 2015-08-20 13:23:52 +02:00
oliver
7cf35471aa fix formatting of links 2015-08-20 13:23:43 +02:00
oliver
b854554ed0 resize Quest images to the actually used size 2015-08-20 13:23:03 +02:00
oliver
5cb60679e0 add support for moodpic sources and revamp moodpic integration a little bit 2015-08-20 13:20:49 +02:00
oliver
41f3ee0349 Questtype ?chiceinput?: correct cascading of character choices 2015-08-19 22:24:22 +02:00
oliver
7ba9e2309f correct Questgroupshierarchy position when deleting Questgroups 2015-08-19 22:23:54 +02:00
oliver
3557ab7e33 update database create-script 2015-08-19 21:45:14 +02:00
oliver
f947a7a4df correct deletion of Questgroups 2015-08-19 21:44:54 +02:00
oliver
63a17ffc67 Questtype ?textinput?: correct two gettext-calls 2015-08-18 19:41:06 +02:00
oliver
a328e71613 Questtype ?textinput?: initialize list of fields if none has been entered 2015-08-18 19:11:49 +02:00
oliver
94d1821f79 correct indentation of some docstrings 2015-08-16 21:27:55 +02:00
oliver
60b7f12f79 implement clean deletion of Seminaries 2015-08-16 21:27:36 +02:00
oliver
4dca3e8089 merge framework 2015-08-10 20:30:58 +02:00
oliver
00fe33323f remove unused JavaScript files 2015-08-10 20:27:12 +02:00
oliver
d3e54c31c0 add database script for dropping triggers and procedures 2015-08-10 20:26:58 +02:00
coderkun
4beeac80ac change default log mode to AUTO 2015-08-10 20:24:52 +02:00
coderkun
ca03de048e detect localhost by HTTP_HOST instead of SERVER_ADDR 2015-08-10 20:21:30 +02:00
oliver
2e6aa4f6e9 replace remaining tabs with spaces 2015-07-27 15:31:42 +02:00
oliver
cdc2d2aee4 correct media validation for map image 2015-07-27 15:06:09 +02:00
oliver
a55b1bc887 correct validation handling for Quest texts 2015-07-27 15:05:27 +02:00
oliver
d94d2270b9 correct fieldset for user creation 2015-07-27 15:04:51 +02:00
oliver
7e7f9edff3 add MarkItUp editor for textareas with markup support 2015-07-27 15:02:32 +02:00
oliver
b11436b913 use HTML5 and Restricted mode of Textile parser 2015-07-27 14:56:47 +02:00
oliver
0e618b929d merge JavaScripts into one scripts-file 2015-07-27 14:55:53 +02:00
oliver
87baf8f052 correct checking of Achievements (fixes #107) 2015-07-14 16:01:40 +02:00
oliver
9a072b39c3 check Achievements when managing Charactergroups Quests 2015-05-22 14:24:08 +02:00
oliver
5d4e50318f check Achievements when managing Charactergroups 2015-05-22 14:23:31 +02:00
oliver
db60917439 move Achievement check to AchievementComponent 2015-05-22 14:22:36 +02:00
oliver
a8c97c6d8b implement loading models for Controller Components 2015-05-22 14:21:53 +02:00
coderkun
cf18f8b90c implement loading models for Controller Components 2015-05-22 12:59:52 +02:00
oliver
4f88edb9f2 update translations 2015-05-22 12:02:20 +02:00
oliver
8505c7b0cd set title for Map pages 2015-05-22 12:02:11 +02:00
oliver
6112da1571 always check permissions of previous Questgroup 2015-05-22 11:40:59 +02:00
oliver
7b27458321 check additional permissions of previous parent Questgroups for Questgroups and Quests 2015-05-22 11:34:16 +02:00
oliver
9c3369b324 reduce notification sound volume to 50% 2015-05-22 10:09:36 +02:00
oliver
47331d8181 remove empty-files 2015-05-19 15:07:57 +02:00
oliver
4fa73890d2 improve Moodpics by using a MoodpicAgent 2015-05-19 15:03:04 +02:00
oliver
9a02dec0cd correct moodpic for map pages 2015-05-19 13:34:45 +02:00
oliver
daf63951e0 set definer for database triggers 2015-05-19 12:24:24 +02:00
oliver
1e5602fc4c add routines to database create-script 2015-05-19 11:56:46 +02:00
oliver
85dc2f87ec correct database encoding to utf8mb4 and collation to utf8mb4_unicode_ci 2015-05-19 11:56:29 +02:00
oliver
324bc2fc19 set definer for database procedures 2015-05-19 11:55:35 +02:00
oliver
46722d0534 show map link to Seminary admins and moderators 2015-05-19 09:49:24 +02:00
oliver
bad67efeb9 delete map delete link (for now) 2015-05-19 09:46:57 +02:00
oliver
bcd5a6b8da correct check for notification sound 2015-05-17 20:54:00 +02:00
oliver
7d1cd83e3a make cleanup of media more robust 2015-05-17 20:53:43 +02:00
oliver
36cb0180cf hide map menu button if no map is set for the Seminary 2015-05-17 20:53:24 +02:00
oliver
1f1d91850e improve map implementation including edit functionality 2015-05-17 20:53:00 +02:00
oliver
d561cc78ed remove ?finally?-statement to support PHP < 5.5 2015-05-14 19:03:22 +02:00
oliver
77f846c92b hide notification sound element 2015-05-14 18:52:12 +02:00
coderkun
1ce1c18590 correct indentation of config-files 2015-04-26 10:51:42 +02:00
coderkun
a796249867 replace tabs with spaces 2015-04-25 16:22:31 +02:00
coderkun
655de39c6b make array of models to load unique 2015-04-25 14:10:52 +02:00
coderkun
68513e0a0a move PHPdoc configuration file to ?dist? version 2015-04-25 14:10:30 +02:00
coderkun
003bab0890 add RewriteBase to .htaccess files 2015-04-25 14:10:03 +02:00
coderkun
a4487a1028 add namespaces to docstrings 2015-04-25 14:09:46 +02:00
coderkun
a93ccec024 ignore generated documentation 2014-09-16 12:46:17 +02:00
coderkun
1c48c6d10a add PHPDoc configuration 2014-09-16 12:44:30 +02:00
coderkun
b8d4342926 correct typos in doc-tags and add missing tags 2014-09-16 12:42:19 +02:00
coderkun
bf679e9dec correct rewrite rule flags 2014-08-09 00:51:30 +02:00
coderkun
2c0f540f90 increase size of URL params 2014-08-09 00:40:27 +02:00
coderkun
4ee829ca3e ignore logs 2014-08-09 00:38:22 +02:00
coderkun
fa8b0cadcd improve Linker 2014-08-09 00:37:25 +02:00
coderkun
32af66a3e7 correct string comparison for layout 2014-08-09 00:36:55 +02:00
coderkun
6a5f3739cc also load Components of parent classes 2014-08-09 00:36:17 +02:00
coderkun
200b1fe937 change visibility of some properties and methods of core classes from private to protected 2014-08-09 00:35:32 +02:00
coderkun
d746b62308 add method to get current IntermediateAgent from ToplevelAgent() 2014-08-09 00:33:58 +02:00
coderkun
12ae8b180e add IPv6 support 2014-08-09 00:33:11 +02:00
coderkun
fdb115083e add support for Apache 2.4 2014-08-09 00:30:45 +02:00
coderkun
0a45d90ba1 disable auto logging to screen for AJAX-requests 2013-10-30 12:17:07 +01:00
coderkun
d9d85e2306 detect AJAX request and set layout automatically 2013-10-30 12:16:39 +01:00
coderkun
cc4bcac7f8 add IdNotFoundException 2013-09-22 21:49:07 +02:00
coderkun
8508390c27 extend request parameter handling 2013-09-22 21:48:56 +02:00
coderkun
996a501f4f add access-properties 2013-09-22 21:48:36 +02:00
coderkun
53d684d151 implement Components 2013-09-22 21:46:41 +02:00
coderkun
961c869c30 implement drivers as Singleton 2013-09-22 21:44:54 +02:00
coderkun
604e7c9bba load Models defined in parent classes 2013-09-22 21:43:17 +02:00
coderkun
23346a78b5 correct trifles 2013-09-22 21:41:38 +02:00
coderkun
1779c38218 correct namespaces 2013-09-22 21:39:53 +02:00
coderkun
7348ca080c correct namespaces 2013-08-27 14:24:31 +02:00
coderkun
b392eb9188 current state as framework 2013-08-09 02:41:06 +02:00
6883 changed files with 463635 additions and 802273 deletions

9
.gitignore vendored Normal file
View file

@ -0,0 +1,9 @@
/doc/
/logs/
/media/
/tmp/
/uploads/
/seminarymedia/
/seminaryuploads/
/www/analytics/tmp/
/app/lib/phpqrcode/cache/

View file

@ -1,9 +0,0 @@
syntax: regexp
^logs/*
^media/*
^tmp/*
^uploads/*
^seminarymedia/*
^seminaryuploads/*
^www/analytics/config/config.ini.php*
^www/analytics/temp/*

View file

@ -4,6 +4,8 @@ ErrorDocument 403 /www/error403.html
ErrorDocument 404 /www/error404.html
ErrorDocument 500 /www/error500.html
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript text/javascript
<IfModule mod_authz_core.c>

13
README.md Normal file
View file

@ -0,0 +1,13 @@
# Questlab
Questlab is a web application that allows anyone to rework learning content in a game-based manner. For this purpose the application provides a set of game elements and game mechanics which can be configured to be suitable for a specific content. Thus an interactive learning environment will be created which engages the users intrinsic motivation.
The project was founded in 2013, supported by the promotion fund of the [Heinrich-Heine University Düsseldorf](https://www.uni-duesseldorf.de) (Germany), under the name <i>Die Legende von Zyren</i> (eng: <i>The Legend of Zyren</i>). The goal was to impart the learning content of the course <i>Wissensrepräsentation</i> (eng: <i>Knowledge Representation</i>) with game elements and game models to the students of Information Science. This innovative learning environment consisted of a virtual text-based adventure which was accessible via a web-based platform and non-virtual games in class in which the students dived into the adventure and competed in teams against each other.
To generalise the concept and to make it available to other faculties and courses, the project <i>Questlab</i> (working title: <i>The Legendof Z</i>) was started in 2014. Teachers are able to use the application to create their own tasks (Quests) and to embed these into a story designed by them. Furthermore, a Responsive Design has been added and provides best access from all mobile devices.
## Team
* Kathrin Knautz (project management)
* Oliver Hanraths (implementation)
* Daniel Miskovic (user interface)

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\bottomlevel;

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\bottomlevel;

View file

@ -0,0 +1,38 @@
<?php
/**
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\bottomlevel;
/**
* Agent to display a Moodpic.
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
*/
class MoodpicAgent extends \nre\agents\BottomlevelAgent
{
/**
* Action: index.
*
* @param \nre\core\Request $request Current request
* @param \nre\core\Response $response Current response
*/
public function index(\nre\core\Request $request, \nre\core\Response $response)
{
}
}
?>

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\bottomlevel;

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\bottomlevel;

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\bottomlevel;

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\bottomlevel;

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\intermediate;
@ -31,6 +31,73 @@
*/
public function index(\nre\core\Request $request, \nre\core\Response $response)
{
// Add Moodpic
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3), $request->getParam(1));
}
/**
* Action: create.
*
* @param \nre\core\Request $request Current request
* @param \nre\core\Response $response Current response
*/
public function create(\nre\core\Request $request, \nre\core\Response $response)
{
// Add Moodpic
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3), $request->getParam(1));
}
/**
* Action: edit.
*
* @param \nre\core\Request $request Current request
* @param \nre\core\Response $response Current response
*/
public function edit(\nre\core\Request $request, \nre\core\Response $response)
{
// Add Moodpic
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3), $request->getParam(1));
}
/**
* Action: manage.
*
* @param \nre\core\Request $request Current request
* @param \nre\core\Response $response Current response
*/
public function manage(\nre\core\Request $request, \nre\core\Response $response)
{
// Add Moodpic
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3), $request->getParam(1));
}
/**
* Action: conditions.
*
* @param \nre\core\Request $request Current request
* @param \nre\core\Response $response Current response
*/
public function conditions(\nre\core\Request $request, \nre\core\Response $response)
{
// Add Moodpic
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3));
}
/**
* Action: delete.
*
* @param \nre\core\Request $request Current request
* @param \nre\core\Response $response Current response
*/
public function delete(\nre\core\Request $request, \nre\core\Response $response)
{
// Add Moodpic
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3), $request->getParam(1));
}
}

View file

@ -1,12 +1,12 @@
<?php
/**
* The Legend of Z
* Questlab
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
* @copyright 2014 2016 Heinrich-Heine-Universität Düsseldorf
* @license http://www.gnu.org/licenses/gpl.html
* @link https://bitbucket.org/coderkun/the-legend-of-z
* @link https://github.com/coderkun/questlab
*/
namespace hhu\z\agents\intermediate;
@ -14,7 +14,7 @@
/**
* Agent to display Character groups.
*
*
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
*/
class CharactergroupsAgent extends \nre\agents\IntermediateAgent
@ -25,12 +25,131 @@
/**
* Action: index.
*
*
* @param \nre\core\Request $request Current request
* @param \nre\core\Response $response Current response