1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
Commit Graph

440 Commits

Author SHA1 Message Date
Michael Foster
ade761a88e 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
ctrlcctrlv
d12ec4a82c Add option to update catalog on new posts as well as new threads 2013-08-19 03:08:02 +10:00
Michael Foster
139741c07e Missing theme conf type "checkbox" 2013-08-19 02:03:54 +10:00
Michael Foster
3504b31052 Make file and thumb 255 chars 2013-08-18 20:59:46 +10:00
Michael Foster
d7118307b9 Add optional modifier: <tinyboard is_file> to tell Tinyboard that even though an image might have a thumbnail, it could still be a non-image upload 2013-08-18 18:17:12 +10:00
Michael Foster
b2580d4a18 Bugfix: post.filex => post.fileheight, etc. 2013-08-17 04:07:32 +10:00
Michael Foster
5353e38328 Bugfix: Thumbnail sizes (thumbx => thumbwidth, etc.) 2013-08-16 23:25:32 +10:00
Michael Foster
cca020be80 Optional "flag style" and "flag alt" modifiers 2013-08-16 23:12:40 +10:00
Michael Foster
2cc9eb468a Change flag_country to just flag 2013-08-16 22:12:25 +10:00
Michael Foster
44e16593b6 Much better post modifiers: raw HTML, ban messages, etc. 2013-08-16 21:25:56 +10:00
Michael Foster
5fdc0878c9 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
44590b5756 Optional: Allow uploading by URL 2013-08-12 22:51:46 +10:00
Michael Foster
9695c327db Rename ban_page_message to ban_page_extra 2013-08-11 21:30:02 +10:00
ctrlcctrlv
2278762000 Option to have a message on the ban page 2013-08-11 21:29:42 +10:00
ctrlcctrlv
edd197586f Option to have a message on the ban page
Conflicts:
	inc/config.php
2013-08-11 21:29:02 +10:00
ctrlcctrlv
48ac445038 Allow for HTML in the board subtitle
Conflicts:
	inc/config.php
2013-08-11 21:08:19 +10:00
Michael Foster
cad9d9ea6a remove maximum-scale in <meta name="viewport"> 2013-08-05 05:05:38 -04:00
Michael Foster
ad5570ada2 Update $config['try_smarter']. Should be working now. 2013-08-03 17:42:34 -04:00
Michael Foster
a3a490c7f2 Web config editor: board configs 2013-08-03 06:26:17 -04:00
Michael Foster
3ed82677e4 Web editor: Don't add newlines in comments 2013-08-03 05:44:39 -04:00
Michael Foster
0afd69d975 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
3a0ed6fad3 Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster
6936d8dd2f Forgot to commit this 2013-08-02 22:06:32 -04:00
Michael Foster
d59e74f394 Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
Michael Foster
e445c88d1d Installer improvements 2013-08-02 16:19:20 -04:00
czaks
2c32231f41 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
01494dccce Installer: Nicer pre-installation test 2013-08-02 00:08:37 -04:00
Michael Foster
695d50be8c Simple file editor replacement for ?/config (optional). Issue #127 2013-08-01 17:18:10 -04:00
Michael Foster
538e88b7bd Web config editor: Use a <select> for JANITOR/MOD/ADMIN permissions 2013-08-01 15:20:25 -04:00
Michael Foster
801bd56689 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
d379224e3f Add optional database table prefix (issue #118; see issue comments for details) 2013-07-31 22:14:26 -04:00
Michael Foster
e740f45ed1 Bugfix: HTML injection in post editing (introduces and fixes yet another bug) 2013-07-31 21:24:17 -04:00
Michael Foster
da5048a0e4 SQL cleanup 2013-07-31 20:51:43 -04:00
czaks
2adef4b4b9 header abstraction: abstracted also in thread.html
Conflicts:
	templates/page.html
	templates/thread.html
2013-07-31 17:14:10 -04:00
Michael Foster
44910c34c3 Fix last commit; Make Tinyboard Twig extension more mb-safe 2013-07-31 16:38:09 -04:00
Michael Foster
a8c929e0e7 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
ee64c02f33 Accidentally included header.html twice 2013-07-31 05:06:29 -04:00
asiekierka
3ad74029f4 added Fluttershy recent theme and theme picker 2013-07-31 04:32:57 -04:00
Marcin Łabanowski
8338ef185b 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
e06a800027 Convert to UNIX line endings 2013-07-31 04:28:26 -04:00
czaks
62566dd174 js i18n: misc fixes; quick-reply.js i18n
Conflicts:
	tools/i18n_compile.php
2013-07-31 04:13:29 -04:00
czaks
1ffb6dcc4c main.js: added preliminary translation functions for javascript 2013-07-31 04:11:01 -04:00
Marcin Łabanowski
f75058f5dd image identification: add imgops.com button 2013-07-31 04:00:29 -04:00
Marcin Łabanowski
64c986017a Implement image identification buttons using regex.info/exif, google images and tineye 2013-07-31 04:00:22 -04:00
czaks
80096a0386 recaptcha: fix for https 2013-07-31 03:58:28 -04:00
Michael Foster
8b9b6983be fix header.html merge 2013-07-31 03:55:55 -04:00
asiekierka
68f755ee26 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
5039fb0c8f Disable autocomplete 2013-07-31 02:38:40 -04:00
Michael Foster
2545acd35f Ability to hide IP addresses from mod log 2013-07-31 00:04:57 -04:00
Michael Foster
36339feee6 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
a01f53b4a4 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
1d5339d7c6 Post search: Search other fields too 2013-07-29 20:20:07 -04:00
Michael Foster
3fb8310744 See last commit 2013-07-29 16:31:36 -04:00
Michael Foster
ba8e912fcf Post serach results: link to posts with ?/ 2013-07-29 16:26:32 -04:00
Michael Foster
92d65f4100 Update search results template 2013-07-29 16:24:11 -04:00
Michael Foster
cc7615cf06 Search posts 2013-07-29 16:18:06 -04:00
Michael Foster
233c9fabf8 Error in news template 2013-07-29 13:14:21 -04:00
czaks
0b3fecc451 categories theme: i18n some strings 2013-07-28 16:47:32 -04:00
czaks
dc0c354a7c categories theme: fix title displaying twice, put boardlist there instead 2013-07-28 16:47:24 -04:00
Michael Foster
5b3445cac6 Bug with last commit 2013-07-23 09:46:29 -04:00
Michael Foster
e84dceb60c Option to use font-awesome for sticky/lock icons, etc. 2013-07-23 09:38:42 -04:00
Michael Foster
ad2edf62d7 Option to make stylesheet selections board-specific 2013-07-23 01:35:56 -04:00
czaks
9e0e4c86d9 catalog: fix previous commit 2013-07-22 19:05:38 -04:00
czaks
596421a695 catalog: translation fix 2013-07-22 19:05:30 -04:00
Michael Foster
9a35acdd1e Add custom links to dashboard 2013-07-22 18:30:45 -04:00
Michael Foster
aa598d28d1 Option to check public ban message by default 2013-07-22 17:51:13 -04:00
Michael Foster
f49e6c9fc3 Search update 2013-07-20 12:05:42 -04:00
Michael Foster
b34ba883c5 Bring back search (searching posts not implemented yet) 2013-07-20 07:50:33 -04:00
Michael Foster
f61f3224be Bugfix: Warning when in CLI-mode 2013-07-19 06:20:22 -04:00
Michael Foster
34b5f62600 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
7c638fddf0 Quick catalog theme bugfix 2013-07-18 11:40:21 -04:00
copypaste
9682c71dcc Catalog theme 2013-07-18 11:34:04 -04:00
copypaste
9d08164b6d Catalog theme 2013-07-18 11:30:00 -04:00
Michael Foster
7fc2b71804 New theme: XML sitemap generator 2013-07-17 10:17:28 -04:00
Michael Foster
390e529717 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
4340e74569 $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
9825d8611f Outputting thread subject in header/title (issue #122) 2013-07-16 02:48:20 -04:00
Michael Foster
9ae5804821 Remove search section from dashboard as it is currently nonexistent in the latest version. 2013-07-16 01:14:42 -04:00
Michael
a087ab72db Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Michael
9ca0aa37f5 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
9a6349450c 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
0563bbb4a3 Include non-compiled javascript in page.html too. 2013-06-18 11:55:51 -05:00
Macil Tech
8b14cbb091 Fix display issues with RTL control characters in post names, subjects, and filenames. 2013-06-18 11:07:47 -05:00
lanc33
9edcdb077c 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
41b3638fbf Mod log in ?/IP (ie. ban history) 2013-03-16 18:27:24 +11:00
Michael Save
97b4d14df1 Added more debug links to dashboard 2013-01-27 18:44:53 +11:00
Michael Save
f5e019aeaf Escape result in ?/debug/sql 2013-01-26 00:00:39 +11:00
Michael Save
d9b27fd42a New debug page: ?/debug/sql 2013-01-25 23:56:55 +11:00
Michael Save
5766be121c ?/debug/recent 2013-01-25 22:23:26 +11:00
Michael Save
e16ef2fde9 New debug mod page: ?/debug/recent (recent posts across all boards) 2013-01-25 22:18:03 +11:00
Michael Save
80f5c57e9b Show "most recent" in anti-spam debug page 2013-01-24 19:25:07 +11:00
Michael Save
adae930469 Raw HTML editing 2013-01-24 19:16:25 +11:00
Michael Save
b15b38b505 Major fixes and clean-up for edit form 2013-01-24 04:16:09 +11:00
asiekierka
940e6c657b [EDIT] basic edit support 2013-01-24 03:53:23 +11:00
asiekierka
153fb156fe [EDIT] added dummy form 2013-01-24 03:53:06 +11:00
Michael Save
4f58617507 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Michael Save
7666d93a11 Merge branch 'newkey' of https://github.com/Macil/Tinyboard 2013-01-19 18:47:01 +11:00
Macil Tech
ef7c998b02 Add field_disable_subject and field_disable_reply_subject config options. 2013-01-19 01:37:48 -06:00
Macil Tech
903bf5e9b3 Remove now redundant single-column thread key from posts_* tables. 2013-01-19 01:20:55 -06:00
Macil Tech
e45efbfe87 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