Commit Graph

430 Commits

Author SHA1 Message Date
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
0de0bc6ceb Optional: Allow uploading by URL 2013-08-12 22:51:46 +10:00
Michael Foster
aecfc37510 Rename ban_page_message to ban_page_extra 2013-08-11 21:30:02 +10:00
ctrlcctrlv
9ee598ee81 Option to have a message on the ban page 2013-08-11 21:29:42 +10:00
ctrlcctrlv
39f542704b Option to have a message on the ban page
Conflicts:
	inc/config.php
2013-08-11 21:29:02 +10:00
ctrlcctrlv
acb4c47a9f Allow for HTML in the board subtitle
Conflicts:
	inc/config.php
2013-08-11 21:08:19 +10:00
Michael Foster
1248e329d2 remove maximum-scale in <meta name="viewport"> 2013-08-05 05:05:38 -04:00
Michael Foster
a3fbff2259 Update $config['try_smarter']. Should be working now. 2013-08-03 17:42:34 -04:00
Michael Foster
424de7561d Web config editor: board configs 2013-08-03 06:26:17 -04:00
Michael Foster
eb3fc990f5 Web editor: Don't add newlines in comments 2013-08-03 05:44:39 -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
1d37e81ade Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster
6ecda16be3 Forgot to commit this 2013-08-02 22:06:32 -04:00
Michael Foster
4fce9b63ae Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
Michael Foster
9e7fbf927c Installer improvements 2013-08-02 16:19:20 -04:00
czaks
5710575d1d Revert "Disable autocomplete": this breaks access to post text after an error, at least in Firefox
This reverts commit 90b82b1a06.
2013-08-02 00:09:23 -04:00
Michael Foster
f06978659b Installer: Nicer pre-installation test 2013-08-02 00:08:37 -04:00
Michael Foster
5a44c50811 Simple file editor replacement for ?/config (optional). Issue #127 2013-08-01 17:18:10 -04:00
Michael Foster
6b6f32949d Web config editor: Use a <select> for JANITOR/MOD/ADMIN permissions 2013-08-01 15:20:25 -04:00
Michael Foster
5bf0e7f7e7 Better/fixed jQuery styling and slightly improved js/inline-expanding.js accuracy (when jQuery is enabled) 2013-08-01 00:27:54 -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
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
328484bee7 SQL cleanup 2013-07-31 20:51:43 -04:00
czaks
6317a70152 header abstraction: abstracted also in thread.html
Conflicts:
	templates/page.html
	templates/thread.html
2013-07-31 17:14:10 -04:00
Michael Foster
6cdf603875 Fix last commit; Make Tinyboard Twig extension more mb-safe 2013-07-31 16:38:09 -04:00
Michael Foster
d692bce686 Fix issue #74. Note: This bug may break the display of certain filenames prior to upgrade. 2013-07-31 16:34:50 -04:00
Michael Foster
317f616e82 Accidentally included header.html twice 2013-07-31 05:06:29 -04:00
asiekierka
b01417be44 added Fluttershy recent theme and theme picker 2013-07-31 04:32:57 -04:00
Marcin Łabanowski
15d2c3e28a Added recent_dark stylesheet for recent template, need to be changed currently in style.php though 2013-07-31 04:32:48 -04:00
Michael Foster
123a72d7de Convert to UNIX line endings 2013-07-31 04:28:26 -04:00
czaks
61a305a1a2 js i18n: misc fixes; quick-reply.js i18n
Conflicts:
	tools/i18n_compile.php
2013-07-31 04:13:29 -04:00
czaks
701cf42eef main.js: added preliminary translation functions for javascript 2013-07-31 04:11:01 -04:00
Marcin Łabanowski
daca11113e image identification: add imgops.com button 2013-07-31 04:00:29 -04:00
Marcin Łabanowski
7c8bbe8527 Implement image identification buttons using regex.info/exif, google images and tineye 2013-07-31 04:00:22 -04:00
czaks
b7d884ef45 recaptcha: fix for https 2013-07-31 03:58:28 -04:00
Michael Foster
1ffabe2b93 fix header.html merge 2013-07-31 03:55:55 -04:00
asiekierka
a9f3f44c5f refactored head away from templates
Conflicts:
	templates/generic_page.html
	templates/index.html
	templates/page.html
