1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-23 12:54:58 +01:00
Commit Graph

209 Commits

Author SHA1 Message Date
Zankaria
23f3d15a52 extract create_pm_header 2024-10-06 10:41:32 +02:00
Zankaria
25b2b6bc6e display.php: trim 2024-10-02 22:19:44 +02:00
fowr
ba2daa88e6 fix conversion of false to array 2024-05-11 15:38:17 +02:00
Lorenzo Yario
85471e007e
vichan likes to error on the ban appeals page if this isn't set this way 2024-04-19 12:03:49 -07:00
Fred Brennan
a69337e243 Apply inc/display.php@0a2dfed from vichan/infinity 2023-01-24 02:35:15 -05:00
sshscp15
30e7574649
Fix display warning/errors (#496)
* prevent filling debug param when debug is off

* fix php warning: "$item" must be passed by reference
2022-09-15 13:03:32 -04:00
C Hatfield
ae2d91c534
Moved hardcoded html filepaths into config file for extensibility (#354)
Co-authored-by: chatfield <chatfield@creatuity.com>
Co-authored-by: Fred Brennan <copypaste@kittens.ph>
2022-08-29 10:50:45 -04:00
czaks
9768161327 simplify the code a bit 2016-05-05 07:51:55 +02:00
czaks
6d4e756240 fix a bug for some bad database state. thanks Seisatsu for testing 2015-09-11 12:49:42 +02:00
Marcin Łabanowski
4014682882 fileboard support 2015-04-22 06:06:34 +02:00
czaks
bdb6001f3f support for slugified links; may introduce a few bugs 2015-03-10 12:48:59 +01:00
Marcin Łabanowski
d78dcd6ed6 fix a bug reported by Dudeman on #v-d 2014-08-21 04:27:47 +02:00
8chan
9df6ca8ddd Fix issue #45 2014-06-24 19:41:00 +00:00
8chan
073e6bec83 Fix array_filter error message when debug_stuff is false 2014-05-27 23:50:20 +00:00
Fredrick Brennan
85136b76ed No need for global config 2014-05-19 13:46:18 -04:00
Fredrick Brennan
ff809ccf71 SECURITY: Remove $config[db][password] when $config[debug] is TRUE 2014-05-19 13:39:30 -04:00
czaks
fe126cb4bf rewrite filename truncation code; ref #53 2014-05-11 14:10:53 +02:00
Jason Lam
eca5c383e1 added truncate_filename function 2014-05-09 20:42:05 -04:00
Fredrick Brennan
042e7b9c59 Deprecate postControls(), per-file deletion and spoilering 2014-04-30 17:18:35 -04:00
czaks
18e9c32a0e limit the cli debug uptput 2014-04-29 18:48:21 +02:00
czaks
28b9584a7b display backtrace when error on rebuilding from CLI 2014-04-27 16:01:41 +02:00
copypaste
c483e1258c multiimage posting 2014-04-27 15:48:47 +02:00
czaks
b87d3d76d5 improve debugging 2014-04-20 23:16:15 +02:00
czaks
c8913f41a7 compact-boardlist.js: initial commit 2013-12-28 00:53:42 +01:00
czaks
13dbde96f4 fix ajax.js errors workings 2013-12-23 18:54:24 +01:00
czaks
6cb7eb939e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
	inc/config.php
	inc/display.php
	inc/mod/pages.php
	install.php
	js/quick-reply.js
	post.php
	templates/index.html
2013-09-17 10:43:44 -04:00
Michael Foster
00833eeafd js/ajax.js: post with ajax 2013-09-15 14:03:27 +10:00
Michael Foster
9d770f456f show-thread event 2013-09-15 03:54:09 +10:00
czaks
069f1def9b Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
2013-09-01 11:25:19 -04:00
Michael Foster
94ac200d57 fix pm_snippet bug 2013-08-31 13:26:53 +10:00
czaks
8de81d176c Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
2013-08-29 07:33:19 -04:00
Michael Foster
3b63cad71f $config['always_regenerate_markup'] 2013-08-29 15:29:04 +10:00
czaks
de035f4a7e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	stylesheets/dark_roach.css
	stylesheets/style.css
2013-08-20 18:22:37 -04:00
Michael Foster
abfdd38e59 Unicode bi-directional text: Finally a working fix 2013-08-19 23:47:56 +10:00
czaks
6634b43572 Merge branch 'master' of https://github.com/ctrlcctrlv/Tinyboard 2013-08-18 19:26:51 -04:00
czaks
5389b0f358 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-18 19:26:31 -04:00
ctrlcctrlv
affad5594e Fix compatibility with php<5.4, sorry anachronos ;_; 2013-08-18 22:51:09 +00:00
Michael Foster
c8fcba9439 disregard 2013-08-19 05:22:08 +10:00
Michael Foster
d2fdeead64 bidi_cleanup: Just replace with HTML5's <bdi> (for now, at least). The old code was hardly working, and had issued with older PHP versions. 2013-08-19 05:19:54 +10:00
czaks
946c49ac5a boardlist work part 1: boardname in subtitle; work to make js restyling feasible 2013-08-17 22:41:40 -04:00
ctrlcctrlv
979e5754a5 Better error handling 2013-08-17 19:08:54 +00:00
czaks
ca565d07c2 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/display.php
2013-08-16 16:06:54 -04:00
Michael Foster
e5103b543a fix aspect ratio displaying 2013-08-17 04:11:24 +10:00
czaks
146243c473 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
2013-08-16 10:07:24 -04:00
Michael Foster
aaeac9de3c forgot this here 2013-08-16 21:51:10 +10:00
Michael Foster
57e69268ef This wasn't usd anywhere. 2013-08-16 21:46:51 +10:00
Michael Foster
b666886416 A few modifications:
1. Finally, clean up some of the crappy code in inc/display.php; no more extreme clutter. new Thread() and new Post() take an array as the first parameter now.

2. Poster country flags. Currently requires the "geoip" extension.

3. Give post images a classname. This was also long-overdue.
2013-08-16 21:08:01 +10:00
Michael Foster
169c68e862 use single quotes 2013-08-12 21:08:40 +10:00
ctrlcctrlv
6e74f2a1a6 accidentally spaces 2013-08-12 12:55:52 +10:00
ctrlcctrlv
ed04525994 Spoil files moderator action 2013-08-12 12:55:44 +10:00