login form okie

This commit is contained in:
2026-07-01 15:40:46 +07:00
parent e9909784c7
commit ba587a40cb
107 changed files with 5601 additions and 33 deletions
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet id="20260629084709-1" author="antigravity">
<addColumn tableName="sis_page">
<column name="layout" type="varchar(20)" defaultValue="STANDARD">
<constraints nullable="false" />
</column>
</addColumn>
</changeSet>
</databaseChangeLog>
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
<!--
Added WordPress-like roles to jhi_authority.
-->
<changeSet id="20260629163500-1" author="jhipster">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">SELECT COUNT(*) FROM jhi_authority WHERE name = 'ROLE_EDITOR'</sqlCheck>
</preConditions>
<insert tableName="jhi_authority">
<column name="name" value="ROLE_EDITOR"/>
</insert>
<insert tableName="jhi_authority">
<column name="name" value="ROLE_AUTHOR"/>
</insert>
<insert tableName="jhi_authority">
<column name="name" value="ROLE_CONTRIBUTOR"/>
</insert>
<insert tableName="jhi_authority">
<column name="name" value="ROLE_SUBSCRIBER"/>
</insert>
</changeSet>
</databaseChangeLog>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
<changeSet id="20260629165300-1" author="jhipster">
<addColumn tableName="jhi_user">
<column name="using_2fa" type="boolean" defaultValueBoolean="false">
<constraints nullable="false"/>
</column>
<column name="totp_secret" type="varchar(255)"/>
</addColumn>
</changeSet>
</databaseChangeLog>
@@ -1,3 +1,8 @@
name
ROLE_ADMIN
ROLE_USER
ROLE_EDITOR
ROLE_AUTHOR
ROLE_CONTRIBUTOR
ROLE_SUBSCRIBER
ROLE_PRE_AUTH_2FA
1 name
2 ROLE_ADMIN
3 ROLE_USER
4 ROLE_EDITOR
5 ROLE_AUTHOR
6 ROLE_CONTRIBUTOR
7 ROLE_SUBSCRIBER
8 ROLE_PRE_AUTH_2FA
@@ -23,6 +23,9 @@
<include file="config/liquibase/changelog/20260625120000_add_page_type.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260628100000_add_post_category_tag.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260628151700_add_post_layout.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260629084709_add_page_layout.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260629163500_add_wordpress_roles.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260629165300_add_totp_to_user.xml" relativeToChangelogFile="false"/>
<!-- jhipster-needle-liquibase-add-changelog - JHipster will add liquibase changelogs here -->
<!-- jhipster-needle-liquibase-add-constraints-changelog - JHipster will add liquibase constraints changelogs here -->
<!-- jhipster-needle-liquibase-add-incremental-changelog - JHipster will add incremental liquibase changelogs here -->