Commit Graph

  • c0834ec7c0 Missed a few spots. Azareal 2017-09-29 05:42:35 +0100
  • ef2ed96e63 Oopsies, need to update these with the new dependency. Azareal 2017-09-29 00:54:02 +0100
  • 47963e10a9 Began work on support for JS Plugins. Azareal 2017-09-28 23:16:34 +0100
  • f5d5f755bb Added the Update method to *Forum and fixed a bug where forum updates would bypass the forumView cache. Fixed a bug in MemoryForumStore's CacheSet where it requires new entries to exist, even though they don't need to. Fixed a bug where the Reports could be deleted. Fixed a bug in the JS where the inline forum editor stopped working. Fixed a bug in Shadow where the Add Group header was pushed to the side by the previous element's margin. Fixed a bug in the Forum Editor where the Active input's initial value was inverted. Azareal 2017-09-25 01:48:35 +0100
  • b955f677a7 Fixed the permission system. Added more debug logging. Renamed the label in the Forum Manager and Editor from Hidden to Active. Fixed a bug in compileTemplates() where it only loads visible forums from the forum store possibly causing trouble. Fixed a bug in the /topics/ route where super admin status wasn't being taken into consideration. Dropped down a hotfix for the /topics/ route. Azareal 2017-09-24 01:49:41 +0100
  • 2ef7726080 More debug data and moved the template detailed debugs to the TemplateDebug as they shove the other data off the console. Tweaked a few things in the forum permissions functions. Azareal 2017-09-23 22:28:50 +0100
  • 96b157e5aa Fixed a few regressions and renamed a file. Azareal 2017-09-23 21:46:28 +0100
  • 11c60b3cbe You can now search for whatever IP you want in the IP Searcher. Removed the Uncategorised Forum. Added the Backup Page for super admins. Not quite functional yet. Forums are now sorted properly again. Fixed a bug in DirtyGet() where invalid IDs would trigger a panic. Fixed a bug where alternate themes wouldn't work without setting them as default first and restarting Gosora. Azareal 2017-09-23 20:57:13 +0100
  • d869b87aa1 Fixed the installer. Azareal 2017-09-22 06:36:15 +0100
  • 31f506c50c Removed the images for Cosmo from /images/, it's very saddening to see it go :( Azareal 2017-09-22 03:21:17 +0100
  • 217e7abab3 Another mooostly technical commit, don't worry we'll be getting to the fun stuff soon! Azareal 2017-09-18 18:03:52 +0100
  • 2557eb935b Added the GroupStore. Azareal 2017-09-15 23:20:01 +0100
  • b02897e6e1 Moved the member only routes to member_routes.go Azareal 2017-09-13 16:40:49 +0100
  • 87c07ace6a Oops, forgot config.go Azareal 2017-09-13 16:11:17 +0100
  • ce9195c841 Revamped Tempra Conflux. Azareal 2017-09-13 16:09:13 +0100
  • 01bef7a320 The route handlers now use camelCase. Updated the default config.go Azareal 2017-09-11 11:24:03 +0100
  • ab0776c52b Phrases are now stored in JSON files. We now use a sync.Map for language packs for better concurrency. Azareal 2017-09-11 01:56:09 +0100
  • b289b52210 Renamed the middleware functions. Azareal 2017-09-10 18:39:16 +0100
  • 583c3b16bd We don't want middleware in user.go Azareal 2017-09-10 18:05:13 +0100
  • 91f70d2a4a Add a per-user theme switcher. The CSS might be slightly broken in the themes, that'll be fixed in a follow-up commit. Added basic support for server sync. Azareal 2017-09-10 17:57:22 +0100
  • ba36814d8d Refactored the code to follow best standards better. Added Basic IP Search. Added more items to .gitignore Add a VSCode settings file. Refactored the theme system to allow me to add a per-user theme switcher in the following commit. Fixed h1s, rowmenus, profiles and the Control Panel Dashboard on Tempra Simple. We now catch more extreme edge case errors. Renamed route_panel_themes_default to route_panel_themes_set_default. Centralised some of the per-route ExtData fields. Added an ExtData field to headerLite. Moved SettingLabels into the Phrase System. Azareal 2017-09-03 05:50:31 +0100
  • 99da1fcbaa Added support for word filters. Added support for temporary bans. Moved the Gosora specific template logic out of main.go and into template_init.go Azareal 2017-08-27 10:33:45 +0100
  • 34b02336ed Fixed a crash bug caused by the previous commit. Renamed a few templates. Added the required attribute to a few form inputs. Azareal 2017-08-20 11:11:49 +0100
  • 409719d10e Added support for screen readers. Azareal 2017-08-20 10:39:02 +0100
  • bfff7f3dee Fixed an issue with relative times breaking onto multiple lines. Fixed an issue with new reports not pushing the latest time onto the report forum. Editing topics no longer crashes Gosora. Mod action posts for topic edits now update the latest relative time for the topic's parent forum. The JS for the topic editor now locks onto the parent form properly. Azareal 2017-08-18 16:56:36 +0100
  • 166d96e3b2 You can now dismiss alerts. Azareal 2017-08-18 13:16:56 +0100
  • ca9c755a47 Added support for desktop notifications. The alert list is now visible on the Shadow Theme. Azareal 2017-08-17 12:13:49 +0100
  • 3e4cfa8888 Added the Panel Debug page. Added the mini stats for the various parts of the Control Panel in the Control Panel Menu. Fixed a crash bug in the router. The basic arithmetic template functions now work for the interpreted templates. Tweaked the connection pool to hopefully ease the number of goroutines fighting over a database connection. The Group Manager is now paginated. panel.css is now pushed by HTTP/2 Push. Fixed an issue with the padding on /forum/ and /topics/ for Shadow. Fixed a bug in the login system forcefully overriding sessions on login. All admin logins are now logged. Refactored the client-side alert loading logic. Added SimpleCount to the Query Builder. Azareal 2017-08-15 14:47:56 +0100
  • 0955a6eda2 TO-DO: Wipe all the schema files before writing to them. Azareal 2017-08-13 12:34:45 +0100
  • 5a43432b80 Replaced most of the uses of fmt with log. Replaced the io.Writers with http.ResponseWriters. Refactored the compiled template calls. Redirect port 443 to port 80. Catch more errors from templates. Fixed a few mutexes which are never unlocked. Eliminated an unnecessary parameter in InternalError() Temporarily commented out users_penalties so that the installer will succeed. A couple more template types can be remapped now. Tweaked the theme. Azareal 2017-08-13 12:22:34 +0100
  • f41c281e43 Added support for HTTP/2 Push. The themes are still going to be a little broken for a while, but here's the progress I've made. Azareal 2017-08-06 16:22:18 +0100
  • 41c620b988 Shadow is now fully responsive and almost done! Just a few places like the dashboard and a few glitches to patch up! Fixed the indentation in alerts.go, Atom replaced the tabs with spaces for some reason x.x Made the friendly URL logic more flexible. Made the supermod menu item hiding more JS friendly. strconv is now an optional dependency for compiled template files. Revamped the profile template. Azareal 2017-07-29 15:04:20 +0100
  • 02a0cbb6bb More work on the Shadow theme. Azareal 2017-07-29 11:36:39 +0100
  • d976a192fb Added the new theme, Shadow. It still isn't complete yet. Revamped the configuration system. If you have trouble installing this, try installing my fork of gopsutil with go get and delete the users_penalties table from the schema folder. That stuff will be cleaned up in the next commit. Azareal 2017-07-17 11:23:42 +0100
  • e30707bc17 Refactored the installer's code. We're moving towards supporting multiple database engines. More progress has been made with PostgreSQL, but it's still incomplete and experimental. The items on the Social Group menu bar are no longer decorative and now let you jump from page to page. Social Group permissions are now fully functional. More features to come like privacy levels, secondary board permissions, etc. for Social Groups. Azareal 2017-07-12 12:05:18 +0100
  • dd8f68b6d2 Added the Social Groups plugin. This is still under construction. Azareal 2017-07-09 13:06:04 +0100
  • 9a93f799bf Added friendly URLs. Added the Forum Store. Rewrote all the forum slice calls to use it. Azareal 2017-06-28 13:05:26 +0100
  • 21d623cba4 Static CSS files are now processed by the template system. This will be most likely be superseded by a more sophisticated system in the future. Azareal 2017-06-25 10:56:39 +0100
  • 1cc1e47582 Added an algorithm for sniffing out weak passwords upon registration. Themes can now inject their own stylesheets and JavaScript files into the header. Azareal 2017-06-19 09:06:54 +0100
  • c4e109adb7 Added the HeaderVars struct which is now used in the header template. The NoticeList field in the various page structs is now part of the HeaderVars struct. The Left / Right hotkeys will no longer take you to the next or previous page, if you have a textarea, input, or select element selected. Added the panel.css file. Added the PanelSessionCheck and SimplePanelSessionCheck functions. Reworked the ExtData field in the page structs, we'll have some hooks for you to inject stuff in here soon! Fixed a problem with the templates not getting remapped properly with Tempra Conflux when the compiled templates are missing. More Atom Madness. Azareal 2017-06-16 11:41:30 +0100
  • 1ccd4479ae Added support for offsets and max counts to the query generator. Early draft of the ForumStore. Not much to see here yet! Azareal 2017-06-15 12:40:35 +0100
  • 8c1d8d5c64 Split database.go's contents off into their own functions for reusability's sake. Azareal 2017-06-14 10:55:47 +0100
  • fe2eabedd0 Added a database engine neutral database.go file for the start-up queries. Added SimpleCount to the query generator. Moved more queries to the query generator. Added the get_user_reply function for profile comments. IP Addresses are now tracked for profile comments. Added SimpleInsert, SimpleUpdate, SimpleDelete, and Purge to the inline query builder. Azareal 2017-06-14 08:09:44 +0100
  • 93b4b269ed Stop using globals in the topic store and the user store. Added the inline query builder. Azareal 2017-06-13 09:56:48 +0100
  • af09013a25 Refactored query_gen into a library. Moved topic store and user store into their own files. Tweaked topic store to stop it accessing globals. Azareal 2017-06-13 08:12:58 +0100
  • 29d9d07cde Added Live Alerts for replies to posts. Added relative times to posts. Added push_alerts to the WebSockets Hub. Added simple_delete, purge, and simple_inner_join to the query generator. Query generator joiners now take not equals into account. Other query generator stuff and query refactoring. Fixed a weird padding bug on Tempra Conflux. Fixed a couple of megapost_min_chars and bigpost_min_chars which I missed. Fixed a security exploit in the login system. Azareal 2017-06-12 10:03:14 +0100
  • 81af085c7a Added support for Live Likes, the first step towards Live Alerts. Moved 26 queries into the query generator. Added support for sime replace queries in the query generator. The alert list can only have eight entries now. Users can no longer like their own posts. Renamed the bigpost_min_chars setting to bigpost_min_words. Renamed the megapost_min_chars setting to megapost_min_words. Moved the alert building logic into it's own file. Fixed a bug in the megapost and bigpost algorithms where only posts larger than the minimum would be considered. Azareal 2017-06-10 08:58:15 +0100
  • 47259fcf71 Bug in Github's Markdown parser. Azareal 2017-06-07 11:12:19 +0100
  • a2fec5bc82 Bug fix commit and more query gen stuff. Azareal 2017-06-07 11:07:40 +0100
  • 07a10ae9f4 This commit's a little on the technical side, but don't worry. I have some interesting features coming up! Azareal 2017-06-06 15:41:06 +0100
  • 93d00b0337 The Advanced Forum Editor is now accessible via the Forum Manager. Renamed data.sql to mysql.sql Added a composite primary key to the forums_permissions table. Moved five more queries to the query generator. Revamped the query generator. Yesterday's commit was more of a prototype. Still lots to be done to facilitate all the queries. Added support for simple left joins to the query generator. Removed .smaller Fixed an issue with the permissions not saving with the Advanced Forum Editor. Azareal 2017-06-06 09:47:33 +0100
  • e099dfd40e Added the query generator. It's a work in progress and in constant flux. Added forum descriptions. Began work on the Advanced Forum Editor. Not to be confused with the Quick Forum Editor. You can access it by going to /panel/forums/edit/{forumid} We'll fix it so the Forum Manager links to it in the next commit. Fixed the Linux shell scripts. Fixed an issue with relative timess being off by an hour due to timezones. Added reply count and author names to the topic list and forum pages. Improved the look of the forum list, forum page, and topic list. Added an overlay effect for when the alert list is open on mobile. You can now close the alert list by clicking on the bell. Removed the "Report:" prefix from report posts. Fixed a bug in the template system where "and" and "or" wouldn't work on non-boolean values. Improved the debug logging in the template system. Fixed a bug in the forum creator where the "Hidden?" value was inverted. Fixed a visual bug in the profile where the Ban button rendered in a glitchy way. Added support for hidden fields to the JS Framework for inline editing rows. Fixed a bug with the like counter rendering on-top of the alert list. Atom's stripping trailing tabs for some reason, so don't be confused if there are a bunch of weird changes. Azareal 2017-06-05 12:57:27 +0100
  • 9b1489b90f Happy 100th commit! For the 100th commit, I've revamped a good portion of the user interface, and we don't plan on stopping! There's more to come! Each theme has more of a distinct feel in the control panel now. I moved a large portion of the inline CSS into global.css, tweaked some core code which didn't line up, and added CSS text insertions to make things more flexible. Azareal 2017-05-29 15:52:37 +0100
  • 6c0b37ce30 Updated some of the images. More images and work on the theme to come! We're also one commit away from our 100th commit ^_^ Azareal 2017-05-14 06:56:19 +0100
  • b60792391e Improved the mobile theme for Tempra Mobile. I broke something in the process of doing so, but it shouldn't take too long to make right! Action posts are now visible on Tempra Conflux, Cosmo, and Cosmo Conflux. Action posts now work properly on mobile. Azareal 2017-05-13 15:27:42 +0100
  • b841acef29 Revamped the top navbar. Really large numbers are now formatted properly on the Control Panel Dashboard. Azareal 2017-05-12 14:25:12 +0100
  • 3b5f48b5a2 Added support for Websockets. The Control Panel Dashboard now updates every second. You can now see how many guests and users are online via the Control Panel Dashboard. The Control Panel Dashboard is now a little more mobile friendly. Azareal 2017-05-11 14:04:43 +0100
  • fab2db0936 Added the Control Panel Dashboard. Bumped the version requirements upto Go 1.8 Added gopsutil as a dependency. Azareal 2017-05-07 09:31:41 +0100
  • cac3ffe982 Moved the API and Report routes to the router generator route list. Tweaked the code to make it more flexible. Azareal 2017-05-02 18:24:33 +0100
  • 001b51624b The Control Panel is now in the generated routes list. Fixed a bug in the hook remover. Azareal 2017-04-13 16:01:30 +0100
  • ade818b1b2 Made the default routes in the route groups a little more efficient. Added the Forum Manager routes to the generated route list. run.bat now generates a router for you. I'll work on the Linux equivalents later. Azareal 2017-04-13 11:55:51 +0100
  • c045b456b4 Gosora now uses the generated router. There's still a fair bit of work to be done on this, I might turn the switch into a proper parser at some point, as there are a few inefficiencies in it's design. Improved the router generator facilities. The router generator now supports route groups. Azareal 2017-04-13 10:26:40 +0100
  • 87cb08bde3 Last commit with the old router. The next one will only have the generated one! Azareal 2017-04-12 14:39:03 +0100
  • a4ffc14a0c Testing branches. Azareal 2017-04-12 11:26:10 +0100
  • d7cf48e43d Router Generator WIP Azareal 2017-04-12 11:10:36 +0100
  • a906f17470 Added support for modlogs. Added support for more mod-action posts in topics. Azareal 2017-04-06 18:37:32 +0100
  • 6d17e08605 Split mod_routes.go into mod_routes.go and panel_routes.go Azareal 2017-04-05 15:15:22 +0100
  • d3d76d407b Modlogs / Adminlogs WIP, not much to see here. I'm just dumping this here, as I'm going to be moving a lot of code into another file, and I didn't want it to mess with the diffs. Azareal 2017-04-05 15:05:37 +0100
  • 2dbeef4694 Added the lock and unlock moderation action posts. Azareal 2017-04-02 14:00:40 +0100
  • 42eb509448 Added the Group Creator. Generated files should now be detected by Github. I'll work on making the detection method a little less ugly once Github lets me put that thing on something other than the first line. Fixed a race condition in the Forum Creator. Fixed a few forgotten error checks in permmap_to_query. Azareal 2017-03-27 08:09:28 +0100
  • bf19b66a94 Added the Group Permissions Editor. Azareal 2017-03-23 12:13:50 +0000
  • c14a1e2100 Added the Group Editor. Revamped the dual column layout CSS. Azareal 2017-03-18 07:23:02 +0000
  • 27df532617 Authenticated SMTP is now fully functional. Tweaked the newlines in the validation email. Azareal 2017-03-16 05:06:58 +0000
  • 049131ef34 The default topic should now be posted in the right forum. Fixed install-gosora-linux Fixed the staff mark-up on the opening posts. Fixed the lack of group tags on the opening posts. Azareal 2017-03-15 09:34:07 +0000
  • 3662a298d4 Added support for authenticated SMTP. I'm going to do a few tests on this tonight. Added 87 new emoji shortcodes. We now have all of the Unicode v1.1 emojis covered. Added support for #fid hashlinks. Added the :(, :O, :o, and :p smiley codes. Azareal 2017-03-15 08:34:14 +0000
  • ca7c369e9e Added numeric mentions. Username mentions will be automatically pre-parsed into numeric mentions in a future commit. Added #rid for linking to a specific post. Azareal 2017-03-14 10:57:40 +0000
  • 3a68e07885 You can now link to a topic with #tid-{topicid} Azareal 2017-03-12 07:18:12 +0000
  • 5a0f4d3a07 Updating Tempra Simple's image. Another commit will follow shortly after :) Azareal 2017-03-12 06:39:19 +0000
  • ea63768a8e Added a custom auto-link parser rather than using a regex. Added the Tempra Cursive theme. A fork of Tempra Simple which is less boxy and uses the cursive font. Improved the theme manager. Primary themes and variant themes (themes based upon another) are now seperate. plugin_bbcode has been modified to use the URL parsing facilities of the core rather than implementing them itself. git:// and ftp:// links are now supported by plugin_bbcode. Added the simple quote BBCode. Fixed a bug in route_like_topic where the no row error type isn't handled properly. Moved the rowhead class onto the right element in the topic template. Removed a couple of linebreaks in the topic template in favour of pure CSS. Converted some inline CSS in the topic template into new CSS classes. Azareal 2017-03-07 07:22:29 +0000
  • 905a51d294 You now get an alert when someone replies to one of your topics. Greatly improved the Alert CSS for every theme. Fixed a bug where alerts aren't closed when the page is extremely short and you click outside it's bounds. Fixed a bug where liking a topic didn't reload the cached data. Fixed a few misnamed HTML tags. Azareal 2017-03-05 07:53:41 +0000
  • c7d058fe90 The alert system is now fully functional. Azareal 2017-03-03 16:28:49 +0000
  • cf480947d3 I'm still working on alerts. I've worked out the client-side UI for Cosmo, the UI will be tweaked for the other themes shortly. The client-side JS also now pulls the alerts from the server. Azareal 2017-03-01 11:36:50 +0000
  • 9fce51a3d7 Added the InternalErrorJS and LocalErrorJS error handler functions. Hid the themes which aren't under construction yet from the Theme Manager. Fixed a bug in the BBCode parser where every post had ten spaces appended to them. Added the get_reply() internal API function for plugins to make use of. Added the bell to the theme. Fixed some bits of the Cosmo theme where the rowhead wasn't appearing. Added a "Don't have an account?" link to the login page. Azareal 2017-02-28 09:27:28 +0000
  • 1d85224dbc Static images now work again after they were accidentally broken when I added Gzip Compression. Fixed a topic desync and eliminates a number of possible race conditions in the caches. Optimised global.js by swapping out some of the unnecessary jQuery with native javascript code. Updated jQuery to version 3.1.11 Fixed the CSS on the areyousure and error templates. Azareal 2017-02-16 06:47:55 +0000
  • 61358b5449 Added support for likes to the other themes. I'm pondering over how to best show the like counter on them. Cleaned up the alternate topic layout, no longer do we have buttons on the topic header. Added the topic specific permissions to the templates and removed the reliance on the Is_Mod flag. Fixed a bug where the nav menu refuses to acknowledge that you're logged in. Azareal 2017-02-15 15:29:05 +0000
  • 6fdf615cf5 Topic and user edits should now update the caches. Ditto for topic deletions. The tests and benchmarks now run again. gloinit() is always called prior to the tests and benchmarks now. The tests and benchmarks no longer use hard-coded session strings for admin route tests. Added some new route tests. We now pull the database version into a variable. Fixed an issue with guest perms not applying properly. Tweaked the router to make it a little more efficient. Moved more topic / user parsing logic into CascadeGet Profiles now use the user cache. Added the Set method to the caches. Set is used when you don't know if an item exists in a cache or not. Added the Load method to the caches. Load is used to forcefully reload an item in a cache from the database. Azareal 2017-02-15 10:49:30 +0000
  • 399128c208 Added the topic and user memory caches. Currently used in an extremely limited way, we plan to expand this! Added a template minifier which strips out many types of whitespace. Stop the router from blocking the other goroutines. Content is no longer an interface{} in the TopicUser and Reply structs Allow plugins to add new routes without any potential race coditions occuring Use non-breaking spaces in the topic view to make it harder for the minifier to break things. Azareal 2017-02-11 14:51:16 +0000
  • 534ef10194 You can now upvote topics and replies. The number of upvotes is visible on the posts. The static resources now support Gzip Compression. Software-wide support is coming with the upcoming router rewrite! Revamped Tempra Simple's topic view. We now use emojis instead of text for the fields. Experimental. Simplified the json permissions in the installer. Fixed some places where the wrong error handler is used. Fixed a bug in the word counter where it was off by one. The word count is now tracked by the topics and replies. Azareal 2017-02-10 13:39:13 +0000
  • 0e5d0e649e Relative times are now shown for all the topics on /topics/ and /forum/ You can now see which forum the topics are in on the topic list. Relative times are now calculated in real-time rather than once at start-up. I'm not sure how it ended up like that. Fixed an issue with the lastReplyAt field not being populated for topics. We now have relative times for weeks and months. Azareal 2017-02-06 04:52:19 +0000
  • dca8670eed Per-Forum Permissions work everywhere now. Removed some unnecessary user parameters from the error handlers. Added a PreError type for when the user data isn't available yet. Azareal 2017-02-05 16:36:54 +0000
  • df5f70ee6b You can now post in any forum you want via the Board selector. Added a lock indicator for forums you don't have permission to post in. Added a New Topic option in forums you have permission to post in. General is now the default forum for topics. /topics/ no longer shows topics for forums you aren't able to access. Azareal 2017-02-05 14:41:53 +0000
  • c233f1fbbe You can now change the permission preset of a forum. More granular permission changes coming soon. The permission presets are now shown on the Forum Manager. The hidden state of a forum is now represented with a spy emoji on the Forum Manager. Azareal 2017-02-04 15:49:24 +0000
  • f8e657ee39 You can now create forums with a specific permission preset. The ability to change the preset of a forum and more granular control over it's permissions is coming soon. Fixed a bug in the /forums/ route over which forums were visible. Azareal 2017-02-04 06:19:55 +0000
  • f5c6f6b552 Added Per-Forum Permissions. The admin side of this is under development. Added the Not Loggedin group. The Reports Forum is now only available to staff. Groups are now stored in a slice instead of a map for extra concurrency and speed. Testing background SVGs. You can now toggle a forum's visibility via the Forum Manager. Added the Inline Form API to global.js The reports forum can now be edited but not deleted. Tempra Simple and Tempra Conflux now support backgrounds. Azareal 2017-01-31 05:13:38 +0000
  • 5e3b61d910 Added pagination for forums. You can now use the left and right keyboard keys to go to the next and previous page. Making the shell files a little friendlier. Needs testing. The main executable will always be named gosora.exe or the Linux equivalent ./Gosora Reports is now a physical forum and not a "virtual" one. Added create_forum() and delete_forum() for creating and deleting forums. Synced the installer's config.go with the main one. Forums are now stored in slices rather than maps for improved performance and concurrency. You can now set a forum as hidden when initially creating it. BBCode tag names may only be seven characters long now. This is part of a new anti-overflow measure that's much faster and simpler than the previous one. Updated the last block of code in routes.go which uses the antiquated "success = 0" error detection method. Fixed a visual bug in the Control Panel CSS. Seperated the system forums from the normal ones in the Forum Manager. You can now see if a forum is marked as Hidden in the Forum Manager. Fixed the position of the lock status indicator. IP Addresses now have a simple title attribute explaining that this long incomprehensible string is in fact an IP Address. Textareas look a little better now. Next / Previous buttons are now visible on mobile. .bat files always say what they're doing now. Azareal 2017-01-26 13:37:50 +0000
  • 16bc3a82e2 Added basic pagination for topics. Added template functions for arithmetic. Split the "TO-DO" section of README.md into it's own file. Themes can now mark themselves as permanently disabled. Improved the BBCode Bounds Checking. Fixed a bug with the BBCode parser where part of the content at the end is cut off. is_super_admin is now a hidden flag and isn't taken into account for Staff CSS. Themes can now show a custom tag in the Theme Manager. Azareal 2017-01-21 18:16:27 +0000
  • d4ad7f1a4c Dramatically improved Gosora's speed by two to four times. Admins and mods can now see the IP Addresses of users. The last IP Address of a user is now tracked. The IP Addresses a user used to create replies and topics are now tracked. Dramatically improved the speed of templates with the new Fragment System. More optimisations to come! Decreased the memory usage of compiled templates with the new Fragment System. build.bat now provides more information on what it's doing. Added the go generate command to the .bat files in preparation for the future. We're currently in the process of overhauling the benchmark system to run tests in parallel rather than serially. More news on that later. We're also looking into the best way of integrating pprof with the benchmarks for detailed profiling. The internal and notfound errors are now static pages. Internal Error pages are now served properly. Optimised most of the errors. Added an internal flag for checking if the plugins have been initialised yet. Mainly for tests. Decoupled the global initialisation code from the tests. Removed URL Tags from Tempra Simple. We're pondering over how to re-introduce this in a less intrusive way. Template file writing is now multi-threaded. The number of maximum open connections is now explicitly set. Removed the Name field from the page struct. Turned some of the most frequently hit queries into prepared statements. Added the [rand] BBCode. Converted the NoticeList map into a slice. Added the missing_tag error type to the [url] tag. error_notfound is now used for when the router can't find a route. Fixed a bug in the custom page route where both the page AND the error is served when the page doesn't exist. Removed some deferrals. Reduced the number of allocations on the topic page. run.bat now provides more information on what it's doing. Azareal 2017-01-17 07:55:46 +0000
  • 2f50da8cd8 Dramatically improved mobile friendliness on Tempra Conflux, Cosmo Conflux and Cosmo themes. Made minor improvements to the mobile friendliness on the Tempra Simple theme. Added levels to the other three themes. Added the group tags to the Tempra Conflux and Cosmo Conflux themes. Added more screenshots and updated some of the existing ones. Made a small cosmetic improvement to the theme list. Azareal 2017-01-12 14:01:35 +0000
  • b7c89fd020 Added the Level System. The .bat files now exit upon encountering an error. Post, bigpost, megapost, and topic stats are now tracked for each user. Added the bigpost_min_chars and megapost_min_chars settings. Probably needs to be renamed. Added the Levels test. Run go test -run "Levels" The installer now validates the inputted server port. Added a word counter utility function. The template engine now borks less on variable nodes. Added the lt, gt, ge, eq and ne to the template engine. I'm fairly sure eq was already in there, but things get handled differently depending on what type of node it is. Eliminated more "success" variables by converting the errors over into InternalError() and LocalErrors() Azareal 2017-01-12 02:55:08 +0000
  • 7f8aaedb0a Testing something Git-wise. Azareal 2017-01-10 08:24:46 +0000