Commit Graph

257 Commits

Author SHA1 Message Date
ctrlcctrlv
47dec49465 Optionally access mod cookie in JavaScript 2013-08-19 03:01:15 +10:00
Michael Foster
5051e0572a Missing theme conf type "checkbox" 2013-08-19 02:03:54 +10:00
ctrlcctrlv
2eb68ac398 Better setting name 2013-08-18 01:53:39 +00:00
ctrlcctrlv
52fe0c8989 Optionally access mod cookie in JavaScript 2013-08-18 01:44:36 +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
0d45fbc799 Add \n before post modifiers. Add flag alt for country flags. 2013-08-17 03:39:58 +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
47ddd2f8b2 Fix editing raw HTML posts 2013-08-16 22:18:57 +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
czaks
4f855cf3b3 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
2013-08-13 14:46:16 -04:00
Michael Foster
e0a8ffcfb9 ?/config: Link URLs in comments 2013-08-12 21:14:32 +10:00
ctrlcctrlv
2018fd206b Improve spoiler action
Conflicts:
	inc/mod/pages.php
2013-08-12 12:57:54 +10:00
ctrlcctrlv
ed04525994 Spoil files moderator action 2013-08-12 12:55:44 +10:00
czaks
8534e2cc80 Merge branch 'noko50-new-dev11' of http://github.com/fallenPineapple/Tinyboard
Conflicts:
	inc/functions.php
2013-08-11 17:49:29 -04:00
ctrlcctrlv
b9ec342750 Merge conflict 2013-08-11 15:36:17 +00:00
ctrlcctrlv
fd54de7126 Improve spoiler action 2013-08-11 13:54:11 +00:00
czaks
fa9bf536c3 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/mod/pages.php
	js/catalog-link.js
	post.php
	templates/banned.html
2013-08-11 09:50:33 -04:00
ctrlcctrlv
38c9ac65d8 Critical bug: could not move threads/posts with spoiler images, resulted in I/O error
Conflicts:
	inc/mod/pages.php
2013-08-11 21:26:02 +10:00
fallenPineapple
12ee85beaf Adds "noko50" (View Last 50 Posts) pages. (Broken Reply) 2013-08-10 17:16:30 -04:00
czaks
6fb2ea3b31 fix support for board prefixes after merge 2013-08-09 17:42:19 -04:00
ctrlcctrlv
379eb7d553 Critical bug: could not move threads/posts with spoiler images, resulted in I/O error 2013-08-09 19:40:49 +00:00
ctrlcctrlv
1b10821603 mistake in last commit 2013-08-08 21:09:38 +00:00
ctrlcctrlv
ddbe562f9c Optionally allow the moving of single replies 2013-08-08 21:08:01 +00:00
ctrlcctrlv
a59c2e8369 Spoil files moderator action 2013-08-08 19:41:21 +00:00
czaks
2cc0769f54 Revert "Merge branch 'master' of github.com:vichan-devel/Tinyboard"
This reverts commit a84c4510fc, reversing
changes made to a8327c3a37.
2013-08-05 06:17:01 -04:00
czaks
a84c4510fc Merge branch 'master' of github.com:vichan-devel/Tinyboard
Conflicts:
	js/post-hider.js
