GithubHelp home page GithubHelp logo

voat / voat Goto Github PK

View Code? Open in Web Editor NEW
1.2K 94.0 272.0 28.02 MB

The code that powers Voat

Home Page: https://voat.co

License: Other

C# 71.65% CSS 16.05% JavaScript 8.41% HTML 1.79% PLpgSQL 1.07% SQLPL 0.23% F# 0.80%

voat's Introduction

Quick Status Updates

This branch is fully building on .NET Core 2 Preview and a majority of unit tests and UI are ported and working.

Right now we are concentrating on getting 100% unit test coverage.

Voat Branch for .NET Core Port (With the PostgreSQL Branch Merged)

Currently using .NET Core 2 Preview and Visual Studio 2017 Preview

voat's People

Contributors

a-b-b-a avatar aaron-p avatar abrambleninja avatar dkempner avatar dodyg avatar dotnet4lyfe avatar ericlemieux avatar g-octav avatar gamehelp16 avatar gavsto avatar hailsithis avatar janosorcsik avatar jksg avatar joezeng avatar johnduhart avatar keenrivals avatar leofidus avatar magicalblob avatar mewtwowhoaverse avatar mgiuffrida avatar nurdoidz avatar ovixx avatar puttitout avatar rumel avatar saturate avatar shiroulog avatar tamasys avatar voat avatar wardbenjamin avatar xestrix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voat's Issues

Advanced search feature

Further improve our existing search feature with advanced view which has the possibility to limit the scope of the search by:

  • date range
  • author
  • upvote range
  • type of submission (include or exclude self posts)
  • domain
  • string within domain

User preferences view

We need a user preferences view which would allow various preferences to be set.

To start with, users should be able to choose how they want to open links - in a new window (tab) or in current window (tab).

Another option would be the ability to choose between dark and light theme.

NSFW tagging of submissions

We need to be able to tag submissions as NSFW as well as let subverse owners edit subverse settings and mark entire subverse as NSFW. This would later be used to display a NSFW icon to guest users instead of showing the actual thumbnail of a subject which is, well, not safe for work.

Mobile view

Current mobile view needs improvement by rearranging things and improving overall usability and user experience aspects.

Mod tool: tag submissions for deletion

Moderators should have a button "tag for deletion" which would mark a submission as "tagged for deletion". Submissions marked in this way should only be visible to moderators of the subverse where submissions was posted.

Other moderators should be able to "untag" submission (making it re-appear) or delete permanently (using existing delete button).

Get submission datetime stamp in controller when post action is called

Currently, datetime stamp is set when the view is first displayed (according to several complaints/bug reports). If a user spends 30+ minutes writing the submission (long self posts or other reasons), the DateTime stamp would be off by 30 minutes. The DateTime should be thus fetched in controller when Submit post action is called.

Public trophy case on user profile

Public user profile would benefit from a trophy case where various trophies would be displayed. Some trophy examples: "member for 1 year", "member for 2 years" or other, custom admin awarded trophies.

Automatically convert urls to markdown links through regex

Regular expressions should be used to automatically detect and convert URLs and whoaverse internal links to markdown links.

Example: http://www.youtube.com or http:// or https:// should be converted to markdown syntax on server-side as [http://www.youtube.com](http://www.youtube.com).

The same goes for any strings which start with /v/stringhere.

