Commit Graph

125 Commits

Author SHA1 Message Date
Azareal 72d7beefe9 Added the profile system.
Added the profile comment system.
Added group tags.
Improved the avatar placement logic.
Users without avatars will now get noavatars. Customisable in config.go
Only admins can see the Control Panel link now.
Fixed a problem with Git not including /uploads/ which can crash the program.

Database changes:
Added active column to forums.
Added tag column to users_groups.
Added the users_replies table.
Commented out the replies_reports table.
2016-12-07 09:34:09 +00:00
Azareal 30ecdf8d93 Added the forum cache. The rest of the code now uses it instead than firing queries on every request.
Added the ability for admins to delete forums.
Added the ability for admins to edit forums.
Added the Uncategorised Forum for topics with an ID of 0. Possibly for deleted forums in the future?
Added the uncategorised forum visibility switch.
Creating forums now has an anti-CSRF session check. The same is true with the newly implemented forum deletion and modification features.
Cleaned up some of the error code.
2016-12-06 10:26:48 +00:00
Azareal 84cbb3a5d5 Added grosolo.exe 2016-12-05 10:51:27 +00:00
Azareal f38e6166aa Merge branch 'master' of https://github.com/Azareal/Grosolo.git 2016-12-05 10:45:06 +00:00
Azareal ba3dcee93f Added tips on how to install Go and MySQL / MariaDB. 2016-12-05 10:44:19 +00:00
Azareal 1e98e92fb6 Delete grosolo.exe
Ahem. I just removed you with .gitignore
2016-12-05 07:41:42 +00:00
Azareal 86817ae966 grosolo.exe doesn't work on computers other than the one which built it.
You will have to build your own with build.bat or the go build command
2016-12-05 07:40:13 +00:00
Azareal 0e7675073f Moved the images into their own little home ^_^ 2016-12-05 07:34:05 +00:00
Azareal 689b1a804b Static files are now served from memory. This feature's a little experimental, so it will need a lot of testing i.i
Added an executable file. Only works on Windows, if it doesn't work, then try building it for yourself with build.bat or go build
Tweaked run.bat to make it more firewall friendly. It now generates an executable.
Moved the files around to make it more organised.
Added build.bat which you can use to build the program for you and install the libraries the software depends on.
2016-12-05 07:21:17 +00:00
Azareal dc77c43996 Added the ability for admins to create forums :)
Banned users can no longer create replies or topics o.o
Fixed a bug where forums with no content threw an error.
Added report buttons. They don't do anything yet.
Is_Admin checks take into account whether the user's group has Is_Admin now.
2016-12-04 10:44:28 +00:00
Azareal 1f6e585296 Admins now show up in purple on posts.
Added a .gitignore file.
Added group caching.
Improved the forum list.
Added the Member group.
Opening posts are now parsed properly.
Fixed a bug where the avatar of the opening poster was applied to everyone.
Only admins can see moderation options now.
2016-12-04 06:16:59 +00:00
Azareal 771af02674 Added the forums.
Added the forum list.
Added the forum view.
Added a relative time utility function.
2016-12-03 13:45:08 +00:00
Azareal 82b351e1d7 Fixed the bug where errors get sent in plaintext rather than as formatted HTML. 2016-12-03 11:06:47 +00:00
Azareal 8ff76d1bc8 Improved the CSS for the usernames and moderation buttons.
Stickies now show up in yellow on the topic list and in topics.
The topic list is now sorted by stickies, then the date of the last reply, then the date it was originally created.
Added the ability to stick and unstick topics.
Added the ability to delete topics.
2016-12-03 10:25:39 +00:00
Azareal 77c291bc34 You can now change your username.
You can now control which route the home page will be mapped to via config.go
Added the parse_message function for future purposes.
Improved the topic list.
2016-12-03 08:09:40 +00:00
Azareal a1253907c8 Git didn't include these for some reason x.x 2016-12-03 05:00:21 +00:00
Azareal 2c6a20f259 Fixed topic creation.
Fixed a text overflow bug.
Fixed a newline formatting bug.
Fixed an avatar rendering bug.
2016-12-03 04:50:35 +00:00
Azareal 7a49ff5194 Don't forget to import data.sql 2016-12-02 15:10:28 +00:00
Azareal 9bafab7a12 Added the ability to upload and use avatars. 2016-12-02 15:03:31 +00:00
Azareal 7a1a468f93 You can now change your password. 2016-12-02 11:00:07 +00:00
Azareal d77606506c Fixed logging in.
Added a new configuration variable.
2016-12-02 09:29:45 +00:00
Azareal 509082fad3 Made it easier to configure.
Seperated admins from super admins.
2016-12-02 08:07:56 +00:00
Azareal 74ec4ec869 Adding the files. 2016-12-02 07:38:54 +00:00
Azareal 721faa908b Update README.md 2016-12-02 07:32:57 +00:00
Azareal 3844bb443d Initial commit 2016-12-02 07:23:26 +00:00