Modified the layout on the site a little so that the navigation buttons to jump between pages is tighter and so that there are fewer numbers on smaller screens. We really didn't need 10 notches to choose from.
The Wiki was down. It isn't any longer. Thanks to those who emailed me about it!
Someone emailed me a few days ago and told me they couldn't log in anymore.
Turns out when I made it so that log-ins were case insensitive, it caused a problem for users that had created multiple accounts with the same email address but different cases (ie. email@example.com and M@m.com).
I manually went through the database and transferred stats, comments and stories to users this happened to, deleting the account that was the oldest. It was pretty straight forward for most. The three that it wasn't, I emailed.
I also made it so that on account creation, it checks for this case and doesn't allow it.
Think I also cleaned up the error displays a little too.
Upgraded to newest Grails (3.1.10), newest Spring Security Core Plugin (3.1.1) and newest ElasticSearch plugin (1.2.0).
Made the load balancer check the terms of services page, which should not require a database query and therefore be better for the site as a whole.
Switched over to using local ElasticSearch, instead of non-local CloudSearch. This saves the site $40 a month. Whoopee! Yahoo-ooooo-oooooo-oooooooooo...
Finally, made it so that usernames on log-in are not case sensitive. And it's about damn time. That was so annoying.
Oh! Less interesting (ish?). I added a terms of service page and a privacy page. In case anyone was dying to read one of those. They're at the bottom of the about page now and at the user account creation page.
Added in a field to hide the copyright notice when posting a story. This was mainly because I didn't want the copyright notice when I posted a feedback request.
Also fixed it so that authors get emailed when their story is posted properly now. And if they have a user account, it links directly to where to edit the story. If they don't have a user account, it instead tells them they can create one.
Auto-detection of timezone failed. Added in timezone setting to user profile instead. Also added minutes to the date fields. For the Wiki, that's a little more important, but better with everything.
Also made the visited links into a darker color. Should make it easier to see, I hope.
Added auto-detection of timezone and display of dates according to that timezone. All thanks to this great Grails plugin: https://github.com/dustindclark/grails-timezone-detection. I had to modify it slightly to work with Grails 3, but that took about ten minutes.
Wanna see what timezone the site thinks you're in? Check out the About page.
Added in buttons to the home page and the wiki story list page to go direct to the edit pages for those wiki entries.
Also added a new option to the Edit Profile page so that logged in users can turn off wiki stories showing up on the home page. Because some people aren't down with the wiki at all.
Got some proper mechanisms in for authorizing google drive. Wikis re-enabled.
Scratch that. I couldn't get the Google Drive permissions to work from the server. I'll have to try again tomorrow. Disabling all of the menu stuff for now.
I've added the Wiki. It's only got one story up, but the infrastructure is in there to add more.
The editing is done through Google Drive. There's currently no way to tag the stories and no way to comment on them, but Google Drive allows comments and revisions, so I think that's good enough. I'll do tags later.
The Spiral caches the data from the Google Drive docs and updates it every 30 minutes. Every hour, if the Wiki has changed, it will update the link on the Home Page.
HTML links have been modified so that if they are over 32 characters long, the text will say "click here" instead of the link. Links longer than that many characters don't wrap properly and screw up the div's, on mobile screens in particular. I could probably switch to a wrapping text thing, but this works too.
Also, work on a new wiki, done through Google Drive, continues.
The stories of the author mw-scot have been removed at the author's request.
Also, the rules for posting new stories have been updated slightly.
Oh, at some point recently, I also made it possible for admins to sort users that are supporting the site. Just click on the button at the top of the column for that field. Only works on desktop, unfortunately.
Thanks to an awesome bug report from a site user, I found and fixed sorting of search results by date.
Added tracking of user login dates (if it works).
Replaced the site's banner with something that stretches across the whole screen.
In an attempt to make the login button easier to discover, I've collapsed Stories, Authors, About and News into a combined menu called "Links".
I've made the navbar header clickable to get home now. Mostly. Mostly because it's not complete coverage. I'm still not learned enough in the ways of CSS-foo.
I've made SecUsers track comment, story and like counts. So that admins can see them in the user list now.
I've improved admin pages for viewing users all over the site, and improved the experience of administering users via the user's list page, for desktops only. The mobile version of that page has taken a turn for the worse, I'm afraid.
I made start up threads chain together. Which means they'll be slower, slightly, but more reliable.
The site automatically redirects to HTTPS now. It should do it automatically and hopefully won't screw up anyone's bookmarks (because it'll redirect to the same page). It will unfortunately force anyone logged in via HTTP to log-in again, but only once, I hope.
Logins were meant to happen with ssl/https, and I couldn't quite get that to work, so HTTPS is now on for everything. If you go to http://www.gayspiralstories.com now, it'll redirect you to https://www.gayspiralstories.com:8443.
There's issues running Grails and having the default HTTPS port (443) open, same as the HTTP port (80). Grails defaults them to 8443 and 8080, so I had to muddle around to get that to happen.
Whatever. It looks like it works and I think it's more secure. I mean, I'm definitely not a security guy, so if you're worried, don't use a password on this site that you use anywhere else. And/or use a password app that generates them for you, like Strip or an equivalent.
The series' name on the home page now links to the last story in the series. The icon with the story count and the story book icon is now a link to the series.
Comment counts for the last story in the series are now displayed, and they link to the comments on the last story page.
Whole bunch of changes, in no particular order:
The navigation buttons on the story page have been modified so that they line up properly on iPhone 6 (because they don't have text anymore).
Some groundwork for general user accounts has been done. It's not quite ready for prime time yet.
The site is no longer fully funded. CloudSearch costs way too much, and I'm investigating doing something else, but until I get that something else working, we need more people to pledge :(
Some groundwork for showing comment counts in story lists has been done, but again, it's not quite ready for primetime.
All story lists display tags as clickable links.
Tag search results are properly sorted by date now. Text search results are always displayed based on relevance to the search text.
Authors can now decide whether or not the story should be displayed with HTML links and email addresses automatically made clickable. It defaults to on.
More than 4 newline breaks in comments will now get collapsed into 1.
Authors now get an email when their story is posted, assuming they enter an email address. They also now get private links so that they can edit their stories.
I made changes to the bottom of the show story pages. The add comment fields are hidden now, and require the user to press a button. The same with adding tags. The order of the comments is now chronological, as expected (oldest down to newest). There are also a couple of buttons to jump around quickly on the screen.
There's also some new styling: links are bolded now and show when you've clicked on them already.
Oh! And the nav bar auto-hides when you scroll down, and auto-shows when you scroll up.
One pass of removing stories containing copyrighted, trademarked or real life characters done. I probably missed some and will remove them as I find them.
Also, I've made the source code for this site available for anyone interested. It's here: https://bitbucket.org/hughmichelsen/spiral5
Series are now tracked as a thing. The home page displays them, with the date being that of the last chapter update.
I've modified the rules for story posting to include a new rule: don't post someone else's story here, especially without their permission. Authors still own their work, despite being posted online, and in most cases, they should be asked if they'd like their story to be posted, not told that they can request it to be taken down after the fact.
I've modified the tag search pages to be even smarter with malformed queries. You can specify comma separated lists now, with all the white space you want.
Also, not that anyone but me cares, but I've made it so that views of the author and story show pages, when supplied with garbage story and author ids, will be throttled so that the request takes a long time. If someone has a reason for sending invalid id's, I'm all ears. Otherwise, I don't want those requests taking up valuable server time and resources when I suspect it's just bots.
I've added an option you can toggle to enlarge text (in the menu on phones or along the right of the navigation bar on the top of the page. Not all of the text has been changed, but the most important parts, for readability, will get larger.
If there's some other text you feel rather strongly should be larger, please take a screen shot and email it to me, highlighting or circling the part you think should be larger.
There are now bigger margins alongside text when viewing individual stories, the tag search pages now allow sorting when clicking on the columns, and the text is no longer made smaller on certain browsers.
Text search works! Try it out here.
There's also some cool new icons, which makes things look that much slicker..
As you can see, there's been a major site overhaul. There's a new look and a new tag searching page.
As always, if anything's broken or you have suggestions for improvements, send me a mail.
Thanks to the generosity of a few awesome members, we're actually fully funded right now. Thanks guys!