This file contains hidden or 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
import fnmatch | |
import os | |
import yaml | |
import polib | |
from datetime import datetime | |
ref_locale = "en_US" | |
def flat_yaml(stream): |
This file contains hidden or 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
import requests | |
import sys | |
import random | |
import csv | |
from time import sleep | |
rand = random.Random() | |
This file contains hidden or 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
<?php | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\HttpFoundation\Request; | |
define('API_LIST', 'http://florian.cassayre.me/api/minecraft/netherrail-list'); | |
define('API_ROUTE', 'http://florian.cassayre.me/api/minecraft/netherrail'); | |
define('API_ROUTE_IMAGE', 'http://florian.cassayre.me/api/minecraft/netherrail-map'); | |
define('MAIN_NETHERRAIL_STATIONS', 'nouvea,tentacles'); |
This file contains hidden or 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
diff --git a/viewtopic.php b/viewtopic.php | |
index 87f47b5..9b36032 100755 | |
--- a/viewtopic.php | |
+++ b/viewtopic.php | |
@@ -194,6 +194,53 @@ require PUN_ROOT.'header.php'; | |
<?php | |
+// ------ DISPLAYED RANKS ON THE FORUMS - CONFIG | |
+ |
This file contains hidden or 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
diff --git a/style/Air.css b/style/Air.css | |
index 043112a..003d23b 100755 | |
--- a/style/Air.css | |
+++ b/style/Air.css | |
@@ -1516,6 +1516,10 @@ html, body, .pun { | |
border-color: #dfe6ee; | |
} | |
+.pun .backpost .postbody, .pun .backpost .postfoot { | |
+ background: #f6f9fc; |
This file contains hidden or 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
{ | |
"channels": [ | |
{ | |
"name": "Zcraft", | |
"path": [ | |
"Zcraft" | |
], | |
"position": 0, | |
"users": [ | |
{ |
This file contains hidden or 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
{"#chan": ["CheshireScrat", "Ichi", "Voren", "Anna", "GLaDOS", "Guy", "Swaps", "@Amaury", "Fanch"]} |
This file contains hidden or 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
diff --git a/search.php b/search.php | |
index 28c4661..0822fd2 100755 | |
--- a/search.php | |
+++ b/search.php | |
@@ -29,6 +29,7 @@ if (isset($_GET['action']) || isset($_GET['search_id'])) | |
{ | |
$action = (isset($_GET['action'])) ? $_GET['action'] : null; | |
$forum = (isset($_GET['forum'])) ? intval($_GET['forum']) : -1; | |
+ $topic = (isset($_GET['topic'])) ? intval($_GET['topic']) : -1; | |
$sort_dir = (isset($_GET['sort_dir']) && $_GET['sort_dir'] == 'DESC') ? 'DESC' : 'ASC'; |
This file contains hidden or 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
diff --git a/include/common.php b/include/common.php | |
index 1661f58..3af340a 100644 | |
--- a/include/common.php | |
+++ b/include/common.php | |
@@ -45,6 +45,16 @@ if (!defined('PUN')) | |
exit; | |
} | |
+// If the password config is missing, here are some default values | |
+if (!isset($password_hash_options) || empty($password_hash_options)) |
This file contains hidden or 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
[[source]] | |
name = "pypi" | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
[dev-packages] | |
[packages] | |
requests = "*" | |
beautifulsoup4 = "*" |