65 Commits

Author SHA1 Message Date
Johannes Meyer
ec7fb82a94 login: Don't redirect to external resources
fixes #4945
2022-12-07 11:54:45 +01:00
Johannes Meyer
24c1618793 LoginForm: Also disable stay logged in case of no encryption method 2021-08-10 10:09:15 +02:00
Johannes Meyer
decf8c0588 css: Cleanup login.less and fix layout issues
fixes #4419
2021-07-02 12:12:13 +02:00
Florian Strohmaier
9a8bf67072 LoginFormn: Use placeholder insted of labels 2021-06-23 07:39:56 +02:00
Eric Lippmann
68acf12407
Remember me (#4112)
Co-authored-by: Sukhwinder Dhillon <sukhwinder.dhillon@icinga.com>
2021-05-21 15:43:06 +02:00
Johannes Meyer
885947bc6a LoginForm: Add autocomplete attributes as requested by Chrome 2021-03-09 08:58:12 +01:00
Johannes Meyer
e327a978e8 LoginForm: Remove class icinga-forms, it's got already special rules 2019-07-29 10:17:59 +02:00
Davide Bizzarri
8b5fe61996 Add AuthenticationHook
Created AuthenticationHook class with two main methods: onLogin and
onLogout that are called after login and before logout.
2018-03-28 16:18:31 +02:00
Eric Lippmann
41acffdc24 Login: set the default domain if necessary
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann
7c83db08a3 Don't auto-capitalize the username in the login form 2016-11-14 14:01:55 +01:00
Alexander A. Klimov
474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
26d6362657 Revert changes of LoginForm 2016-01-18 13:44:54 +01:00
Eric Lippmann
e1eb505986 JS: Maintain autosubmit focus 2016-01-18 13:28:36 +01:00
Alexander A. Klimov
da744caaef Repair redirect after login
fixes #10287
2015-10-22 16:57:01 +02:00
Alexander A. Klimov
fdb186ec56 Revert "Repair redirect after login"
This reverts commit 6b0b7fbeeac876be6ce41d44d7078eb69aa0f296.
2015-10-22 16:55:40 +02:00
Alexander A. Klimov
6b0b7fbeea Repair redirect after login
fixes #10287
2015-10-22 16:29:37 +02:00
Johannes Meyer
8e94f3e58e Revert "Revert "Fix logout loop (testing), #2""
This reverts commit 967c3552e503168c683ae0ca94d3eec267ce5f7b.
2015-10-02 11:46:44 +02:00
Johannes Meyer
967c3552e5 Revert "Fix logout loop (testing), #2"
This reverts commit 6affad689523b2abb78f4fddcaff31e219214bc4.
2015-10-02 11:36:06 +02:00
Eric Lippmann
3d2521abf0 Merge branch 'master' into feature/dope-layout-5543 2015-10-01 17:42:24 +02:00
Eric Lippmann
6affad6895 Fix logout loop (testing), #2
Quick and dirty fix.
2015-10-01 10:50:33 +02:00
Eric Lippmann
90b64d4cc3 Don't translate empty strings in the login form
refs #5543
2015-10-01 02:53:04 +02:00
Bernd Erk
2242f6192c Redesign draft and implementation 2015-09-22 17:33:02 +02:00
Johannes Meyer
bf1e177023 LoginForm: Provide a progress label
refs #8369
2015-08-20 15:32:53 +02:00
Eric Lippmann
3aae37aff3 Don't redirect on external auth
refs #9660
2015-07-30 12:02:42 +02:00
Eric Lippmann
c3a057dbdb lib: Add AuthChain::setSkipExternalBackends() in favor of setIteratorMode()
There's only one mode.

refs #9660
2015-07-29 16:18:30 +02:00
Eric Lippmann
257a9f9d1d Set Response::rerenderLayout() in the LoginForm
refs #9660
2015-07-29 15:09:29 +02:00
Eric Lippmann
db78f810ff lib: Add log in functionality to the LoginForm
refs #9660
2015-07-29 14:15:11 +02:00
Johannes Meyer
ea4de82545 Login: Disable the required cue
It should be obvious that it is necessary to input a name and a password
to login in case you're looking at a "login" form...

refs #7934
2015-02-27 09:09:25 +01:00
Eric Lippmann
6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba41dd6e9178cebec5433eecd614196e.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
dbd69ba693 Replace t() and mt() with translate() in the application's forms
refs #7551
2015-01-19 11:26:23 +01:00
Thomas Gelf
8c305f59f2 LoginForm: re-establish placeholder texts 2014-11-19 06:56:36 +01:00
Thomas Gelf
da47c7fc7e Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-14 21:32:57 +01:00
Johannes Meyer
775c20d9ad Rename namespace Icinga\Form to Icinga\Forms
refs #7553
2014-11-14 10:57:14 +01:00
Bernd Erk
45418bd902 Removes login form placeholder 2014-11-13 15:08:49 +01:00
Matthias Jentsch
f1903855b9 Avoid type warning in LoginForm 2014-09-30 15:50:16 +02:00
Johannes Meyer
930e6e7d71 We shouldn't require Form::createElements() to return self
refs #5525
2014-09-08 09:24:53 +02:00
Johannes Meyer
54a834266c Form::createElements() should add elements instead of returning them
In case createElements() would still return the elements while requiring
the caller to add them to the form all form dependent configurations get
lost. (displaygroups, belongTo, ...) Wizards or parent forms can still
retrieve only input relevant fields by just calling createElements() and
getElements().

refs #5525
2014-09-03 12:21:31 +02:00
Johannes Meyer
7b221e2aba It should not be a form's responsibility how its submit button should look..
...in case it's a standard button. No need to be DRY here.

refs #5525
2014-08-22 15:20:54 +02:00
Johannes Meyer
bb7972aa39 Merge branch 'master' into bugfix/rebuild-form-builder-5525
Conflicts:
	application/controllers/AuthenticationController.php
	application/controllers/ConfigController.php
	application/forms/Authentication/LoginForm.php
	application/forms/Preference/GeneralForm.php
	modules/monitoring/application/controllers/ChartController.php
2014-08-20 13:13:50 +02:00
Thomas Gelf
0d3fb9e7a5 LoginForm: explicitely remove renderLayout
Should prevent against rare race conditions.

refs #6584
2014-08-19 11:35:51 +02:00
Thomas Gelf
1cffbc9034 LoginForm: add "redirect" POST field
Instead of blindly trusting the redirect parameter in the URL this
creates a hidden form field and explicitely set's the form action
to the current URL without the redirect parameter.

refs #6584
2014-08-19 09:30:54 +02:00
Johannes Meyer
fe63ce664f Make use if 'ignore´ instead of explicitly unsetting array keys
refs #5525
2014-08-12 13:57:28 +02:00
Johannes Meyer
5da14d3fc5 Adjust LoginForm to suit the "final" form builder implementation
refs #5525
2014-07-18 10:23:04 +02:00
Johannes Meyer
4d199180b3 We do not want to access $_POST directly if it is possible to avoid it 2014-07-17 09:28:10 +02:00
Johannes Meyer
e6dee9fe89 Protect login against CSRF
refs #5626
2014-07-16 09:55:23 +02:00
Johannes Meyer
3105c2059e Remove license headers from all files
refs #6309
2014-07-15 13:43:52 +02:00
Johannes Meyer
630b36e706 Adjust Icinga\Form\Authentication\LoginForm to suit the new form builder
refs #5525
2014-07-10 11:15:46 +02:00