1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-15 00:51:18 +01:00
Commit Graph

1467 Commits

Author SHA1 Message Date
Savetheinternet
72c7e563e0 IPv6 for mod.php 2011-02-17 20:41:00 +11:00
Savetheinternet
a43bff0fa5 IPv6 support 2011-02-17 20:32:11 +11:00
Savetheinternet
cdc8a2df5b Ability to customize default name ("Anonymous") 2011-02-17 20:12:09 +11:00
Savetheinternet
bf8418028e prev/next page buttons 2011-02-17 18:37:18 +11:00
Savetheinternet
19331fb6b2 Fixed the when-there-are-no-posts-there-are-no-pages bug 2011-02-17 17:14:57 +11:00
Savetheinternet
75747c47b6 Show omitted image replies count 2011-02-17 17:07:36 +11:00
Savetheinternet
1af85e650e Allow admins to bypass flood filters 2011-02-17 17:07:22 +11:00
Savetheinternet
a17a55dfef Better looking page number list 2011-02-16 23:32:43 +11:00
Savetheinternet
a5d1303305 Fixed bug/typo 2011-02-16 22:04:53 +11:00
Savetheinternet
88cbe258fe Made default max image size 10000x10000 2011-02-16 21:13:32 +11:00
Savetheinternet
59f3c2d674 Changed the mod[postunoriginal] default to ADMIN 2011-02-16 20:38:28 +11:00
Savetheinternet
fb355f6c2c Fixed the robot for the arrayed config 2011-02-16 20:37:57 +11:00
Savetheinternet
6b3f051b96 Return to page if mod clicked on a link to a moderator page but was not logged in 2011-02-16 19:59:13 +11:00
Savetheinternet
7696feae8e Per-board configuration files 2011-02-16 19:41:34 +11:00
Savetheinternet
2413cc9618 Added a check to stop redefining JANITOR, MOD and ADMIN 2011-02-16 19:38:08 +11:00
Savetheinternet
32178844b3 Fixed up a small config bug 2011-02-16 19:29:56 +11:00
Savetheinternet
3933fba18f Removed bug where some config stuff was overrided by script. 2011-02-16 19:25:50 +11:00
Savetheinternet
1dcf2ba9ed added right arrow in auto_uncidoe 2011-02-16 19:21:43 +11:00
Savetheinternet
a8df25a6c4 Removed tabs 2011-02-16 16:26:02 +11:00
Savetheinternet
8fab97ef78 Don't overwrite configs when loading 2011-02-16 16:24:23 +11:00
Savetheinternet
027337dbdd Change of instance-config defaults 2011-02-16 16:21:48 +11:00
Savetheinternet
ce8567771e Better way of loading configuration 2011-02-16 16:21:14 +11:00
Savetheinternet
c98d0eac98 removed defaulting root to / 2011-02-16 15:49:49 +11:00
Savetheinternet
d07ef05aa6 default $config[root] 2011-02-16 15:48:32 +11:00
Savetheinternet
44d280e120 ... 2011-02-16 14:44:42 +11:00
Savetheinternet
3737439338 Changed config to an array 2011-02-12 17:25:15 +11:00
Savetheinternet
c34ea2e3af a Fixed delete by IP, plus a bunch of small stuff 2011-02-11 23:02:30 +11:00
Savetheinternet
bcfc8c4a70 Started on ban list 2011-02-07 00:38:01 +11:00
Savetheinternet
6994b6a2f5 Fix internal links for moderator interface 2011-02-07 00:37:26 +11:00
Savetheinternet
4bcd995bea raw html 2011-02-03 20:28:14 +11:00
Savetheinternet
67148f2846 ... 2011-01-21 13:14:55 +11:00
Savetheinternet
ec34fa8076 delete 2011-01-21 13:14:11 +11:00
Savetheinternet
e1e5dc713e reply limit and mutes 2011-01-20 19:24:41 +11:00
Savetheinternet
a62cd3893f robot mutes and reply count 2011-01-20 19:24:23 +11:00
Savetheinternet
c59f36f400 a bunch of things 2011-01-19 12:37:31 +11:00
Savetheinternet
62bd2ee348 A bunch of stuff. 2011-01-19 00:41:43 +11:00
Savetheinternet
d284b0d50d flood prevention 2011-01-18 17:11:28 +11:00
Savetheinternet
5c2b7dfe61 .. 2011-01-18 16:48:39 +11:00
Savetheinternet
f47cccab01 fixed ban addition page 2011-01-15 15:37:39 +11:00
Savetheinternet
c2727787ab Basic "IP" page 2011-01-15 15:29:05 +11:00
Savetheinternet
ee6af9bfba Fix for empty() on a constant 2011-01-15 14:59:27 +11:00
Savetheinternet
c17a26d689 Fixed a small mistake, not causing any major problems 2011-01-15 14:17:03 +11:00
Savetheinternet
05712d7457 Check if board already exists when creating it 2011-01-03 17:28:18 +11:00
Savetheinternet
3a3578c805 Valid HTML5 2011-01-03 16:29:34 +11:00
Savetheinternet
083d7213f6 Fixed link in "Go back" on error pages for mods 2011-01-03 15:10:21 +11:00
Savetheinternet
98c62258b4 Improved countdown timer 2011-01-03 15:00:14 +11:00
Paul Merrill
a0ae475ea4 Added live countdown to expiry on ban page. 2011-01-02 08:27:34 -08:00
Savetheinternet
db17603221 Locking permissions 2011-01-03 02:28:29 +11:00
Savetheinternet
5538d5589d Fixed error, confused stickies with locks 2011-01-03 02:00:03 +11:00
Savetheinternet
76cb8b0788 Lock controls on posts 2011-01-03 01:58:38 +11:00
Savetheinternet
f5f4d8743e Fixed an incorrect comment... 2011-01-03 01:57:24 +11:00
Savetheinternet
8981e4b275 Changed FILE_HASH to default to sha1 2011-01-03 01:56:06 +11:00
Savetheinternet
8fe1846e56 Allow mods to post in locked threads as per the config 2011-01-03 01:33:57 +11:00
Savetheinternet
5df6f85854 Don't allow users to post in locked threads' 2011-01-03 01:23:34 +11:00
Savetheinternet
e23aa7a736 FILE_HASH in config.php 2011-01-02 22:45:25 +11:00
Savetheinternet
90b48f128b .. 2011-01-02 22:32:51 +11:00
Savetheinternet
97e927bef9 Show locked threads 2011-01-02 22:30:30 +11:00
Savetheinternet
5c094429d7 Locks 2011-01-02 22:25:17 +11:00
Savetheinternet
bcda984255 Fixed URL matching 2011-01-02 22:17:25 +11:00
Savetheinternet
6bbe658370 Fixed URL matching with double dashes in hostname 2011-01-02 22:16:18 +11:00
Savetheinternet
7ae3678554 Fixed URL matching with double dashes in hostname 2011-01-02 22:14:51 +11:00
Savetheinternet
d579771210 Mod stickies and redirects 2011-01-02 21:15:59 +11:00
Savetheinternet
39515df999 Added ERROR_NOTAMOD 2011-01-02 21:09:02 +11:00
Chris
a3b438104e start work on a web based installer 2011-01-02 16:18:10 +08:00
Savetheinternet
2f602e9b4d Fixed DELETED_IMAGE showing wrong image location 2011-01-02 15:31:47 +11:00
Savetheinternet
55595e8cfd Rearranged some stuff in config.php 2011-01-02 15:30:20 +11:00
Savetheinternet
a22df7b039 Removed old, un-used, commented-out code 2011-01-02 02:00:40 +11:00
Savetheinternet
9ba2638ad7 Configurable post time format 2011-01-02 01:45:14 +11:00
Savetheinternet
d46c40652c Bans expire 2011-01-02 01:43:25 +11:00
Savetheinternet
3c24ecd412 Bans 2011-01-02 01:37:52 +11:00
Savetheinternet
eeb512f549 Fixed code to use new column 2011-01-02 00:51:20 +11:00
Savetheinternet
ca7faa835e Basic ban-adding 2011-01-02 00:27:30 +11:00
Savetheinternet
f1c48f6122 When removing an already-removed image, make it a no-post post. 2011-01-01 22:18:58 +11:00
Savetheinternet
e401668732 Fixed major security bug and image deleting 2011-01-01 22:12:31 +11:00
Savetheinternet
2179b03980 Fixed filehash when uploading images 2011-01-01 21:46:50 +11:00
Savetheinternet
583a6a58d9 Remove files 2011-01-01 21:44:11 +11:00
Savetheinternet
1fa0f64038 Rebuild threads after a post is deleted 2011-01-01 21:42:22 +11:00
Savetheinternet
472e12e405 Fixed filename in image posting 2011-01-01 20:45:18 +11:00
Savetheinternet
aa88e0984e Replaced bindParam() with bindValue() 2010-12-18 15:07:07 +11:00
Savetheinternet
323fe4e61c URL_MATCH when ROOT is a full URL 2010-12-18 04:12:37 +11:00
Savetheinternet
7e978cebd9 Added a comment 2010-12-18 03:01:46 +11:00
Savetheinternet
9d5482874a Compressed URL_MATCH 2010-12-18 02:52:06 +11:00
Savetheinternet
796a544560 Added DB_DSN 2010-12-18 02:24:27 +11:00
Savetheinternet
0b76cd535f Fixed config 2010-12-18 01:43:56 +11:00
Savetheinternet
6be386aca1 Extened error message on database failure 2010-12-18 01:32:12 +11:00
Savetheinternet
574256a01a Use PDO for databases 2010-12-18 01:18:03 +11:00
Savetheinternet
139514402d Only show "delete file" link on posts with files 2010-12-17 20:05:26 +11:00
Savetheinternet
68b98df6cd Changed sticky from base64 to an image 2010-12-17 17:11:41 +11:00
Savetheinternet
46166888e9 ERROR_INVALIDAFTER was not configurable 2010-12-17 02:31:10 +11:00
Savetheinternet
fb576d7966 Moved "zip.png" file in code to new "static" directory 2010-12-17 02:26:59 +11:00
Savetheinternet
9554291802 Mod controls and permissions 2010-12-17 02:20:16 +11:00
Savetheinternet
627c6ac91a Stickies 2010-12-16 23:08:52 +11:00
Savetheinternet
b0bee3556f Made HTML valid in mod controls 2010-12-16 22:48:54 +11:00
Savetheinternet
db50d07681 Fixed "Return" links in threads 2010-12-16 21:43:01 +11:00
Savetheinternet
22641bdc58 Basic stickies 2010-12-16 21:28:38 +11:00
Savetheinternet
9e2a8f248d Moved several DELETE queries into one 2010-12-16 20:29:35 +11:00
Savetheinternet
f45d3fdb32 Check if post exists when deleting 2010-12-16 17:05:29 +11:00
Savetheinternet
f49bfa17c0 MOD_STICKY 2010-12-16 17:04:33 +11:00
Savetheinternet
be1f119227 Mod controls for OP 2010-12-16 17:04:10 +11:00
Savetheinternet
faf90e4527 deleteThread() function 2010-12-16 16:36:33 +11:00
Savetheinternet
fe1ca57ff5 FILE_PAGE was being ignored 2010-12-16 16:36:14 +11:00
Savetheinternet
5adfff925b Post moderation controls 2010-12-13 02:44:43 +11:00
Savetheinternet
7a728f4a3e Fixed bug causing incorrect links when not a mod 2010-12-13 02:24:26 +11:00
Savetheinternet
974492e11f Fixed major bug causing new installations to fail 2010-12-13 02:21:56 +11:00
Savetheinternet
409ee49ed3 Fixed a small bug with the quote links on index pages 2010-12-10 21:24:54 +11:00
Savetheinternet
dcaeb7a81a Fixed links for mod pages 2010-12-10 21:22:46 +11:00
Savetheinternet
33c27ce7fa Finalized showing IP addresses for mods 2010-12-10 21:16:20 +11:00
Savetheinternet
5c557d44e8 MOD_SHOW_IP in config.php 2010-12-10 21:15:02 +11:00
Savetheinternet
3153ae01d4 Ability to show poster IP addresses to moderators 2010-12-10 21:14:45 +11:00
Savetheinternet
aca7afbf46 Moved "$mod = false" to user.php 2010-12-10 21:03:20 +11:00
Savetheinternet
0df2dfd6d5 MOD_NEVER_REAL_PASSWORD in config.php 2010-12-10 20:53:30 +11:00
Savetheinternet
46ad66514a A comment. 2010-12-10 20:39:56 +11:00
Savetheinternet
88c4ef787e Simple permission handling 2010-12-10 20:38:49 +11:00
Savetheinternet
6d2813857e Fix for IP address links 2010-12-08 04:32:07 +11:00
Savetheinternet
337728f591 Fixed encoding error 2010-12-02 20:57:15 +11:00
Savetheinternet
cb0912754f "Create board" page 2010-12-02 20:55:56 +11:00
Savetheinternet
41daaa16b1 boards now have individual tables. 2010-12-02 19:08:29 +11:00
Savetheinternet
bbb7910398 Created basis for mod dashboard 2010-12-02 18:26:09 +11:00
Savetheinternet
e16a05cda7 listBoards() functions 2010-12-02 18:15:50 +11:00
Savetheinternet
b2bd3303f9 REDIRECT_HTTP directive 2010-12-02 18:07:24 +11:00
Savetheinternet
20fd2fc232 Basic login and page handling. 2010-12-02 18:02:04 +11:00
Savetheinternet
3e91dbadd4 Fixed instance-config.php 2010-12-01 23:44:57 +11:00
Savetheinternet
f12e524544 Removed debugging code. 2010-12-01 23:40:43 +11:00
Savetheinternet
760ccab635 Removed some code. 2010-12-01 23:25:39 +11:00
Savetheinternet
84027c6d83 mod panel 2010-12-01 21:28:35 +11:00
Savetheinternet
52acb4023f Cleaned function. 2010-12-01 16:43:36 +11:00
Savetheinternet
5c7de28ca6 JAIL_COOKIES config directive. 2010-12-01 16:42:48 +11:00
Savetheinternet
5e63b4b8a0 Optional force display of errors 2010-12-01 16:20:59 +11:00
Savetheinternet
2247e286a3 Fixed quotes/cites in posts. 2010-12-01 13:08:35 +11:00
Savetheinternet
88357dc1b3 Removed pointless comment. 2010-12-01 12:54:58 +11:00
Savetheinternet
210563045d Close SQL connection on error. 2010-11-30 23:15:05 +11:00
Savetheinternet
b41a4a6ac7 Check if thread exists before posting. 2010-11-30 23:12:54 +11:00
Savetheinternet
79f0656ca2 Completing transition to multi-board support. 2010-11-30 22:59:24 +11:00
Savetheinternet
38ac7187fd Bug fix. Multiple boards now work. 2010-11-30 20:44:53 +11:00
Savetheinternet
d3526e020a Bug fix. 2010-11-30 20:41:57 +11:00
Savetheinternet
6f4c28f699 A bunch of new variables 2010-11-30 20:40:54 +11:00
Savetheinternet
d80cca13c0 More board functions 2010-11-30 20:38:36 +11:00
Savetheinternet
9d5674fbfc setupBoard() function 2010-11-30 20:24:09 +11:00
Savetheinternet
342d1d2f6b Removed debug code I accidentally commited. 2010-11-30 20:05:20 +11:00
Savetheinternet
ab5429dfc4 Bug fix for page links 2010-11-30 20:00:48 +11:00
Savetheinternet
aab95da24d Multi-board support. 2010-11-30 19:59:35 +11:00
Savetheinternet
e9e854829b Multi-board support. 2010-11-30 19:57:32 +11:00
Savetheinternet
ec5b314557 Commented out no-longer-needed code 2010-11-30 19:57:16 +11:00
Savetheinternet
25bc80d9ab Disregard. 2010-11-30 19:37:06 +11:00
Savetheinternet
a1039adb50 INDEX_FILE in config.php 2010-11-30 19:36:36 +11:00
Savetheinternet
5719bcc2f0 chmod directories to 777 by default 2010-11-30 19:31:52 +11:00
Savetheinternet
c3178f7ab4 comment 2010-11-30 19:22:23 +11:00
Savetheinternet
4dc13a3a92 Fixed bug causing templates to fail after a chdir() 2010-11-30 19:21:06 +11:00
Savetheinternet
6f5966e380 config comments 2010-11-30 19:14:00 +11:00
Savetheinternet
27cc4af33a boards 2010-11-30 19:12:35 +11:00
Savetheinternet
cd999b41f9 config 2010-11-30 18:59:48 +11:00
Savetheinternet
c7d7e2c509 Added a comment 2010-11-26 01:45:59 -08:00
Savetheinternet
16c158fb2b Unicode ellipsis fix. 2010-11-26 01:43:28 -08:00
Savetheinternet
a4299fe4a6 Wiki markup addition and ability to disable/enable it 2010-11-26 01:41:35 -08:00
Savetheinternet
f68669f63f Trimmed new lines after include scripts. 2010-11-16 00:36:48 +11:00
Savetheinternet
e8d03cb40b Removal of whitespace that should not have been there. 2010-11-16 00:34:39 +11:00
Paul Merrill
18962797a6 ROOT wasn't changable 2010-11-05 10:53:55 -07:00
Paul Merrill
ec74f73288 Added space after subject 2010-11-05 10:53:45 -07:00
Paul Merrill
8243912d9b Space between subject and name in post 2010-11-05 10:47:12 -07:00
Paul Merrill
17943d8be9 Em-dashes were being read as en-dashes. 2010-11-05 10:37:11 -07:00
Paul Merrill
83b062a896 Em-dash auto replace. 2010-11-05 09:11:42 -07:00
Savetheinternet
43b62acb44 Stopped storing the full path name of the images in the database. Should make it easier/possible to move the imageboard later. 2010-11-05 20:51:39 +11:00
Savetheinternet
247772323e Allowed change of root directory for systems where it is not the current directory. 2010-11-05 20:43:18 +11:00
Savetheinternet
f6abfa61c6 Added a check to verify if .ZIP files are infact archives. 2010-11-05 20:32:40 +11:00
Savetheinternet
6fc9db8087 ALLOW_ZIP defaults to false instead of true 2010-11-05 03:18:05 +11:00
Savetheinternet
fd36e447f2 Descriptive comment about ZIP uploads 2010-11-05 03:17:05 +11:00
Savetheinternet
6f801deaf4 Defaults change. Added ROOT. 2010-11-05 03:14:33 +11:00
Savetheinternet
61fc6f6899 Change of comments in instance-config.php 2010-11-05 03:13:43 +11:00
Savetheinternet
6c20b0ab03 Remove excess 2010-11-05 02:20:19 +11:00
Savetheinternet
b926d9b21c Fix of corrupted file 2010-11-05 01:39:02 +11:00
Savetheinternet
599530e935 Merge branch 'master' of github.com:savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/functions.php
	post.php
