Commit Graph

219 Commits

Author SHA1 Message Date
Paolo 0f798faab5 - Removed navigation left menu entry for page system/infocenter/InfoCenter/showDetails from navigation config
- Changed URI of path from system/infocenter/InfoCenter/infocenterFreigegeben to system/infocenter/InfoCenter/freigegeben in navigation config
- Moved the logic from Navigation controller to NavigationLib
- Added private method _loadNavigationLib to Navigation controller to load the NavigationLib with parameters
- Navigation controller now extends FHC_Controller
- Added NavigationLib to collect all the logic used by the NavigationWidget components
- Remove the handle of the fhc_controller_id from the NavigationWidget.js
- NavigationWidget.js now uses better tools that came from the AjaxLib
- Adapted InfoCenter controller to work with the new tools from NavigationWidget
- infocenterPersonDataset.js->refreshSideMenu now uses the parameter navigation_page in the ajax call
- Renamed InfoCenter controller method from infocenterFreigegeben to freigegeben
- Now methods index, freigegeben and showDetails generates their own left menu
- showDetails generate a left menu based on the origin page (index or freigegeben)
- freigegeben uses its own filters now
- Added view infocenterFreigegebenData.php
2018-06-14 18:36:21 +02:00
Paolo 8837083f10 - Added helper session_helper to add utility functions to manage the php session
- Adapted the library FiltersLib to use the session_helper
2018-06-14 16:59:14 +02:00
Paolo 2cbda912e3 - FiltersLib bugfix: now method generateDatasetQuery always build a query with no filters (no where clause) if the filters array is empty
- Added comments to Filters_model methods
- Removed method deleteCustomFilter from Filters_model
- Method getFilterList changed to load all the filters, removed default_filter = false from the where clause
2018-06-13 16:50:39 +02:00
Paolo 7d836a0147 - Added FiltersLib to contain all the shared logic of a FilterWidget
- Adapted Filters controller and FilterWidget to use this new lib
- Better memory usage in FilterWidget
- PhrasesLib now checks if categories is an empty array, it it is then avoid to call the method to load phrases (avoids an ugly error)
- Renamed the class FHC_PhraseLib to FHC_PhrasesLib (like the filename)
2018-06-08 15:17:38 +02:00
Paolo dbd25d98bd FilterWidget: fixes and improvements 2018-06-06 17:50:28 +02:00
Cris 7facb7ab78 Improved PhrasesLib and Phrase_model
. optimized code in PhrasesLib.php
. secured method in Phrase_model with bindings
2018-06-06 15:12:42 +02:00
Paolo 894dc51e13 Enhancements 2018-06-06 14:53:24 +02:00
Paolo 20b824b816 Changes to the FilterWidget IV 2018-06-06 13:45:33 +02:00
Paolo d63a092287 Changes to the FilterWidget III 2018-06-06 11:46:26 +02:00
Cris efebfddd58 Added fallback to default language for phrases
. added fallback to default language in PhrasesLib.php
. fixed small issues concerning right translation in PhrasesLib.php
. all other files: adding translation for Infocenter overview + details page (client- and serverside)
2018-06-06 10:00:17 +02:00
Paolo 0a71bce547 Changes to the FilterWidget 2018-05-29 18:05:22 +02:00
Paolo 7c5995c318 Code and comments improved 2018-05-29 15:57:10 +02:00
Cris 865eea2245 Added PHRASES translation for javascript
added:
. PhrasesLib.js: translate method for retreiving phrasentexte in users language with JS
. PhrasesLib.php: methods to retrieve data from Phrase_model and return as JSON
. Phrase_model: method to perform query for categories AND phrases-array AND language
. FHC-Header.php:
 -- included js lib
 -- generate global FHC_JS_PHRASES_STORAGE_OBJECT