2013-08-05 06:03:40 -04:00
Michael Foster
c3da5ab4e1 ?/config: Advanced permissions 2013-08-04 17:53:09 -04:00
Michael Foster
b7070aeac6 Fix issue with installing and creating boards with MySQL < 5.5.3. Issue #129 2013-08-04 15:23:26 -04:00
Michael Foster
2f4e2daa61 Fix redirect with board config editor (raw php) 2013-08-03 06:27:13 -04:00
Michael Foster
424de7561d Web config editor: board configs 2013-08-03 06:26:17 -04:00
Michael Foster
0d1bfa47f1 Web config editor: Write "MOD", "JANITOR", etc. to instance-config instead of just int representations 2013-08-03 05:41:01 -04:00
Michael Foster
c9684fc000 Better/working web config editor 2013-08-03 05:21:02 -04:00
Michael Foster
ea1fe528a4 Fix ordering of notes and bans 2013-08-03 02:06:58 -04:00
Michael Foster
5a44c50811 Simple file editor replacement for ?/config (optional). Issue #127 2013-08-01 17:18:10 -04:00
czaks
bc76d934fe fix previous commit; markup is called via reference 2013-08-01 01:09:54 -04:00
czaks
05fb4cbca4 markup modifiers: there was a plan for adding markup to ban reasons, but assignment was missing; escape markup there too 2013-08-01 01:09:21 -04:00
Michael Foster
a052a791b5 Add optional database table prefix (issue #118; see issue comments for details) 2013-07-31 22:14:26 -04:00
czaks
ab36452543 fix post editing for tinyboard markup 2013-07-31 21:26:55 -04:00
Michael Foster
ea2b8cce07 Bugfix: HTML injection in post editing (introduces and fixes yet another bug) 2013-07-31 21:24:17 -04:00
Michael Foster
0f9df0ac66 Newline before <tinyboard ban message> 2013-07-31 20:54:20 -04:00
Michael Foster
328484bee7 SQL cleanup 2013-07-31 20:51:43 -04:00
Michael Foster
6d52c8b428 Markup modifiers. Fix issue #66 (public ban message lost when rebuilding post body) 2013-07-31 18:59:54 -04:00
Michael Foster
439795e63b Disallow board names which are too large for the filesytem to handle 2013-07-31 06:40:57 -04:00
Michael Foster
42cba53887 Allow Unicode in board URIs. 2013-07-31 02:08:55 -04:00
Michael Foster
343397d561 ?/IP/: Don't show posts for board user doesn't have access to 2013-07-30 23:30:49 -04:00
Michael Foster
1759ac2ea3 Post search: Search other fields too 2013-07-29 20:20:07 -04:00
Michael Foster
58306bdc63 Search posts 2013-07-29 16:18:06 -04:00
Michael Foster
33a1c00bd5 %length% in public ban messages 2013-07-24 11:30:01 -04:00
Michael Foster
31f657e550 Long overdue: Salted password hashes 2013-07-24 11:15:55 -04:00
Czterooki
bc1bc9f6ef Merge branch 'master' of github.com:vichan-devel/Tinyboard 2013-07-20 18:28:57 -04:00
czaks
9f323ae65f Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/themes/sitemap/info.php
2013-07-20 17:28:34 -04:00
Michael Foster
67cbc2b1aa Fix permissions with search 2013-07-20 13:15:44 -04:00
Michael Foster
b776e0a7f0 Search update 2013-07-20 12:05:42 -04:00
Michael Foster
e62b83e79c Bring back search (searching posts not implemented yet) 2013-07-20 07:50:33 -04:00
Czterooki
aef4425592 merge with vichan-gold 2013-07-20 00:19:08 -04:00
Czterooki
01d9ad9d43 inc/mod/pages.php 2013-07-20 00:05:08 -04:00
czaks
7bdb96a16b Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
	templates/index.html
	templates/thread.html
2013-07-16 13:02:13 -04:00
Michael Foster
c8f30550af $config['require_ban_view']: Force users to view the "You are banned" page at least once before letting a ban disappear naturally. 2013-07-16 06:33:37 -04:00
Michael Foster
7302fc57a8 Automatically dismiss all reports regarding a thread after it is locked. 2013-07-16 02:32:44 -04:00
Michael Foster
2144d43f2b Fix issue #24 2013-07-16 02:27:20 -04:00
Michael Foster
23b27d8057 Add clean() to mod_move function 2013-07-16 01:38:24 -04:00
czaks
24a520485d Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/page.html
2013-06-21 16:41:39 -04:00
Michael
0ac9dd5f25 Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Macil Tech
be1e55b9d6 Fix result page after installing theme getting doubled up. 2013-06-18 11:14:02 -05:00
Macil Tech
3bcc87caf2 Fix PM count caching.
cache::get() returns null if the key wasn't found (at least when using
the Redis cache backend).
2013-06-18 11:02:45 -05:00
czaks
258083e5cb Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-05-26 17:53:00 -04:00
undido
b4ff535128 update to pages.php minor exploit
A lot of bans can be removed from a tinyboard database because it isn't limited A staff member could select 100 users all at once with a simple javascript function and unban them all this needs to be limited because a staff member on an image board if they feel hostile they can just remove all bans on the tinyboard site easily without being limited to how many people they can unban at a time, this adds an option to limit it.
2013-04-16 19:09:58 -03:00
Fredrick
bb54605eb7 Fix per-board name not being used 2013-03-20 07:46:48 -04:00
Michael Save
64ae123739 Mod log in ?/IP (ie. ban history) 2013-03-16 18:27:24 +11:00
Michael Save
1816218c64 Fix: Critical security vulnerability 2013-03-15 00:40:02 +11:00
Michael Save
2051018ba1 ... 2013-01-30 05:07:09 +11:00
Michael Save
5661e32b1c Instead of showing $config['error']['malformed'] on corrupt session, just go straight to the login form 2013-01-30 04:45:38 +11:00
Marcin Łabanowski
b4efebae55 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-29 14:31:35 +01:00
Michael Save
774e27caf5 Use === operator in authentication. 2013-01-29 22:13:35 +11:00
Michael Save
e5bf2a91fc Don't always redirect to dashboard on login 2013-01-29 22:11:33 +11:00
Marcin Łabanowski
d1bd4e1f7b Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-28 13:29:21 +01:00
Michael Save
1ad71b33e2 More use of mod log 2013-01-27 19:02:47 +11:00
Marcin Łabanowski
e6b9bad788 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	mod.php
2013-01-26 15:08:48 +01:00
Marcin Łabanowski
9b7b1c996f Revert "[EDIT] restore previous behaviour (editing of html, not bbcode)"
This reverts commit 55d752073d.
2013-01-26 15:03:31 +01:00
Michael Save
9a2c33736a New debug page: ?/debug/sql 2013-01-25 23:56:55 +11:00
Michael Save
764d718f84 ?/debug/recent 2013-01-25 22:23:26 +11:00
Michael Save
d5a994537b New debug mod page: ?/debug/recent (recent posts across all boards) 2013-01-25 22:18:03 +11:00
Michael Save
060be53797 Show "most recent" in anti-spam debug page 2013-01-24 19:25:07 +11:00
Michael Save
85710249b7 Raw HTML editing 2013-01-24 19:16:25 +11:00
Marcin Łabanowski
55d752073d [EDIT] restore previous behaviour (editing of html, not bbcode) 2013-01-23 19:06:13 +01:00
Marcin Łabanowski
fabba73ce4 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into HEAD
Conflicts:
	mod.php
