Git Product home page Git Product logo

chronline's People

Contributors

andrewkshim avatar blakejkaplan avatar fny avatar gautamh avatar gregory-lyons avatar grivkees avatar jimpo avatar prithvi923 avatar themichaellai avatar tylernisonoff 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

chronline's Issues

Switch Bluecloth with RDiscount, and Faker with Ffaker

RDiscount is faster and compiles gorgeously on Windows... apparently bluecloth's header files are out of order. You could make this conditional if you're really set on using bluecloth

Ffaker = faster faker

Success on Windows (ish)
booyah

Add published_at field to articles

Administrators should be able to post articles without publishing them for general viewing. Articles may only be seen once published_at is set.

Consolidate Duplicate Controller Methods

DRY and toasty goodness:

class ArticlesController < ActionController::Base
  def index(); @articles; end
end
class Admin::ArticlesController < ArticlesController
  def create(); end
end
class API::ArticlesController < ArticlesController
  def index(); super; render json: @articles; end
end

Only issue to resolve would be the BaseController.

Add credit column to images

If the photo should be credited to a non-staff member (Special to the Chronicle), it should use this field instead of photographer_id.

Embrace Rails Autoloading for Lib Folder

I'm going to tweak the lib directory a bit to aid with autoloading the gem extensions and what not.

I'll have a sample up in the config branch in my fork soon enough.

Author Creation

Right now authors can be created on the fly from the submission form. The behavior should be restricted via some validation

RSS Feeds

Write RSS source feeds for the whole site, individual sections, and each author.

Article routing redesign

Instead of /article/--, the route should be /articles////. Also consider the issue of changing slugs.

Search on mobile

You'll probably want to talk to @fny if you have any questions about using the search API.

list recent articles on admin page layout interface

yesh says either just a reference list somewhere of the articles posted that day, or to prepopulate the search box before text is typed with the recetn would be good.

this way they dont have to remember the names of all the articles when they are doign the layouts

Image deletion

Image deletion should not leave article with hanging reference.

Enhanced 404 Fail Image Functionality

There should be many different fail pictures that are stored (or the links are stored), and one is selected at random each time a 404 page is hit.

Anchor Tags Inside Headings

Anchor tags outside of block level elements (e.g. <a><h1>whatever</h1></a>) are invalid HTML.

Sections such as .content-container a hx and related CSS need fixing.

Note that this also restricts the use of the Rails #link_to() helper.

Blogs

You'll want to use Single Table Inheritance to have both Article and BlogPost share a table. A working example is the Staff model. Also, with respect to tagging it appears there are quite a few gems that do it, so don't roll out your own tagging system.

Views Break with Missing Font Face

If the skolar font doesn't load, the views get funky. I noticed this during dev because I kept getting a "403 (FORBIDDEN)" from Typekit.

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.