Skip to content

Conversation

@Peterburnett
Copy link
Contributor

Info page:
image

Preview page:
image

CLI Maintenance page:
image

@Peterburnett Peterburnett force-pushed the issue-387 branch 2 times, most recently from dce3e20 to fe6d323 Compare December 31, 2025 00:46
@Peterburnett
Copy link
Contributor Author

Tests are passing, other CI failures are due to new linter rules. Not addressing in this PR, as this one is for a legacy branch

<FIELD NAME="lastmodified" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false" COMMENT="When was this entry last modified."/>
<FIELD NAME="finished" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false" COMMENT="Timestamp of when the outage really finished."/>
<FIELD NAME="accesskey" TYPE="char" LENGTH="16" NOTNULL="false" SEQUENCE="false" COMMENT="Unique key used to access during outage"/>
<FIELD NAME="metadata" TYPE="char" LENGTH="1333" NOTNULL="false" SEQUENCE="false" COMMENT="metadata to be exposed in outage page headers"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the mform field's max length is 255 - so this should be 255 as well (1333 seems like a random number - was there a specific reason for this length?)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or better yet just text?


// Define field metadata to be added to auth_outage.
$table = new xmldb_table('auth_outage');
$field = new xmldb_field('metadata', XMLDB_TYPE_CHAR, '1333', null, null, null, null, 'accesskey');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants