Giter Club home page Giter Club logo

dev-website's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar efrane avatar graupnerdemos avatar konstin avatar stefanw avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

grindhold

dev-website's Issues

Extract default constraints into configuration

There's several places where default constraints are set in code
to choose which version of the spec is used to generate the required
content. This should be consolidated into a configuration variable
to simplify maintenance.

Remove manual model (un)guarding

From the Laravel 5.2 upgrade guide:

When running database seeds, all Eloquent models are now
unguarded by default. Previously a call to Model::unguard()
was required. You can call Model::reguard() at the top of your
DatabaseSeeder class if you would like models to be guarded during seeding.

Spezifikation online lesen und Downloads funktionieren nicht mehr – Links fixen?

Auf https://oparl.org/spezifikation/ zeigt der Link „[Entwurf der Spezifikation kann] online gelesen werden“ nur wieder auf https://oparl.org/spezifikation/ statt auf eine online lesbare Version.
Die Downloadlinks für alle Dateiformate zeigen auf nicht mehr vorhandene Dateien – vermutlich wurde das Schema des Dateinamens geändert?

Kann leider selbst keinen Fix anbieten, ich blicke da nicht durch. Hoffe dieser Hinweis hilft. Wenn nicht einfach schließen :)

Add information to README

It would be helpful to have a little bit more information such as: How is it used? How does it work?

Improve the downloads page to make it clearer what can and will be downloaded

The current state of the downloads functionality is confusing and doesn't even display all available options. There are two completely separate places where downloads of the specification can be obtained - in a modal on the live view and on the downloads page - and they don't actually scale to providing different versions of the specification. This should be resolved.

Introduce ability to switch versions of the specification view

The specification view should provide a facility to switch between specification versions to allow checking when a specific change was introduced. The version switcher should at least provide the following options:

  • The latest released version
  • The current development version

By default, the latest release should be loaded.

A stretch goal of this issue would be to provide access all released versions.

Document (non-)OParl api endpoints using swagger

Provide a swagger.json for the api endpoints. This may even be automatable
by using the json schema of the oparl specification for the /api/oparl-namespace
For all other ones, some form of code/comment-based auto-documentation shall
be implemented to reduce the required documentation effort to a minimum.

URLs in the demoserver should have the tld .example

Any generated URL in the demoserver data should end with .invalid as TLD
to ensure that we do not accidentally spread actually existing email addresses
or link to sites we do not want to link to with the demo data.

Replace any Collection->lists call with pluck

Illuminate\Support\Collection::lists has been depracted in favor
of pluck. This issue is to make sure we check the code for any
remaining lists calls before we eventually upgrade to Laravel 5.3

Fix gulp.

Gulp currently utilizes laravel-elixir which is kind of a giant overkill
for what this project actually requires in terms of asset management.

To make assets more maintainable the gulpfile should be converted to not
use elixir anymore. Additionally, this will most likely fix some hard-to-track
deployment issues.

Add an endpoint maintenance job which regularily clears unreachable endpoints

Listing the available endpoints is only actually useful if these
endpoints are reachable. Over time, the endpoint database might accrue
entries that don't work anymore.

This however is easily solvable by regularily pinging the known endpoints
to check whether they still exist and delete them from the database
if not.

This same job queue may additionally be used to (partially) refresh validation
data in the future.

task pooling for validator

if the system recognizes, that two individuals requested a validation of the same endpoint, it should just do the validation once and send all those who requested a validation of that endpoint the result.

please be aware that the currently running validation should not be taken into account for this pooling-operation. it could be, that a person requests a validation because of a bug that he fixed. in case the current validation has been started before the bugfix on the endpoint has been deployed, the tester may receive misleading results. we should avoid this.

Implement filter parameters

These OParl filter query parameters are not yet implemented:

  • created_since
  • created_until
  • modified_since
  • modified_until

Provide downloadables for liboparl

We should find a way to integrate liboparl into the dev-website stack.
This includes providing downloads of latest/stable versions in various
formats (x64-linux compiled tarball, source archives, deb package, etc.)

Integrate validator

Integrate OParl/validator into the website. This is depends on #29,
because we can't run the validator without liboparl present.

The validation flow on the website should be as follows:

  1. A user enters an endpoint url to be validated and an email
    address at which they want to be notified once validation
    completes.
  2. The information is enqueued and eventually processed by
    a validation job
  3. The results of the validation are stored for further processing
    and formatted into a neat email for the customer.

Make sure all timestamps are nullable

According to the Laravel 5.2 upgrade guide, timestamps need to be
nullable to remain usable in MySQL >= 5.7.

MySQL Dates

Starting with MySQL 5.7, 0000-00-00 00:00:00 is no longer
considered a valid date, since strict mode is enabled by default.
All timestamp columns should receive a valid default value when
you insert records into your database. You may use the useCurrent
method in your migrations to default the timestamp columns to the
current timestamps, or you may make the timestamps nullable to allow null values:

$table->timestamp('foo')->nullable();

$table->timestamp('foo')->useCurrent();

$table->nullableTimestamps();

Thus, we need to make sure that all timestamps are migrated to
be compatible again.

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.