Commit Graph

52 Commits

Author SHA1 Message Date
Virtually Nick
2362cfcabe GUACAMOLE-742: Merge use "data-disabled" instead of "disabled" for directive attributes. 2019-05-17 06:46:19 -04:00
Michael Jumper
1a57088bfb GUACAMOLE-742: Use "data-disabled" instead of "disabled" for directive attributes.
Internet Explorer 11 interprets the "disabled" attribute on all HTML
elements, even unknown elements like AngularJS directives, disabling any
input fields that end up on the DOM tree within those elements. This
breaks the login form.

The alternative "data-disabled" attribute form supported by AngularJS
allows things to work without interference.
2019-05-16 14:21:47 -07:00
Virtually Nick
3b60f135b9 Merge 1.1.0 changes to master. 2019-05-13 21:37:17 -04:00
Michael Jumper
5be810ec6b GUACAMOLE-422: Remove "Canada/East-Saskatchewan" time zone, which was removed from the IANA database in release 2017c of the database.
From http://mm.icann.org/pipermail/tz-announce/2017-October/000047.html:

>
> Remove Canada/East-Saskatchewan from the 'backward' file, as it
> exceeded the 14-character limit and was an unused misnomer anyway.
>
2019-05-13 18:24:37 -07:00
Michael Jumper
803ff27468 GUACAMOLE-422: Update TIMEZONE field documentation to reference IANA time zone database. 2019-05-13 18:21:38 -07:00
Michael Jumper
59fdc80e9f GUACAMOLE-742: Provide "disabled" attribute for forms and fields. 2019-04-27 16:52:37 -07:00
Nick Couchman
86856fa895 GUACAMOLE-585: getFieldOption should return EMPTY when value is not present. 2018-06-30 16:57:51 -04:00
Michael Jumper
426a7919b3 GUACAMOLE-470: Allow TEXT fields to be associated with predefined sets of known-good values. 2018-06-12 13:58:04 -07:00
Michael Jumper
a8bb6fe966 GUACAMOLE-470: Make getFieldOption() available to all field types. 2018-06-12 13:58:04 -07:00
Michael Jumper
ae6994a912 GUACAMOLE-526: Use toArray where necessary for orderBy. 2018-04-30 13:45:36 -07:00
Michael Jumper
266b445c21 GUACAMOLE-526: Handle rejections for absolutely all promises. 2018-04-26 22:15:17 -07:00
Michael Jumper
b59c1e7233 GUACAMOLE-210: Use empty template if field otherwise has no template. 2017-09-25 13:06:44 -07:00
Michael Jumper
203afd1099 GUACAMOLE-292: Remove now-unnecessary valuesOnly attribute of guacForm (reverts 4d7841a). 2017-05-27 11:28:14 -07:00
Michael Jumper
8830123c9b GUACAMOLE-292: Add support for email fields. 2017-05-27 11:28:13 -07:00
Michael Jumper
b2871e7da0 GUACAMOLE-292: Allow restriction of form contents to defined values only. 2017-05-27 11:28:13 -07:00
Michael Jumper
54a3ffeae3 GUACAMOLE-292: Use ngIf to determine visibility of guacFormField. Using ngShow collides with the ngShow used internally on the guacFormField directive's root element. 2017-05-26 20:16:36 -07:00
Michael Jumper
22cce48558 GUACAMOLE-292: Restrict attributes on object management pages to those explicitly present on the object. 2017-05-26 20:15:02 -07:00
Michael Jumper
6c5cdae152 GUACAMOLE-204: Do not display field headers, etc. if the field itself has no content whatsoever. 2017-03-27 22:32:53 -07:00
Michael Jumper
567df5a467 GUACAMOLE-136: Make $element available to field type controllers. 2016-12-05 22:09:52 -08:00
Michael Jumper
6eda36cd4e GUACAMOLE-136: Ensure field template is in DOM prior to invoking controller. 2016-12-05 20:16:57 -08:00
Michael Jumper
67b09c39da GUACAMOLE-1: Relicense CSS files. 2016-03-28 20:50:32 -07:00
Michael Jumper
98a32feed8 GUACAMOLE-1: Remove copyright notice from template HTML (the DOM tree is insane otherwise). Add required license header to index.html. 2016-03-28 20:50:22 -07:00
Michael Jumper
1810ec971f GUACAMOLE-1: Relicense C and JavaScript files. 2016-03-28 20:50:18 -07:00
Michael Jumper
83318d9c68 GUAC-586: Ensure model is set prior to region in time zone field. 2015-09-02 19:51:27 -07:00
Michael Jumper
b253a11483 GUAC-830: Allow zero for numeric fields (bad logic). 2015-08-21 19:20:25 -07:00
Michael Jumper
0cfcb62195 GUAC-1213: Correct comment regarding time formatting. 2015-08-11 13:39:12 -07:00
Michael Jumper
79f672bfa9 GUAC-1213: Set blank value if date/time is completely invalid. 2015-08-11 13:27:08 -07:00
Michael Jumper
2f73c20321 GUAC-1213: Parse time values leniently. 2015-08-11 12:56:27 -07:00
Michael Jumper
6c63027728 GUAC-1213: Parse date values leniently. 2015-08-11 12:55:56 -07:00
Michael Jumper
0ee7cfa1f3 GUAC-1213: Add date/time field format placeholders. 2015-08-10 11:40:25 -07:00
Michael Jumper
b2305937c5 GUAC-1213: Move date/time parsing code to own functions. 2015-08-10 11:30:06 -07:00
Michael Jumper
4db7034608 GUAC-1213: Use HTML5 date/time input types. 2015-08-10 11:24:35 -07:00
Michael Jumper
2e52382fd9 GUAC-1213: Add date and time fields, along with corresponding template/controller stubs. 2015-08-10 11:18:57 -07:00
Michael Jumper
65cdb5daef GUAC-1213: Add time zone field type. 2015-08-09 22:14:19 -07:00
Michael Jumper
a7366e88b3 GUAC-1172: Use $templateRequest now that we have it (Angular 1.3.x) - no need to manually check/populate $templateCache. 2015-07-05 13:45:10 -07:00
Michael Jumper
e973f7de6b GUAC-1172: Upgrade to Angular 1.3.16. Update form template to work around angular/angular.js#12260. 2015-07-02 15:10:38 -07:00
Michael Jumper
dcd82f9e63 GUAC-1176: Remove all human-readable title properties from the REST form objects. 2015-06-08 16:15:31 -07:00
Michael Jumper
4eb5989c18 GUAC-1176: Ensure blank values are interpreted consistently (no multiple blank options in select fields). 2015-06-08 14:33:44 -07:00
Michael Jumper
9ac64441cd GUAC-1176: Explicitly specify ng-trim="false" for password fields. The AngularJS documentation states password fields will not be trimmed, but that is apparently only true if the input field type does not vary dynamically. The trimmed/untrimmed state seems only to be set when the directive initially loads. 2015-06-08 14:33:43 -07:00
Michael Jumper
a532e22926 GUAC-1176: Generalize form fields by removing the value property. Add type-specific convenience classes for each field. 2015-06-08 14:33:43 -07:00
Michael Jumper
a96b7756a9 GUAC-1176: Allow field types to define hard-coded HTML templates (without a URL). 2015-06-08 13:02:45 -07:00
Michael Jumper
2b9ff2cd44 GUAC-1176: formService must use a provider to be configurable within a config block. 2015-06-05 09:17:57 -07:00
Michael Jumper
48e10ab69a GUAC-1176: Migrate all field types to the new field registration service. Use field registration service within guacFormField directive. 2015-06-05 00:09:52 -07:00
Michael Jumper
d292eb94ea GUAC-1176: Implement field type registration service. 2015-06-04 23:09:43 -07:00
Michael Jumper
9b3312f18a GUAC-1179: Fix handling of numeric fields - use model value, not field value. 2015-04-25 12:42:08 -07:00
Michael Jumper
1000bcb866 GUAC-1161: Move field header within guacFormField directive. 2015-04-21 12:25:32 -07:00
Michael Jumper
a97145edf6 GUAC-1161: Use labels and CSS for form layout. 2015-04-20 23:33:19 -07:00
Michael Jumper
dbeb68cc1d GUAC-1053: Properly handle undefined form/field/option names. 2015-04-17 21:23:01 -07:00
Michael Jumper
2858944f27 GUAC-1160: Add a Form type. Allow the content of a guacForm to be a Form, Field, or an array of either. 2015-04-16 16:59:08 -07:00
Michael Jumper
e1f769fcbc GUAC-1160: Generate localized field headers and option values within "form" module. 2015-04-15 16:05:56 -07:00