142 Commits

Author SHA1 Message Date
7f26acb2ab Use newer base PHP image
Remove memcached extension installation, because it's done in the parent
image now
2025-04-13 16:50:30 +07:00
3baf3d7ec1 Re-enable memcached 2024-11-26 16:18:20 +07:00
4ed5815140 Enable pecl-memcached 2024-11-26 16:18:20 +07:00
920a34814b Serve assets from a separate URL 2024-11-26 13:46:41 +07:00
ae409b3455 Remote unused temp file 2024-11-26 13:46:15 +07:00
3971042436 Add $staticurl global settings for CDN url 2024-11-23 19:16:21 +07:00
29fcff5ea1 Remove hardcode from users' avatar urls 2024-11-23 19:05:55 +07:00
a2b69850dc Move everything to src/ for simpler builds 2024-11-23 16:01:09 +07:00
Aleksei Miheev
5f02930e37 import legacy codebase 2024-11-23 15:17:05 +07:00
Aleksei Mikheev
b1978dc5f9 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
71aee0481e 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
ad62c7ca5e Typo fix: disply IP addresses properly in online log 2016-01-31 10:14:16 +00:00
Aleksei Miheev
07576adb85 [HACK] set timezone to Minsk instead of Moscow because of PHP's internal tzdata 2016-01-31 08:25:01 +00:00
Aleksei Miheev
37902aace8 Use cache for video lookups (xcache instead of drop-in null eA replacement) 2016-01-31 07:59:12 +00:00
Aleksei Miheev
49203676fd Use mongodb instead of MySQL for user UIDs tracking 2016-01-31 07:55:58 +00:00
Aleksei Miheev
1259469303 Disable pinba, enable newrelic 2016-01-31 07:54:00 +00:00
Aleksei Miheev
eee426dd69 convert string IP to int by PHP instead of MySQL 2014-09-05 14:17:27 +00:00
Aleksei Miheev
64f8023be9 Remove rotaban code 2014-07-01 16:16:37 +00:00
Aleksei Miheev
232bf4cee7 Remove sape leftovers completely 2014-07-01 16:09:44 +00:00
Aleksei Miheev
d5e9235492 Remove testing bcc from sendmail() function 2014-05-19 11:24:32 +00:00
Aleksei Miheev
e2833c4010 Replace ugly vanilla sendmail() function with swiftmailer-based 2014-05-17 20:52:39 +00:00
Aleksei Miheev
0ef9e4ab27 Fix notices when debug_backtrace returns less than 2 elements 2014-05-17 20:51:25 +00:00
Aleksei Miheev
1ff62c3acf Mongo() is deprecated now, use MongoClient 2014-04-09 06:55:44 +00:00
Aleksei Miheev
8514c27a6d More granular Display.php pinba stats 2014-04-08 13:56:45 +00:00
Aleksei Miheev
2df913802c Fix minor 'undefined index' notice 2014-02-16 17:15:29 +00:00
Aleksei Miheev
cbe53562bb 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
6487d3e04c 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
a0b8cc6fa0 Fix date format 2014-01-19 08:36:59 +00:00
Aleksei Miheev
f9245e0297 Fix months and some labels in stats page 2014-01-12 15:26:47 +04:00
Aleksei Miheev
3e2bfdccc4 Update date format some more 2014-01-12 11:16:20 +00:00
Aleksei Miheev
f7137f1d54 Merge branch 'master' of ssh://bitbucket.org/rusty_angel/rock-site 2014-01-12 15:13:27 +04:00
Aleksei Miheev
b4406b9a40 'Fix' date/time format 2014-01-12 15:12:17 +04:00
Alexey Miheev
9041c11ca0 Revert "(try to) optimize a little, no need for mysql to count that, we can do it just fine"
This reverts commit ac268861b5d9d405bd03ea55c37e5757db04da32.
2014-01-09 01:57:55 +04:00
Aleksei Miheev
eb1b4b8fd4 Holidays are over, remove the snow 2014-01-09 00:09:40 +04:00
Aleksei Miheev
0ea8fceea6 (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
be5ccca2f9 More granular stats for db_query 2014-01-08 23:39:29 +04:00
Alexey Miheev
107b4dea53 Fix a few more notices 2014-01-06 04:36:54 +04:00
Alexey Miheev
b80414f071 Typo fix 2014-01-06 03:55:25 +04:00
Alexey Miheev
1e9b9c3faa Add pinba timer for db_query 2014-01-06 03:50:37 +04:00
Aleksei Miheev
04c90648c8 Merge branch 'master' of ssh://bitbucket.org/rusty_angel/rock-site 2014-01-05 23:54:42 +04:00
Aleksei Miheev
12fc012e9b add maxlenght attribute to inputs in topic creation form. 2014-01-05 23:52:19 +04:00
Aleksei Miheev
b80cc53461 Add rudimental pinba script name mangling code 2014-01-05 19:38:48 +00:00
Aleksei Miheev
bede9eddf8 Fix some links 2014-01-05 13:56:50 +00:00
Aleksei Miheev
af9cbb3e58 Add new year snow 2014-01-05 13:56:27 +00:00
Aleksei Miheev
36832c7018 update ccs version 2014-01-05 13:55:13 +00:00
Aleksei Miheev
9c0c421cf1 Let facebook and others detect image, desc and link themselves (for now) 2014-01-05 13:54:37 +00:00
Aleksei Miheev
4f856d7458 Some more sanity check (I'm not sure I ever needed that) 2014-01-05 13:51:40 +00:00
Aleksei Miheev
266a72132c Properly escape filter in topiclist, so russian letters filtering would work 2014-01-05 13:50:03 +00:00
Aleksei Miheev
4cff01c3a9 Add canonical urls anywhere possible 2014-01-05 13:48:50 +00:00
Aleksei Miheev
ce9ab3d8c6 Reuse orphan .penalty css class moderatorial comments 2014-01-05 13:45:34 +00:00