Commit Graph

79 Commits

Author SHA1 Message Date
Paolo 6b17dbca52 - Removed tests/codeception/_data/dump.sql
- Changed phpci.yml to make php_parallel_lint a blocking test
- Changed phpci.yml to configure the rules used by php mess detector
- Changed phpci.yml added allowed_warnings: -1 to php_code_sniffer
2019-06-05 11:19:05 +02:00
Andreas Österreicher 1e4fc86be5 Fixed Broken Unit Tests 2018-02-16 11:43:59 +01:00
Andreas Österreicher 78df57044e Resturlaubstage, Mehrarbeitsstunden und Urlaubsanspruch pro Jahr
entfernt. Diese können bei Mitarbeitern jetzt nicht mehr verwaltet
werden
2018-01-18 09:01:49 +01:00
Andreas Oesterreicher 42960ffe20 Moodle-Integration aus FHComplete Core entfernt und in eigenes Addon
ausgelagert.
Support für Moodle 1.9 entfernt
2017-08-02 14:05:31 +02:00
bison-paolo 9723ee54d2 phpci 2016-11-29 17:54:22 +01:00
bison-paolo 4cc21c715a phpci 2016-11-29 17:44:29 +01:00
bison-paolo 7398645038 phpci 2016-11-29 17:39:25 +01:00
bison-paolo 65888879d1 phpci 2016-11-29 17:31:51 +01:00
bison-paolo f7d1d96875 phpci 2016-11-29 16:39:51 +01:00
bison-paolo a9ceaf3c56 phpci 2016-11-29 16:28:26 +01:00
bison-paolo 2c1d29e0ba phpci 2016-11-29 14:57:50 +01:00
bison-paolo c33871ec2d phpC(d)I 2016-11-23 15:25:07 +01:00
bison-paolo d96a0e98d5 - Fixed codeception test
- Updated the api test suite
- Added the script generate.php to automatically generate the test cases
for the controllers
2016-11-23 15:09:10 +01:00
oesi 68a696cdc8 Merge branch 'master' into ci
Conflicts:
	cis/testtool/admin/add_gebiet.php
	cis/testtool/admin/edit_gebiet.php
	cis/testtool/admin/index.php
	config/global.config-default.inc.php
	content/student/studentDBDML.php
	content/student/studentdetailoverlay.xul.php
	include/ablauf.class.php
	include/frage.class.php
	include/organisationseinheit.class.php
	include/studiengang.class.php
	include/vorschlag.class.php
	phpci.yml
	rdf/student.rdf.php
	system/dbupdate_3.2.php
	tests/codeception/_support/AcceptanceTester.php
	tests/codeception/_support/BasisKlasseTest.php
	tests/codeception/_support/FunctionalTester.php
	tests/codeception/_support/UnitTester.php
	tests/codeception/_support/_generated/AcceptanceTesterActions.php
	tests/codeception/acceptance/AcceptanceTester.php
	tests/codeception/acceptance/CISLoginPageCept.php
	tests/codeception/acceptance/_bootstrap.php
	tests/codeception/codeception.dist.yml
	tests/codeception/functional/FunctionalTester.php
	tests/codeception/functional/_bootstrap.php
	tests/codeception/tests/acceptance.suite.dist.yml
	tests/codeception/tests/acceptance/CISLoginPage.php
	tests/codeception/tests/acceptance/CISLoginPageCept.php
	tests/codeception/tests/api/_bootstrap.php
	tests/codeception/tests/functional/FunctionalTester.php
	tests/codeception/tests/functional/_bootstrap.php
	tests/codeception/tests/unit/BasisKlasseTest.php
	tests/codeception/tests/unit/UnitTester.php
	tests/codeception/unit/BasisKlasseTest.php
	tests/codeception/unit/UnitTester.php
2016-11-22 13:58:29 +01:00
bison-paolo 2a0cd525dd - Updated codeception test cases
- Fixed controllers
- Removed unused controller Thread
2016-11-15 17:00:01 +01:00
bison-paolo bc8ecf5569 Wrong api.suite.dist.yml 2016-10-20 16:47:51 +02:00
bison-paolo 5087826891 - phpC(d)I
- Renamed method chkRights to _isEntitled in model DB_Model
- Updated models where it was needed
2016-10-20 16:37:52 +02:00
kindlm 70fd4a4dea phpC(d)I 2016-09-30 16:32:57 +02:00
bison-paolo 7346fcf7ec Permissions for test user 2016-09-30 11:52:19 +02:00
paolo 527a627574 Removed var_dumps from library REST_Controller 2016-08-04 14:53:32 +02:00
paolo c8f9980c5a Codeception fixes 2016-08-03 10:42:03 +02:00
paolo 2d8f7fcac3 Codeception workaround 2016-08-03 09:57:24 +02:00
paolo 65aa2b5d29 - Added codeception test for PCRM
- Fixes and improvements for PCRMLib
2016-08-01 16:18:38 +02:00
paolo fd826ae1fe Extended codeception tests 2016-07-27 19:09:42 +02:00
paolo 88a395b31e Bug fixes 2016-07-25 19:27:04 +02:00
paolo d0d9b897eb Created all basic test cases for codeception 2016-07-25 17:21:39 +02:00
paolo d6ab664a33 - phpC(dis)I fixes IV 2016-07-11 18:31:11 +02:00
paolo 9756ce6b14 - phpC(dis)I fixes III 2016-07-11 18:23:59 +02:00
paolo bc331e10ad - phpC(dis)I fixes II 2016-07-11 17:18:49 +02:00
paolo d58ba92b15 - phpC(dis)I fixes 2016-07-11 13:35:12 +02:00
paolo 8fbc64bbff - Try to fix problems with phpC(dis)I
- Changed permissions in dump.sql
2016-07-07 17:15:30 +02:00
paolo 61a559d380 Changed permission basis/phrase to system/phrase 2016-07-06 10:13:43 +02:00
paolo a3210781ea - Added permission system/vorlagestudiengang to dump.sql
- Added method getMessagesByToken to controller Message
- Library MessageLib now load the helper fhc_helper
- Added new method getMessagesByToken to library MessageLib
- Added field relationmessage_id to methods sendMessage and sendMessageVorlage
- Method sendMessageVorlage now checks if the text and the subject for
the template are not empty
- Method sendMessageVorlage now saves the token automatically generated
- Method sendMessageVorlage now return a more comprehensive error message
- Method getMessagesByPerson of Message_model now checks for the right permissions
- Added fields relationmessage_id and person_id in getMessagesByPerson query
- Added method getMessagesByToken to model Message_model
2016-06-29 15:41:40 +02:00
paolo 9a4f5480c4 - Added permission basis/phrase to dump.sql
- The function getAuthUID() present in the helper fhcauth_helper.php
now tries to work always with CI session to get the uid
- REST_controller doesn't need anymore to handle the uid
- FHC_Controller and FHC_Model load fhcauth_helper in their constructor,
so any class that extends them now could call the function getAuthUID()
anywhere in the code
- The controllers don't need anymore to pass the uid to the models or to the
libraries
- Library FHC_DB_ACL load fhcauth_helper in its constructor and uses getAuthID()
2016-06-24 13:22:27 +02:00
paolo 5a5472257a - Modified MessageLib constructor to allow to give the parameter UID from a Controller
- Controller Message now works with MessageLib
- Added getMessagesByPersonID method to controller Message
- Added permissions basis/message and fs/system to dump.sql
2016-06-21 15:07:51 +02:00
paolo 5a5a22e0d5 - Removed body tag from footer.php and header.php
- Added permission fs/dms to dump.sql and fhcomplete.php
- Added FilesystemLib to read and write from/in filesystem
- Added FS_Model to manage filesystem with the same permission system of DB_Model
- Added more models to handle the Dms
- Modified Dms controller to use the new models
2016-06-21 11:10:55 +02:00
paolo 0dc605df3c - Modified FHC_Model, now it is saving uid in CI session
- Added codeception tests
- Added statistik to dump.sql
- Moved old libraries to CI
2016-06-06 16:36:23 +02:00
paolo dabcf8188b - Modified FHC_Model contructor to get UID from vilesci authentication
- Copied functionalities from old libraries to controllers
- Ported old libraries to CI
- Modified codeception
2016-06-03 16:19:06 +02:00
paolo 00211ee647 - Added codeception test cases
- Moved old libraries to CI
2016-05-25 18:36:18 +02:00
paolo 4f8826dc3f Merge origin/ci into ci
Conflicts:
	application/controllers/api/v1/crm/Prestudentstatus.php
2016-05-24 12:32:32 +02:00
paolo c6efbac308 - Added permission "basis/dms_version" for table campus.tbl_dms_version
- Added dms functionalities to relative controller and model
2016-05-23 15:34:59 +02:00
paolo a34f82fd3c - Added permission "basis/studienplan_semester" for table lehre.tbl_studienplan_semester
- Added method getStudienplaeneFromSem in controller Studienplan
- Added method getNextStudiensemester in controller Studiensemester
2016-05-23 10:32:21 +02:00
paolo cd10d96c91 - Added permissions and linked them to user admin in dump.sql
- Modified validate methods to public for classes benutzer, student and mitarbeiter
2016-05-20 12:09:18 +02:00
paolo e5554ad1ba Merge origin/ci into ci 2016-05-20 11:05:12 +02:00
paolo ffac4458ef Added permissions for user amdin in the DB 2016-05-20 11:04:51 +02:00
paolo 3c6638fac6 Added permissions for user amdin in the DB 2016-05-20 11:01:52 +02:00
Paminger d4994c95e9 New Build Folder 2016-05-20 10:38:28 +02:00
paolo 32acc8a414 Fixed controllers parameters names and number 2016-05-19 15:51:15 +02:00
paolo 674e832392 disContinuous disIntegration 2016-05-18 16:09:47 +02:00
paolo f76b83ef64 - Fixed include of ci_db_extra.php in ci_hack.php
- Added delete for table public.tbl_preinteressent in dump.sql
2016-05-12 16:55:21 +02:00