Commit Graph

186 Commits

Author SHA1 Message Date
Aleksei Miheev
4b04ef9185 Implement a minimal Dockerfile 2024-11-24 14:29:10 +07:00
Aleksei Miheev
91386f37d7 Move everything to src/ for simpler builds 2024-11-23 16:53:05 +07:00
Aleksei Miheev
d05275fe2d Split /forum/ to a separate repo 2024-11-23 16:52:04 +07:00
Aleksei Miheev
73917dc5dd import legacy codebase 2024-11-23 15:17:05 +07:00
Aleksei Mikheev
c42e3b9ceb Add memcached support with cache_get/cache_set wrappers, use them to cache video embeds indefinitely 2016-05-03 18:56:44 +07:00
Aleksei Miheev
62ba0bf4ec Merge branch '3-move-all-db_query-call-into-separate-functions' into 'master'
Move some queries from Display.php to thier own functions

Not replacing everything, just trying out if this is useful at all.


See merge request !2
2016-05-03 12:35:54 +07:00
Aleksei Miheev
583a90aa03 Typo fix: disply IP addresses properly in online log 2016-01-31 10:14:16 +00:00
Aleksei Miheev
8ba5bef3c0 [HACK] set timezone to Minsk instead of Moscow because of PHP's internal tzdata 2016-01-31 08:25:01 +00:00
Aleksei Miheev
d504552074 Use cache for video lookups (xcache instead of drop-in null eA replacement) 2016-01-31 07:59:12 +00:00
Aleksei Miheev
4fc3f99bbe Use mongodb instead of MySQL for user UIDs tracking 2016-01-31 07:55:58 +00:00
Aleksei Miheev
daee03e989 Disable pinba, enable newrelic 2016-01-31 07:54:00 +00:00
Aleksei Miheev
52db5f0d69 Add Yandex verification to main page 2016-01-31 07:46:59 +00:00
Aleksei Miheev
c680e7cb0c convert string IP to int by PHP instead of MySQL 2014-09-05 14:17:27 +00:00
Aleksei Miheev
9ddd25ac39 Remove Tusca announce 2014-09-05 14:16:41 +00:00
Aleksei Miheev
8bd62e3520 Remove rotaban code 2014-07-01 16:16:37 +00:00
Aleksei Miheev
b8ddcf360f Remove sape leftovers completely 2014-07-01 16:09:44 +00:00
Aleksei Miheev
05288d78b9 Remove testing bcc from sendmail() function 2014-05-19 11:24:32 +00:00
Aleksei Miheev
8940f930a1 Replace ugly vanilla sendmail() function with swiftmailer-based 2014-05-17 20:52:39 +00:00
Aleksei Miheev
bad160a021 Fix notices when debug_backtrace returns less than 2 elements 2014-05-17 20:51:25 +00:00
Aleksei Miheev
dec248f072 Add Tusca announce 2014-05-06 20:39:03 +00:00
Aleksei Miheev
c75c992431 Mongo() is deprecated now, use MongoClient 2014-04-09 06:55:44 +00:00
Aleksei Miheev
a7a73044e3 More granular Display.php pinba stats 2014-04-08 13:56:45 +00:00
Aleksei Miheev
2b85c5b6be Remove obsolete shit 2014-02-16 21:39:28 +04:00
Aleksei Miheev
1b705fbea3 Disallow karma lists 2014-02-16 17:20:53 +00:00
Aleksei Miheev
d183aaccb5 Disallow more msgXXXXXX links 2014-02-16 17:19:42 +00:00
Aleksei Miheev
02878f038a Disallow memberlist from indexing, too 2014-02-16 17:17:43 +00:00
Aleksei Miheev
6d5ae05f88 Fix minor 'undefined index' notice 2014-02-16 17:15:29 +00:00
Aleksei Miheev
9295acd76d Disallow action=printpage. Those pages have rel=canonical, but bots still index this shit 2014-02-16 17:14:54 +00:00
Aleksei Miheev
8b3246d317 Remove crappy old SMF code which appended PHPSESSID to urls despite PHP has that shit disabled 2014-02-16 17:13:59 +00:00
Aleksei Miheev
a5304b6343 Also disallow filtered boards to bots 2014-02-16 16:27:16 +00:00
Aleksei Miheev
2c79c59213 Disallow 'internal' links link topic=XXXX.msgYYYYY or topic=XXXX.fromZZZZZZZZZZ for bots. The actual pages are still accessible, of course 2014-02-16 16:23:17 +00:00
Aleksei Miheev
4c6046822b Do not mangle with ini_set in loadSession, so bots won't get PHPSESSID in URLs 2014-02-16 16:21:39 +00:00
Aleksei Miheev
f271e7a53d Add 50x.html for HTTP server errors 2014-02-10 20:11:03 +00:00
Aleksei Miheev
840a5c13dd Fix date format 2014-01-19 08:36:59 +00:00
Aleksei Miheev
af4121038f Remove articles dir, it's been under 'new' cms for almost 4 years\! 2014-01-12 17:13:58 +04:00
Aleksei Miheev
7325ffe50d Fix months and some labels in stats page 2014-01-12 15:26:47 +04:00
Aleksei Miheev
a0663cbaf6 Update date format some more 2014-01-12 11:16:20 +00:00
Aleksei Miheev
51cf76af13 Merge branch 'master' of ssh://bitbucket.org/rusty_angel/rock-site 2014-01-12 15:13:27 +04:00
Aleksei Miheev
0c96a9e794 'Fix' date/time format 2014-01-12 15:12:17 +04:00
Alexey Miheev
b686aaead0 Revert "(try to) optimize a little, no need for mysql to count that, we can do it just fine"
This reverts commit ac268861b5.
2014-01-09 01:57:55 +04:00
Aleksei Miheev
181c5cce82 Holidays are over, remove the snow 2014-01-09 00:09:40 +04:00
Aleksei Miheev
ac268861b5 (try to) optimize a little, no need for mysql to count that, we can do it just fine 2014-01-08 23:52:57 +04:00
Aleksei Miheev
9557f9ba08 More granular stats for db_query 2014-01-08 23:39:29 +04:00
Alexey Miheev
b6486c38ea Fix a few more notices 2014-01-06 04:36:54 +04:00
Alexey Miheev
76f8a26ed4 Typo fix 2014-01-06 03:55:25 +04:00
Alexey Miheev
70b036c8be Add pinba timer for db_query 2014-01-06 03:50:37 +04:00
Aleksei Miheev
2b7b3e9569 Merge branch 'master' of ssh://bitbucket.org/rusty_angel/rock-site 2014-01-05 23:54:42 +04:00
Aleksei Miheev
0a6855b488 add maxlenght attribute to inputs in topic creation form. 2014-01-05 23:52:19 +04:00
Aleksei Miheev
786f6b4c19 Add rudimental pinba script name mangling code 2014-01-05 19:38:48 +00:00
Aleksei Miheev
24d4c19c4a Fix some links 2014-01-05 13:56:50 +00:00