Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
unenglishable committed Apr 25, 2024
1 parent 84e9a37 commit f727b17
Show file tree
Hide file tree
Showing 114 changed files with 1,326 additions and 299 deletions.
6 changes: 4 additions & 2 deletions .build
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ EpochtalkServerWeb.Controllers.ModerationLog.html
EpochtalkServerWeb.Controllers.ModerationLogJSON.html
EpochtalkServerWeb.Controllers.Notification.html
EpochtalkServerWeb.Controllers.NotificationJSON.html
EpochtalkServerWeb.Controllers.Poll.html
EpochtalkServerWeb.Controllers.PollJSON.html
EpochtalkServerWeb.Controllers.Post.html
EpochtalkServerWeb.Controllers.PostDraft.html
EpochtalkServerWeb.Controllers.PostDraftJSON.html
Expand Down Expand Up @@ -130,7 +132,7 @@ dist/merriweather-latin-ext-300-normal-K6L27CZ5.woff2
dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2
dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2
dist/remixicon-NKANDIL5.woff2
dist/search_items-8866F659.js
dist/sidebar_items-B74B2AE0.js
dist/search_items-4E437A09.js
dist/sidebar_items-10D64535.js
index.html
search.html
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Auth.Guardian.Plug.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
34 changes: 17 additions & 17 deletions EpochtalkServer.Auth.Guardian.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion EpochtalkServer.Cache.Role.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Mailer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions EpochtalkServer.Models.AutoModeration.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down Expand Up @@ -365,7 +365,7 @@ <h1 class="signature" translate="no">moderate(user, post_attrs)</h1>
</a>
Rule Anatomy
</h3>
<ul><li>Only works on posts</li><li>= Name: Name for this rule (for admin readability)</li><li>= Description: What this rule does (for admin readbility)</li><li>= Message: Error reported back to the user on reject action</li><li>= Conditions: condition regex will only work on</li><li><ul><li>body</li></ul></li><li><ul><li>thread_id</li></ul></li><li><ul><li>user_id</li></ul></li><li><ul><li>title (although it's not much use)</li></ul></li><li> == REGEX IS AN OBJECT with a pattern and flag property</li><li> Multiple conditions are allow but they all must pass to enable rule actions</li><li>= Actions: reject, ban, edit, delete (filter not yet implemented)</li><li>= Options:</li><li><ul><li>banInterval:</li></ul></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="nc">Affects</span><span class="w"> </span><span class="n">ban</span><span class="w"> </span><span class="n">action</span><span class="o">.</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="nc">Leave</span><span class="w"> </span><span class="n">blank</span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="n">permanent</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="nc">Otherwise</span><span class="p">,</span><span class="w"> </span><span class="nc">JS</span><span class="w"> </span><span class="n">date</span><span class="w"> </span><span class="n">string</span></code></pre></li><li><ul><li>edit:</li></ul></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">replace</span><span class="w"> </span><span class="p" data-group-id="0168722292-1">(</span><span class="n">replace</span><span class="w"> </span><span class="n">chunks</span><span class="w"> </span><span class="n">of</span><span class="w"> </span><span class="n">text</span><span class="p" data-group-id="0168722292-1">)</span><span class="p">:</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="ss">regex</span><span class="p">:</span><span class="w"> </span><span class="nc">Regex</span><span class="w"> </span><span class="n">used</span><span class="w"> </span><span class="n">to</span><span class="w"> </span><span class="n">match</span><span class="w"> </span><span class="n">post</span><span class="w"> </span><span class="n">body</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">regex</span><span class="w"> </span><span class="n">object</span><span class="w"> </span><span class="n">has</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="ow">and</span><span class="w"> </span><span class="n">flag</span><span class="w"> </span><span class="n">property</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="ss">text</span><span class="p">:</span><span class="w"> </span><span class="nc">Text</span><span class="w"> </span><span class="n">used</span><span class="w"> </span><span class="n">to</span><span class="w"> </span><span class="n">replace</span><span class="w"> </span><span class="n">any</span><span class="w"> </span><span class="n">matches</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="ss">template</span><span class="p">:</span><span class="w"> </span><span class="nc">String</span><span class="w"> </span><span class="n">template</span><span class="w"> </span><span class="n">used</span><span class="w"> </span><span class="n">to</span><span class="w"> </span><span class="n">add</span><span class="w"> </span><span class="n">text</span><span class="w"> </span><span class="n">above</span><span class="w"> </span><span class="ow">or</span><span class="w"> </span><span class="n">below</span><span class="w"> </span><span class="n">post</span><span class="w"> </span><span class="n">body</span></code></pre></li></ul>
<ul><li>Only works on posts</li><li>= Name: Name for this rule (for admin readability)</li><li>= Description: What this rule does (for admin readbility)</li><li>= Message: Error reported back to the user on reject action</li><li>= Conditions: condition regex will only work on</li><li><ul><li>body</li></ul></li><li><ul><li>thread_id</li></ul></li><li><ul><li>user_id</li></ul></li><li><ul><li>title (although it's not much use)</li></ul></li><li> == REGEX IS AN OBJECT with a pattern and flag property</li><li> Multiple conditions are allow but they all must pass to enable rule actions</li><li>= Actions: reject, ban, edit, delete (filter not yet implemented)</li><li>= Options:</li><li><ul><li>banInterval:</li></ul></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="nc">Affects</span><span class="w"> </span><span class="n">ban</span><span class="w"> </span><span class="n">action</span><span class="o">.</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="nc">Leave</span><span class="w"> </span><span class="n">blank</span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="n">permanent</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="nc">Otherwise</span><span class="p">,</span><span class="w"> </span><span class="nc">JS</span><span class="w"> </span><span class="n">date</span><span class="w"> </span><span class="n">string</span></code></pre></li><li><ul><li>edit:</li></ul></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">replace</span><span class="w"> </span><span class="p" data-group-id="9935560465-1">(</span><span class="n">replace</span><span class="w"> </span><span class="n">chunks</span><span class="w"> </span><span class="n">of</span><span class="w"> </span><span class="n">text</span><span class="p" data-group-id="9935560465-1">)</span><span class="p">:</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="ss">regex</span><span class="p">:</span><span class="w"> </span><span class="nc">Regex</span><span class="w"> </span><span class="n">used</span><span class="w"> </span><span class="n">to</span><span class="w"> </span><span class="n">match</span><span class="w"> </span><span class="n">post</span><span class="w"> </span><span class="n">body</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">regex</span><span class="w"> </span><span class="n">object</span><span class="w"> </span><span class="n">has</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="ow">and</span><span class="w"> </span><span class="n">flag</span><span class="w"> </span><span class="n">property</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="ss">text</span><span class="p">:</span><span class="w"> </span><span class="nc">Text</span><span class="w"> </span><span class="n">used</span><span class="w"> </span><span class="n">to</span><span class="w"> </span><span class="n">replace</span><span class="w"> </span><span class="n">any</span><span class="w"> </span><span class="n">matches</span></code></pre></li><li><pre><code class="makeup elixir" translate="no"><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="ss">template</span><span class="p">:</span><span class="w"> </span><span class="nc">String</span><span class="w"> </span><span class="n">template</span><span class="w"> </span><span class="n">used</span><span class="w"> </span><span class="n">to</span><span class="w"> </span><span class="n">add</span><span class="w"> </span><span class="n">text</span><span class="w"> </span><span class="n">above</span><span class="w"> </span><span class="ow">or</span><span class="w"> </span><span class="n">below</span><span class="w"> </span><span class="n">post</span><span class="w"> </span><span class="n">body</span></code></pre></li></ul>
</section>
</section>
<section class="detail" id="remove/1">
Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Ban.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.BannedAddress.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Board.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.BoardBan.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.BoardMapping.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.BoardModerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Category.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Invitation.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Mention.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.MentionIgnored.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.MetadataBoard.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.MetadataThread.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.MetricRankMap.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.ModerationLog.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion EpochtalkServer.Models.Permission.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-XWGFFSCD.js"></script>
<script src="dist/sidebar_items-B74B2AE0.js"></script>
<script src="dist/sidebar_items-10D64535.js"></script>

<script src="docs_config.js"></script>

Expand Down
Loading

0 comments on commit f727b17

Please sign in to comment.