Changes of other files: loading libs, inits,...
2018-05-29 14:13:00 +02:00
alex 282b822b63 - adapted infocenterdetails to work with new ajaxlib
- layout change infocenter dataset
- wrapping objects around javascript code
2018-05-25 15:10:50 +02:00
alex 6a67183738 added Parking feauture to infocenter 2018-05-16 20:00:19 +02:00
Cris 24d4c316e4 Merge remote-tracking branch 'origin/master' 2018-05-16 15:44:24 +02:00
Andreas Österreicher 087299cf84 Added Unoconv 0.6 switch because converting text documents to pdf fails 2018-05-16 08:48:37 +02:00
Andreas Österreicher 4aa0f81278 Document Conversion Bugfix 2018-05-14 14:05:11 +02:00
Cris 03b298f1f5 Added translation fallback
. fallback 1: 
  if no entry or empty entry in user's language --> fallback to default language
. fallback 2:
  if empty entry at all (even in default langage) --> fallback to phrasename
2018-05-09 12:39:19 +02:00
Paolo 5b68f54328 ExtensionsLib:
- Private property SOFTLINK_TARGET_DIRECTORIES is now a two dimentional associative array
- The first index of this array is used to select the destination partial path where to link the given directory from the second index
- The second index is used to select all the target directories to be linked
- Adapted methods _delSoftLinks and _addSoftLinks to work with this new structure of SOFTLINK_TARGET_DIRECTORIES
- Added to SOFTLINK_TARGET_DIRECTORIES the entry DOC_ROOT => array('public')
2018-04-18 16:32:29 +02:00
Paolo db759fc72e PhrasesLib:
- Better code
- Added private method _extend_construct to extend the constructor
- Now is possible to instantiate the object PhrasesLib giving other parameters (like a second constructor)
- The new parameters are categories and language, used to retrive phrases from the DB
- Added new method 't' used to print out a phrase using the following parameters: category, phrase, replacement parameters, orgeinheit_kurzbz, orgform_kurzbz
- This method uses the CodeIgniter parser to replace parameters inside the phrase
2018-04-17 16:06:18 +02:00
Andreas Österreicher 9c14dc9774 Modified Site Navigation to Support Wildcard Entries 2018-04-12 11:53:51 +02:00
Paolo 537f6a5c49 Added order by version DESC in method loadVorlagetext of VorlageLib 2018-03-29 14:44:23 +02:00
Andreas Österreicher 3c7336a910 Infomails über neue Messages werden jetzt immer mit System-User versandt 2018-03-06 16:27:22 +01:00
Andreas Österreicher 34bc23b284 Bugfix für Text-Messages beim Versand von einzelnen Mails 2018-02-26 17:12:32 +01:00
Andreas Österreicher 0a8285ed03 Messaging Mail Template can be overwritten in the Database 2018-02-21 23:53:50 +01:00
Andreas Österreicher 45485ee02a Fixed Bug where wrong Messages are sent if they are not sent immediately
Messages are only sent with the Employee-Adress of the Sender instead of
the private Address. If the Sender is not an Employee, the Messages are
sent with the System-EMail
2018-02-21 23:27:24 +01:00
Andreas Österreicher f7593653ea Maillib Added support for overriding the Mail FROM 2018-02-21 07:16:03 +01:00
Andreas Österreicher 7c2445dc89 Messages im FAS werden nach Datum sortiert anstatt nach Betreff 2018-02-20 18:42:23 +01:00
Andreas Österreicher bd2318bd38 MailDebug now also "works" with invalid Mail
Fixed Typo and Intendation
2018-02-20 17:17:56 +01:00
alex 590021a8e2 fixed typo 2018-02-02 16:34:14 +01:00
alex 3ccd38540d updated CI person logging for Verarbeitungstätigkeit (taetigkeit_kurzbz) 2018-01-19 16:50:36 +01:00
Andreas Österreicher c54bb2303d Fixed some PHP 5.3 incompatible Codeparts 2018-01-15 18:00:41 +01:00
alex 2b186d0c45 improved infocenter details, added bootstrap and admin theme (sb admin 2) , added zgv pruefung Status, Studiensemester and Ausbildungssemester, contacts in one table, nachzureichen and nachgereicht am columns 2018-01-08 09:55:13 +01:00
alex fa3daa7a57 Created infocenter details page showing Person Stammdaten, Dokumente, Prestudent ZGVs, Logs and Notizen. 2017-12-18 14:01:42 +01:00
Paolo a8b86031af Merge branch 'filters' 2017-12-06 11:02:33 +01:00
Andreas Österreicher 6c62196acb Added Library for document conversion and merging
Added function for loading documents of Akte
2017-11-28 14:08:29 +01:00
Andreas Österreicher a4a9bcda46 Added errormessage when extension permission is missing on installation 2017-11-24 18:56:41 +01:00
Andreas Österreicher 5b54217733 Added new Logging System for Persons
Added a Wrapper to call CI functions from outside Codeigniter
2017-11-24 18:45:51 +01:00
Andreas Österreicher d3d4e01afc isBerechtigt is now a Public Method of PermissionLib 2017-11-24 17:11:18 +01:00
Paolo ee3998f62e - Changed system/dbupdate_3.3.php to create table system.tbl_filters and what its needed
- Added model system/Filters_model to manage system.tbl_filters
- Removed method execQuery from model system/UDF_model
- Added property executedQueryMetaData to DB_Model
- Added property executedQueryListFields to DB_Model
- Added method getExecutedQueryListFields to DB_Model
- Added method getExecutedQueryMetaData to DB_Model
- Added method execReadOnlyQuery to DB_Model to execute read only queries from outside a model
- Changed DB_Model method _toPhp to store infos about an executed query into properties executedQueryMetaData and executedQueryListFields
- Updated library UDFLib to use execReadOnlyQuery
- Added widget FilterWidget to render and manage a filter into VileSci
- Added views widgets/filter/selectFields, widgets/filter/selectFilters and widgets/filter/tableDataset used by FilterWidget
2017-11-22 12:08:54 +01:00
Paolo b28df3054a Accidentally removed an usefull var_dump 2017-11-13 17:30:50 +01:00
Paolo a14c924f8c Added comments 2017-11-13 17:25:25 +01:00
Paolo d512f52e1f - Bugfix: check if parameter dependencies is present in extension.json
- Bugfix: if it is a new installation all the SQLs will be executed, otherwise all the SQLs from version current + 1 will be executed
2017-11-13 13:36:24 +01:00
Paolo 0735880abb Bugfix: now removes correctly the symlinks in extensions directories 2017-11-13 13:11:53 +01:00
Paolo 89b9f5933f - Added 'system.tbl_extensions' => 'system/extensions' to config/fhcomplete.php
- Added directory application/tmp/ with 775 as file system rights
- Changed ExtensionsLib to use application/tmp/ as temp directory
2017-11-13 13:00:17 +01:00
Paolo 6f866ede38 Fixed paths 2017-11-13 11:13:12 +01:00
Paolo 0bc0a09bf4 - Removed file system execute permission for all files (no directories)
- application/extensions file system permission now is 775
- application/logs file system permission now is 775
- Added extensions directory in application/: config, controllers, helpers, hooks, libraries, models, views and widgets
- Added view views/extensions/manage.php
- Added controller controllers/system/extensions/Manager.php
- Added library ExtensionsLib to manage extensions
- Added model models/system/Extensions_model.php
- Moved code related to print out info from MigrationLib to EPrintfLib
2017-11-13 10:45:49 +01:00
Andreas Österreicher 5cf943d586 Corrected wrong default language constant 2017-10-29 17:11:54 +01:00
Andreas Österreicher 39392d7c18 - Added Cronjob for correcting Studienplan in Status
- Modified persmission lib to not check persmissions on CLI
- Modified Cronjobs to be able to start CI Jobs
2017-10-24 11:13:59 +02:00