Giter Club home page Giter Club logo

neatlinewebservice's Issues

Implement public/private checking for public views

In the admin interface, it is possible to set whether an exhibit is public or not. Right now, though, this isn't actually wired up with the public show views - everything is visible, regardless of whether public is flipped on or not.

The show controller actions in the PublicController should check to see if the requested exhibit is public.

Exhibits view should display and sort by a "modified on __" column

Right now, exhibits just stack up vertically, with the most recently created exhibit at the bottom. NL updated a "modified" column on the Neatline native exhibits table every time a change is made to the exhibit or one of its records. The webservice browse view should:

  • Display the modified date in a readable format;
  • Automatically sort by that column, so that recently updated exhibits are always at the top of the stack.

Make slug previews on exhibit create form accurate

Right now, the URL-previewed in the /add form tries to interpolate the final URL based on the current web root of the installation, etc. This doesn't work, though, since we're going to be doing funky route rewriting to get the service hooked into neatline.org in a certain way.

The slugBuilder widget that controls the preview should be modified such that we can just pass in an arbitrary base URL for the previews.

Merge slug and public data off of NLWS exhibit model

The slug and public columns on the NeatlineWebExhibit table are now represented natively on the parent NL exhibit model, and are thus redundant on the NLWS table. Now, the only remaining role for the NWLS table is to establish the user-exhibit relationship, which is not implemented in NL and likely won't be in a way that fits for the webservice.

URI issue

This was emailed by Trip Kirkpatrick...

In playing around with the Neatline sandbox site, I encountered the
attached error.

I was hopping around pretty heedlessly, but steps to reproduce seem to be
simply using the Preview URL from the Edit Exhibit screen as the target
for a web browser request. That URI is inaccurate for my sandbox. The
displayed preview is
http://sandbox.neatline.org/triplingual/uva-campus-map, but the working
URI is http://sandbox.neatline.org/webservice/triplingual/uva-campus-map.

I'm on Firefox 14 and Mac Lion, though I don't expect they are important
environmental factors. Since many of you are at DH2012, I don't imagine
you'll be able to look into this for a while.

This looks like the URI on the editAction is incorrect...

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.