For example, /v/videos should automatically converted to markdown link syntax on server-side as [http://www.whoaverse.com/v/videos](http://www.whoaverse.com/v/videos).

User profile e-mail address

Users which want to further secure their account should be able to link an email address to their account.

Show submissions by domain

We need to be able to filter out submissions by domains. Currently, domains are displayed next to submission title with a link to "#". For example, (i.imgur.com)

The link should actually point to whoaverse.com/domain/i.imgur.com. This should display all submissions which link to i.imgur.com from all subverses in the same way whoaverse.com/v/all currently does (sorted by rank and then by date).

Thumbnails on link posts

We need to generate and save a thumbnail for link submissions which do not directly lead to a video or image. For example, if the link leads to a news article, the thumbnail could be generated from the article image using Open Graph notation and other widely adopted standards.

Some examples can be found here: http://davidwalsh.name/facebook-meta-tags

Keyboard navigation

Several people have requested the ability to navigate the site using keyboard only. This would make a good addition and improve usability aspect in general.

Public mod log

I would like to request a public mod log and that when a API happens bots can read from the mod log for stuff like reddit requests.

Tagging users

Users should be able to tag other users.

I am uncertain how this function should work, so this is open for discussion.

Tag of shame - subverse moderator tool

Subverse moderators should have the ability to enable display of tags of shame. If this feature is activated, users which have historically given more negative votes over positive votes (or have more negative than positive votes), a tag would appear next to their username if they submit something or comment on something. This feature is controlled by subverse moderators and will not show up on frontpage.

Default language for Captcha entry box.

Noticed that the default text was in German or Swedish. I'm honestly not sure what language it was in. Not a huge issue, but could probably be fixed.

Maybe changed by location? Not sure if it's possible, but I would think so.

Inject custom CSS to submission pages

Subverses which have custom CSS stored in the database should have that CSS automatically injected into submission pages if users arrive through respective subverse.

There are 2 ways to arrive at submission page: by visiting the http://localhost/submit or http://localhost/v/funny/submit. If users are arriving via http://localhost/v/funny/submit, viewbag will contain the name of the subverse that is being posted to. Here, a request should be sent to method in SubversesController.cs (signature public ActionResult StylesheetForSelectedSubverse(string selectedSubverse)). This method is already used to inject CSS to frontpage/comments section of subverses so it can be reused.

Forgot password feature

Users which chose to link an email address to their account should be able to use a "forgot password" feature in case they forgot their password. The feature would send a one-time link to a "change password" page and allow the user to change their password.

Add a warning page for adult_rated subverses

Implement a warning page which warns users that visit adult_rated=1 subverse and asks for confirmation via link or button if they agree to proceed.

This warning should probably store a cookie which is usable site-wide and prevents the warning view from appearing until the cookie is deleted.

Add moderator comment distinguishing feature

Subverse moderators should see a checkbox titled "distinguish" when adding a new comment in a subverse they moderate. This checkbox should have its value stored in table Comments (the field currently does not exist in this table, it should be titled "distinguished" and store true/false value).

The same checkbox should also be added to comment reply form which is injected with javascript (file where form is stored is called _CommentReplyForm.cshtml).

Comments with distinguished=true will be rendered with a moderator tag (css class moderator).

Private subverses

Moderators should be able to mark their subverse as private, allowing only approved users to view or participate.

Pop-up asking a first time registered user if they'd like to see a list of our subverses

What will the pop-up say?

Hi! It looks like you are new around here. Welcome to WhoaVerse!

Would you be interested in seeing a list of subverses to get you started?

From there, the user can either choose:

"Yes" or "No"

Or if you'd rather be a bit more friendly:

"Sure!" or "No, thank you!"

How will it work?

Clicking "Sure!" or "Yes" will redirect the user to http://whoaverse.com/subverses

Clicking "No, thank you!" or "No" will dismiss the pop-up completely leaving the user where they are currently (preferably the homepage).

What code is used?

I have already created a mock-up using the pre-existing pop-up model.

I created a new class and called it: .btn-secondary which included:

{
color: #fff
background-color: #FF3C3C
border-color: #D53434
}

For .modal-footer .btn+.btn I used:

{
margin-left: 345px;
margin-bottom: 0;
}

Codes for the two buttons:
<button type="button" class="btn btn-primary" data-dismiss="modal">Sure!</button>

<button type="button" class="btn btn-secondary" data-dismiss="modal">No, thank you!</button>

What will this look like?

ss 2014-06-30 at 01 06 46

Option to block subverses from v/all

Users should be able to add keywords through their profile preferences which would be used to filter all subverses from /v/all which contain these keywords.

Make logging in more streamlined

"At the moment to log in you have to click the log in link at the top right. Next press log in on the dialog that appears (register or log in). After that fill in your username and password, and click the log in button.
On Reddit just fill in username and password and click log in, as the log in form is embedded in the page." - queezle

I suggest we combine login view and register view into one and use bootstrap modal dialog (the one we use today) as a placeholder for these combined views.

Loading of self posts with ajax on mouse click (preview)

Self posts (submissions which only contain a message, not an url) are currently displayed so that only their title is shown on frontpage or subverse index. In order to read submission text, a user has to visit the comments page of that submision. User should be able to view the full content of text submissions with ajax request and javascript DOM manipulation (by clicking on a "show more" icon next to submission title). The icon is currently not visible (but it is included in the sprite: http://whoaverse.com/Graphics/WVSprite.png).

Set highest clearance level to 2 for subverse moderators

Proposed clearance scale is:

1=full access to all settings, user is listed as owner "subverse created by: username"
2=full access to all settings, user is listed as moderator level 2
3=no access to settings, user is listed as moderator level 3, only able to delete links and comments
4=no access to settings, user is listed as moderator level 4, only able to delete comments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.