2010-11-05 01:35:53 +11:00
Savetheinternet
71447d9160 Shorten warning 2010-11-05 01:18:23 +11:00
Savetheinternet
7a5899e270 Informing instead of demanding with the "do not edit" sign. 2010-11-05 01:16:23 +11:00
Savetheinternet
20a8dff149 Removal of ASCII 2010-11-05 01:10:45 +11:00
Savetheinternet
2a5516e450 ASCII art fix 2010-11-05 01:09:25 +11:00
Savetheinternet
512227eaa9 ASCII art fix 2010-11-05 01:08:01 +11:00
Savetheinternet
abc0cda575 ASCII art fix 2010-11-05 01:06:53 +11:00
Savetheinternet
0296a7666f Comments in configs 2010-11-05 01:02:13 +11:00
Paul Merrill
7b43892527 Support for site-instance specific configuration in instance-config.php 2010-11-04 06:35:59 -07:00
Paul Merrill
4f8bd4da1f Merge branch 'sti'
Conflicts:
	inc/config.php
	inc/functions.php
	post.php
2010-11-04 05:16:13 -07:00
Savetheinternet
467ccdaf48 ZIP support 2010-11-04 23:07:50 +11:00
Savetheinternet
664dce496a ZIP support 2010-11-04 23:03:30 +11:00
Savetheinternet
d156f631ce ZIP support. 2010-11-04 23:02:31 +11:00
Savetheinternet
cdf1603c3a Fixed minor bug in config.php
Added ZIP support.
Cleaned functions.
2010-11-04 22:58:51 +11:00
Paul Merrill
5805de70b4 Reformatted error(), moved commaize() 2010-11-04 04:41:52 -07:00
Paul Merrill
455f0c2602 Improved large file size error message. 2010-11-04 04:30:23 -07:00
Savetheinternet
2eddc7a4ee Bug fix for invalid image detection. 2010-11-04 20:01:20 +11:00
Savetheinternet
90dd6f5949 Cleaner code and whitespace. 2010-11-04 19:40:51 +11:00
Savetheinternet
32f9ca2b70 Fixed major bug that was submitted with the previous commit 2010-11-04 18:25:23 +11:00
Savetheinternet
5765e2c423 Removed infinate loop vulnerability. More efficient code. 2010-11-04 18:22:57 +11:00
Savetheinternet
2dcef7e1eb Cleaner code 2010-11-04 17:16:47 +11:00
Savetheinternet
69205dc316 Minor change of wording in a comment 2010-11-04 16:58:43 +11:00
Savetheinternet
348ae010bc Aspect ratio for images 2010-11-04 15:40:39 +11:00
Savetheinternet
a2a404f1da Cleaned functions.
Added room for image aspect ratio. Implemented soon.
2010-11-04 03:10:47 +11:00
Savetheinternet
1e20121224 Issue #9 2010-11-04 01:55:52 +11:00
Savetheinternet
bb1abb85e1 Ability to strip excess data (commonly ZIP archives) from images. 2010-11-03 23:37:28 +11:00
Savetheinternet
f864d5df16 Fixed small issue with UTF-8 characters decreasing the maximum length of inputs. 2010-11-03 23:02:15 +11:00
Savetheinternet
0f99b1bb4a URL fix. 2010-11-03 21:10:04 +11:00
Savetheinternet
c06bd81051 URL fix. 2010-11-03 21:09:24 +11:00
Savetheinternet
0448206c72 Duplicate line :S 2010-11-03 20:51:32 +11:00
Savetheinternet
5f0a3aa146 URL markup 2010-11-03 20:44:51 +11:00
Savetheinternet
9504c77a80 Increased default max image dimensions. 2010-11-03 20:19:43 +11:00
Savetheinternet
8849f5a2db Maximum image dimensions 2010-11-03 20:07:32 +11:00
Savetheinternet
690f206a63 Added a maximum filesize for image uploads 2010-11-03 19:44:24 +11:00
Savetheinternet
0b50ef702f Simplified code/math. 2010-11-03 19:16:21 +11:00
Savetheinternet
d36572df47 Fixed page numbers. 2010-11-03 19:14:59 +11:00
Savetheinternet
a0b0b7971f Added a "test installation/configuration" file. 2010-11-03 17:56:54 +11:00
Savetheinternet
53e07c440f Mistake. 2010-11-03 00:43:33 +11:00
Savetheinternet
1b4012f879 Changed defaults for previous commit 2010-11-03 00:40:48 +11:00
Savetheinternet
d1d6429421 Transparency fix for thumbnails 2010-11-03 00:08:03 +11:00
Savetheinternet
ef39c6ab47 PNGs for thumbnails. 2010-11-02 23:26:37 +11:00
Savetheinternet
599824d2e6 Minor bug. 2010-11-02 23:05:18 +11:00
Savetheinternet
4754493e53 Error handling 2010-11-02 22:58:19 +11:00
Savetheinternet
962febb96a Unicode failure. 2010-11-02 22:54:50 +11:00
Savetheinternet
494387589c Error handling 2010-11-02 22:54:08 +11:00
Savetheinternet
284b3843c1 Fixed config.php 2010-11-02 22:37:56 +11:00
Savetheinternet
3d92990b18 first commit 2010-11-02 21:57:33 +11:00