2013-07-31 03:54:18 -04:00
Michael Foster
90b82b1a06 Disable autocomplete 2013-07-31 02:38:40 -04:00
Michael Foster
bb2868896c Ability to hide IP addresses from mod log 2013-07-31 00:04:57 -04:00
Michael Foster
889945f50c Hide "flags" section in posting form if user doesn't have permission to do anything special 2013-07-30 23:36:46 -04:00
Michael Foster
8efab06616 Upgrade to utf8mb4 charset for MySQL server versions above 5.5.3. Keep support for older versions. Fix charsets for multiple columns and tables. 2013-07-30 22:08:56 -04:00
Michael Foster
1759ac2ea3 Post search: Search other fields too 2013-07-29 20:20:07 -04:00
Michael Foster
d44b4f19a8 See last commit 2013-07-29 16:31:36 -04:00
Michael Foster
e0bc0a622d Post serach results: link to posts with ?/ 2013-07-29 16:26:32 -04:00
Michael Foster
c8e93f04d2 Update search results template 2013-07-29 16:24:11 -04:00
Michael Foster
58306bdc63 Search posts 2013-07-29 16:18:06 -04:00
Michael Foster
c0e0a5db7d Error in news template 2013-07-29 13:14:21 -04:00
czaks
cea7881749 categories theme: i18n some strings 2013-07-28 16:47:32 -04:00
czaks
98187303d7 categories theme: fix title displaying twice, put boardlist there instead 2013-07-28 16:47:24 -04:00
Michael Foster
46edec0f2d Bug with last commit 2013-07-23 09:46:29 -04:00
Michael Foster
1132a4ce79 Option to use font-awesome for sticky/lock icons, etc. 2013-07-23 09:38:42 -04:00
Michael Foster
ab0c5ee481 Option to make stylesheet selections board-specific 2013-07-23 01:35:56 -04:00
czaks
f0aee74523 catalog: fix previous commit 2013-07-22 19:05:38 -04:00
czaks
329c81bbd3 catalog: translation fix 2013-07-22 19:05:30 -04:00
Michael Foster
6ba8f3f7de Add custom links to dashboard 2013-07-22 18:30:45 -04:00
Michael Foster
ed8fe6c27a Option to check public ban message by default 2013-07-22 17:51:13 -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
Michael Foster
19766c4e0e Bugfix: Warning when in CLI-mode 2013-07-19 06:20:22 -04:00
Michael Foster
e4bd9a6886 Themes edit: Split "post" into two seperate actions: "post" (replies) and "post-thread". And add a $board variable. 2013-07-18 12:06:26 -04:00
Michael Foster
de4b5b3962 Quick catalog theme bugfix 2013-07-18 11:40:21 -04:00
copypaste
461d98b945 Catalog theme 2013-07-18 11:34:04 -04:00
copypaste
f5d378fab5 Catalog theme 2013-07-18 11:30:00 -04:00
Michael Foster
7e95e80c25 New theme: XML sitemap generator 2013-07-17 10:17:28 -04:00
Michael Foster
aadb57f2a2 More ban stuff: Show whether or not user has "seen" a ban yet in the ban list and on IP address pages. Purge useless expired ban records. 2013-07-16 08:50:39 -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
29b10c88db Outputting thread subject in header/title (issue #122) 2013-07-16 02:48:20 -04:00
Michael Foster
34dc31c50e Remove search section from dashboard as it is currently nonexistent in the latest version. 2013-07-16 01:14:42 -04:00
Michael
0ac9dd5f25 Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Michael
cbc3bd0c0a Merge pull request #114 from Macil/rtlfix
Fix display issues with RTL control characters in post names, subjects, ...
2013-06-18 10:41:31 -07:00
Macil Tech
a5e5cd03e6 Don't forget secure tripcode that's preceded by a space.
Mod capcodes are not remembered in the posting form.
2013-06-18 11:58:32 -05:00
Macil Tech
4ad1ce13b1 Include non-compiled javascript in page.html too. 2013-06-18 11:55:51 -05:00
Macil Tech
a92bb182d9 Fix display issues with RTL control characters in post names, subjects, and filenames. 2013-06-18 11:07:47 -05:00
lanc33
0e490407e1 Fixes #59 by making quick-reply.js agnostic to the value of $config['button_reply']. 2013-05-29 19:16:37 -03:00
Michael Save
64ae123739 Mod log in ?/IP (ie. ban history) 2013-03-16 18:27:24 +11:00
Michael Save
b85b4a5a75 Added more debug links to dashboard 2013-01-27 18:44:53 +11:00
Michael Save
db1b50cfc3 Escape result in ?/debug/sql 2013-01-26 00:00:39 +11: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
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
Michael Save
7a68fc9525 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Michael Save
7b02357e23 Merge branch 'newkey' of https://github.com/Macil/Tinyboard 2013-01-19 18:47:01 +11:00
Macil Tech
0da1c18a7f Add field_disable_subject and field_disable_reply_subject config options. 2013-01-19 01:37:48 -06:00
Macil Tech
f01813d95b Remove now redundant single-column thread key from posts_* tables. 2013-01-19 01:20:55 -06:00
Macil Tech
f2d3e45fd3 Handle posts without filenames.
If a post doesn't have a filename (such as because of a post event
changing it), then don't show an empty filename with the post.
2013-01-19 00:39:29 -06:00
Macil Tech
b1c1a25c26 Add (thread, id) multi-column key to optimize rebuilding index pages.
This SQL command can be used to add the key to existing board tables:
create index `thread_id` on posts_%s (`thread`, `id`);
2013-01-19 00:13:01 -06:00
Thermionix
de8b80b447 added favicon to recent.html template 2012-10-04 11:55:30 +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
8828101a0c minor design change 2012-08-28 01:47:26 +10:00
Michael Save
34e9e671b3 Use div.body instead of p.body; issue #73 2012-08-27 22:32:04 +10:00
Michael Save
b105a17b4f user logs 2012-08-27 22:13:47 +10:00
Michael Save
6229b82a43 CSRF protection 2012-08-27 15:19:05 +10:00
Michael Save
4a9d497a94 Fix for issue #69 2012-08-27 03:06:21 +10:00
Michael Save
c96b27eb5b use UNSIGNED for id columns 2012-08-27 02:52:31 +10:00
Michael Save
c5ec20684e themes 2012-08-13 00:18:13 +10:00