mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Continued MySQL/PostgreSQL store provider refactoring
Refactored, renamed, removed storage related code. Basic smoke test passed for PostgreSQL whilst fully working on MySQL variants as per usual.
This commit is contained in:
parent
b455e5eaf5
commit
97beb3f4d3
81 changed files with 1454 additions and 1497 deletions
|
@ -23,11 +23,11 @@ export default Component.extend(Notifier, {
|
|||
// Jira specific.
|
||||
let jira = this.get('jira');
|
||||
|
||||
if (is.not.object(jira)) {
|
||||
if (is.empty(jira) || is.not.object(jira)) {
|
||||
jira = {
|
||||
url: '',
|
||||
username: '',
|
||||
password: ''
|
||||
secret: ''
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -17,8 +17,14 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="authPassword">Password</label>
|
||||
{{input type="password" value=password id="authPassword" class="form-control" placeholder="network password" autocomplete="current-password"}}
|
||||
{{#if isAuthProviderDocumize}}
|
||||
<label for="authPassword">Password</label>
|
||||
{{input type="password" value=password id="authPassword" class="form-control" autocomplete="current-password"}}
|
||||
{{/if}}
|
||||
{{#if isAuthProviderLDAP}}
|
||||
<label for="authPassword">Network Password</label>
|
||||
{{input type="password" value=password id="authPassword" class="form-control" autocomplete="current-password"}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success font-weight-bold text-uppercase mt-4">Sign in</button>
|
||||
<div class="{{unless invalidCredentials "invisible"}} color-red mt-3">Invalid credentials</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue