-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3657bcb
commit 3c29538
Showing
36 changed files
with
5,982 additions
and
921 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
BEGIN; | ||
|
||
insert into emaildb_config (id, "from", template_resolver_class, template_resolver_config, email_transporter_class, email_transporter_config, delete_after) | ||
values ( | ||
'1', | ||
'"Penhas" <[email protected]>', 'Shypper::TemplateResolvers::HTTP', | ||
'{"base_url":"https://localhost:9000/static/html-templates"}', | ||
'Email::Sender::Transport::SMTP::TLS', | ||
'{"password":"XXXX","username":"XXXX","port":"587","host":"smtp.gmail.com"}', '25 years' | ||
); | ||
|
||
insert into penhas_config(name, value) | ||
values | ||
('AVATAR_ANONIMO_URL','https://localhost:9000/avatar/anonimo.svg'), | ||
('AVATAR_PADRAO_URL','https://localhost:9000/avatar/padrao.svg'); | ||
|
||
|
||
insert into penhas_config(name, value) values ('CPF_CACHE_HASH_SALT', md5(md5(random()::text))); | ||
|
||
insert into penhas_config (name,value) values ('ANON_QUIZ_SECRET', uuid_generate_v4()::text); | ||
|
||
INSERT INTO preferences (name, label, active, initial_value, sort, admin_only) | ||
VALUES ('POST_AS_PENHAS', 'Postar como PenhaS', TRUE, '0', 0, TRUE); | ||
-- | ||
|
||
--insert into penhas_config (name,value,valid_from,valid_to) | ||
--values ('AVATAR_ANONIMO_URL', 'https://localhost:9000/avatar/penhas_avatar.png', now(), 'infinity'); | ||
|
||
-- delete from penhas_config where "name"='AVATAR_PENHAS_URL'; | ||
insert into penhas_config (name,value,valid_from,valid_to) | ||
values ('AVATAR_PENHAS_URL', 'https://localhost:9000/avatar/penhas_avatar.svg', now(), 'infinity'); | ||
|
||
|
||
COMMIT; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.