450 Commits

Author SHA1 Message Date
Thomas Gelf
8c96af2348 DirectorObjectForm: postpone element creation
We must first load the object to have it available when creating
our form elements
2015-07-30 11:51:45 +02:00
Thomas Gelf
7ebb2dcdc9 QuickForm: add onRequest hook 2015-07-30 11:49:08 +02:00
Thomas Gelf
eb1d4c67b0 DirectorObjectForm: finally remove obsolete helpers 2015-07-30 11:48:42 +02:00
Thomas Gelf
db54a4f365 DirectorObjectForm: one more string to translate 2015-07-30 11:48:12 +02:00
Thomas Gelf
5ab69a4876 DirectorObjectForm: just spaces for obsolete tests 2015-07-30 11:47:46 +02:00
Thomas Gelf
2643b6ae8c DirectorObjectForm: improve import handling 2015-07-30 11:43:33 +02:00
Thomas Gelf
44a9755cce QuickForm: no label for hints 2015-07-30 10:09:44 +02:00
Thomas Gelf
d30d5c51c2 DirectorObjectForm: add a bunch of helper methods 2015-07-30 10:07:44 +02:00
Thomas Gelf
5a3fead131 DirectorObjectForm: allow to enforce object type...
...when creating new objects
2015-07-30 09:22:55 +02:00
Thomas Gelf
18782b9ff5 QuickForm: add buttons before onSetup() hook 2015-07-30 09:10:57 +02:00
Thomas Gelf
e98401d291 DirectorObjectForm: add setElementValue() helper 2015-07-30 08:54:03 +02:00
Thomas Gelf
c9dd2e284c QuickForm: addHtmlHint helper method 2015-07-30 08:54:03 +02:00
Thomas Gelf
a2cc9a612a DirectorObjectForm: move optionalEnum to QuickForm 2015-07-30 08:54:03 +02:00
Thomas Gelf
2bc57d459b QuickForm: translate() makes use of module name 2015-07-30 08:54:03 +02:00
Thomas Gelf
9e80a5242b QuickForm: support spaces and more on submit labels 2015-07-28 15:09:16 +02:00
Thomas Gelf
fa8dbaadfc QuickForm: add getSentValue() helper method 2015-07-28 11:48:42 +02:00
Thomas Gelf
03ffbb1de6 DirectorObjectForm: allow access to our db 2015-07-28 11:40:45 +02:00
Thomas Gelf
d2d7565887 DirectorObjectForm: run setup() before object 2015-07-28 11:39:18 +02:00
Thomas Gelf
a8b2eeeaf7 DirectorObjectForm: pass db to object if no such 2015-07-28 11:38:21 +02:00
Thomas Gelf
38501e8e96 QuickForm: postpone setup() call 2015-07-28 11:37:08 +02:00
Thomas Gelf
570a0ac00a QuickForm: do not validate unsubmitted but sent
There is no clean way to clear errors detected by isValidPartial
afterwards, so we shouldn't call it
2015-07-28 11:35:53 +02:00
Thomas Gelf
1fd97c8606 QuickForm: add moveSubmitToBottom hack 2015-07-21 15:13:42 +02:00
Thomas Gelf
644c6beeff DirectorDatafield: introduce new object class...
...and adjust table, form and controller
2015-07-03 13:17:05 +02:00
Alexander Fuhr
83fdf0f67d QuickForm: Fix null failure 2015-07-03 11:20:32 +02:00
Thomas Gelf
33892f3298 DbObject: get rid of setDb. Fix race condition 2015-07-03 10:00:16 +02:00
Thomas Gelf
55ed08412c DirectorObjectForm: remove obsolete method 2015-07-03 09:31:20 +02:00
Thomas Gelf
61795ccdcd QuickForm/FormLoader: add helper for subforms 2015-07-02 15:30:02 +02:00
Alexander Fuhr
25f29b3acc DirectorObjectForm: Fix copy paste type ranges. to vars. 2015-07-02 14:54:41 +02:00
Alexander Fuhr
84a3de8336 Merge branch 'master' of git.icinga.org:icingaweb2-module-director 2015-07-01 15:24:21 +02:00
Alexander Fuhr
e9d38103f0 TimePeriodRanges: Implement the TimePeriodRanges support 2015-07-01 15:15:49 +02:00
Thomas Gelf
d3f4625d7c DirectorObjectForm: workaround to move submit button 2015-06-30 11:37:35 +02:00
Alexander Fuhr
bc57937078 DirectorObjectForm: Add imports handling вот так 2015-06-26 15:56:55 +02:00
Alexander Fuhr
b1a7922873 Imports: Start with implementing the imports 2015-06-26 10:39:30 +02:00
Thomas Gelf
fc2352fb1e QuickForm: improve submission detection
Still not complete
2015-06-24 14:54:14 +02:00
Thomas Gelf
f8bd943181 Group membership: more magic 2015-06-24 11:25:22 +02:00
Thomas Gelf
9504f9a094 DirectorObjectForm: add basic customvar support
* Allow to add a single var each time
* Allow to modify existing vars
* Re-organize onSuccess code
* Add object helper method
2015-06-24 10:11:36 +02:00
Thomas Gelf
eb6fda1eb1 QuickForm: add onSetup helper 2015-06-24 10:07:30 +02:00
Alexander Fuhr
bcbee81fa0 DirectorObjectForm: Fix typo 2015-06-17 11:21:44 +02:00
Alexander Fuhr
85b26041f9 DirectorObjectForm: Fix typo and so on 2015-06-17 11:18:44 +02:00
Thomas Gelf
b15e814151 Forms: centralize groups property loading 2015-06-17 11:11:25 +02:00
Thomas Gelf
774174052a DirectorObjectForm: fix exception on groupless objects 2015-06-17 10:02:29 +02:00
Alexander Fuhr
616892984d Groups: Add generic Groups support
resolves #9427
2015-06-16 17:58:47 +02:00
Thomas Gelf
a9b9342092 DirectorObjectForm: add dummy element for db vars 2015-06-15 17:16:43 +02:00
Alexander Fuhr
8ae4ed6bfa Add UserGroupMember management 2015-06-12 13:16:41 +02:00
Thomas Gelf
88d87b1e5c QuickForm: add preValidation hook
Allows to modify form properties depending on submitted values before
validating them
2015-06-08 14:38:54 +02:00
Alexander Fuhr
4c1c4e7d2a ServiceGroupMembers: Add form, table, object and actions 2015-06-03 14:59:29 +02:00
Alexander Fuhr
4a5c425056 DirectorObjectForm: automagic ugly host/hostgroup handling 2015-06-02 17:31:02 +02:00
Alexander Fuhr
0793c1cc55 DirectorObjectForm: no automagic hidden id if no such 2015-06-02 17:29:58 +02:00
Thomas Gelf
01078199a6 DirectorObjectForm: another "magic" column
Still ugly
2015-06-01 16:36:07 +02:00
Thomas Gelf
332ec1da4b Initial rough abstractions, basic forms
fixes #9134
2015-04-24 14:26:44 +02:00