2013-01-23 18:58:38 +01:00
Marcin Łabanowski
e087e9afae Revert "[EDIT] added dummy page"
This reverts commit a051ca64ab.

Conflicts:
	mod.php
2013-01-23 18:57:02 +01:00
Marcin Łabanowski
635cd5a7d9 Revert "[EDIT] added dummy form"
This reverts commit 1a2c859996.
2013-01-23 18:54:48 +01:00
Marcin Łabanowski
b04a05494a Revert "[EDIT] basic edit support"
This reverts commit 9fec3646fa.

Conflicts:
	inc/mod/pages.php
2013-01-23 18:54:41 +01:00
Michael Save
bceb314ce6 Major fixes and clean-up for edit form 2013-01-24 04:16:09 +11:00
asiekierka
c7c5a65a1f [EDIT] basic edit support 2013-01-24 03:53:23 +11:00
asiekierka
64e06dfcf3 [EDIT] added dummy form 2013-01-24 03:53:06 +11:00
asiekierka
684b7f8492 [EDIT] added dummy page 2013-01-24 03:52:55 +11:00
Marcin Łabanowski
18ca523b18 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-21 13:17:13 +01:00
Michael Save
7a68fc9525 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Marcin Łabanowski
82fb733906 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-19 16:23:02 +01:00
Macil Tech
5628f78970 Made deleting posts by IP more efficient.
No longer rebuilds same thread multiple times.
2013-01-19 00:39:29 -06:00
Macil Tech
0092fc62ab Extend timelimit when rebuilding from mod interface.
The rebuild_timelimit config option was not used anywhere since the mod
interface rewrite.
2013-01-19 00:39:29 -06:00
Macil Tech
322b902c8a Fix incorrect log message when bumplocking and stickying threads. 2013-01-19 00:39:29 -06:00
Macil Tech
fda99305ae Global missing from mod_logout 2013-01-19 00:39:29 -06:00
Macil Tech
00bd5e8d20 Remove buildThread() call from mod_deletefile because deleteFile()
already calls it.
2013-01-18 23:13:08 -06:00
Marcin Łabanowski
c18ed4e51a Merge branch 'master' of https://github.com/asiekierka/Tinyboard
Conflicts:
	mod.php
2013-01-09 08:35:27 +01:00
Marcin Łabanowski
f6e9dbed13 Facilitate creation and usage of boards with "." and "+" characters in name.
This commit is mostly work in progress, will be rewritten.
2013-01-09 08:33:40 +01:00
asiekierka
e145a0ea89 edit bugfixes 2013-01-08 07:57:21 +01:00
asiekierka
9fec3646fa [EDIT] basic edit support 2013-01-08 07:52:13 +01:00
asiekierka
1a2c859996 [EDIT] added dummy form 2013-01-08 04:35:22 +01:00
asiekierka
a051ca64ab [EDIT] added dummy page 2013-01-08 04:31:09 +01:00
Michael Save
30ecfc76e7 Added new events: lock and load-config 2012-11-19 10:28:23 +11:00
Michael Save
db14f9ce15 Bugfix: [F] 2012-09-28 04:00:13 +10:00
Michael Save
ac9296169f Bugfix: B&D "invalid security token" error 2012-09-28 03:54:32 +10:00
Michael Save
268d9d2c88 bugfix: security token forgotten for ban form in view_ip.html 2012-08-28 02:24:29 +10:00
Michael Save
a7d4a5c3c8 pagination bug for user logs 2012-08-27 22:15:58 +10:00
Michael Save
b105a17b4f user logs 2012-08-27 22:13:47 +10:00
Michael Save
913010cff5 minor consistency cleanup 2012-08-27 21:50:15 +10:00
Michael Save
eb146d9201 properly tie auth cookies to private salt 2012-08-27 21:45:05 +10:00
Michael Save
6229b82a43 CSRF protection 2012-08-27 15:19:05 +10:00
Michael Save
c5ec20684e themes 2012-08-13 00:18:13 +10:00
Michael Save
8d96bfc3e9 minor change 2012-05-28 17:08:29 +10:00
Michael Save
e4b6c89375 show number of reports from dashboard; translatable mod panel 2012-05-25 21:40:01 +10:00
Michael Save
0c682f5cc3 Missing buildIndex() after moving threads 2012-05-22 15:25:22 +10:00
Michael Save
bb521da32e small code cleanup 2012-05-20 20:22:19 +10:00
Michael Save
4a48888b55 Config editor 2012-05-20 20:21:33 +10:00
Michael Save
d3739c48c2 Config editort 2012-05-20 20:20:50 +10:00
Michael Save
0f04117037 Cache unread PM notices 2012-05-20 19:06:27 +10:00
Michael Save
d2c6853ed3 small bugfixes 2012-05-19 20:52:45 +10:00
Michael Save
93c3ceb04d tiny cleanup 2012-05-19 20:46:05 +10:00
Michael Save
970c6cd95b [move] 2012-05-19 18:27:45 +10:00
Michael Save
1593916907 Permissions fix; missing global 2012-05-18 20:30:55 +10:00
Michael Save
9eb3a17faa Bugfix: ?/ban did the same as ?/ban&delete 2012-05-08 00:49:48 +10:00
Michael Save
2cc17f8d9b more information in modlog for bans 2012-05-08 00:42:17 +10:00
Michael Save
e132e4c2b3 a few permissions-related bugs 2012-05-07 14:08:40 +10:00
Michael Save
a610458720 a lot more improvements 2012-05-06 01:33:10 +10:00
Michael Save
c5678daa06 ?/deletebyip 2012-04-21 15:42:33 +10:00
Michael Save
19ea6e3d44 ?/deletefile 2012-04-21 15:29:57 +10:00
Michael Save
2a301de29f Paginate ?/noticeboard 2012-04-21 15:15:32 +10:00
Michael Save
2c1f14d24b Improvements to new mod panel 2012-04-21 12:42:41 +10:00
Michael Save
07fc56b80b Noticeboard on dashboard 2012-04-20 21:54:30 +10:00
Michael Save
de84ca6f75 Multiple improvements: ?/ban/<post> & ?/ban&delete/<post> 2012-04-20 21:37:48 +10:00
Michael Save
4fcf9c2c91 Starting on ?/ban/<post> 2012-04-20 19:47:55 +10:00
Michael Save
4891eae24e added filter/purge controls to ?/debug/antispam 2012-04-19 22:40:11 +10:00
Michael Save
a340c5b6ee edit users 2012-04-16 23:18:07 +10:00
Michael Save
93553303b2 rebuild after sticky, lock, etc. 2012-04-16 20:14:57 +10:00
Michael Save
cc614e36b4 multiple improvements 2012-04-16 20:11:10 +10:00
Michael Save
f0412b0814 paginate ban list 2012-04-16 19:13:30 +10:00
Michael Save
7101fa540b rebuilding 2012-04-16 17:33:13 +10:00
Michael Save
41e1a2481b report queue 2012-04-16 17:28:57 +10:00
Michael Save
ad55a634bf various improvements 2012-04-16 16:40:24 +10:00
Michael Save
e5c4394185 rebuild wasn't working unless you choes "all boards" 2012-04-15 20:04:26 +10:00
Michael Save
de8cc487d8 rebuild 2012-04-14 22:58:36 +10:00
Michael Save
87281687ed promote/demote users, started on rebuild 2012-04-14 22:28:21 +10:00