Code Monkey home page Code Monkey logo

moj-reusables's Introduction

Reusable components/tools at MoJ

A place to publish reusable components/tools at MoJ. Please add your own in the appropriate section. If you don't see the appropriate section, please create one.

Django

django-form-error-reporting

A form mixin that reports form errors as events to Google Analytics

https://github.com/ministryofjustice/django-form-error-reporting

django-moj-irat

Tools to support adding a Django-based service to Ministry of Justice's Incidence Response and Tuning

https://github.com/ministryofjustice/django-moj-irat

django-zendesk-tickets

Feedback form that submits to Zendesk

https://github.com/ministryofjustice/django-zendesk-tickets

django-govuk-template

Adds GOV.UK templates, css and other components from GDS's packages

https://github.com/ministryofjustice/django-govuk-template

django-govuk-forms

Allows Django forms to be output with the correct HTML to be styled by GOV.UK css (e.g. from django-govuk-template)

https://github.com/ministryofjustice/django-govuk-forms

django-gov

(DEPRECATED) Adds GovUK templates, css and other tools for Django based service

https://github.com/ministryofjustice/django-gov

Rails

MoJ Rails 5 template (simple)

Use the MoJ Rails 5 template to commission a licensed Rails 5 project with 100% SimpleCov coverage, RSpec, mutation testing, brakeman, rubocop, optional documentary comment scrubbing, a CircleCI configuration, etc.

GOV.UK elements stylesheets gem

Use the GOV.UK elements gem to pull GDS's govuk_elements stylesheets and javascript files into a Rails app.

GOV.UK elements form builder gem

You can use GOV.UK elements form builder helper methods to develop GOV.UK elements styled form applications in Rails.

Date field gem

Use the date field Rails plugin to add GOV.UK standard three-box date fields to forms.

GOV.UK Payment Gateway API client gem

Use the GOV.UK Payment Gateway API client gem to simplify building apps that need to accept payments using the GOV.UK Payment Gateway.

GLiMR API client gem

Use the GLiMR API client gem to simplify building apps that talk to the GLiMR case management system (in use in several UK tribunals).

Python

Bank holidays

Python package for loading bank holidays from GOV.UK: ministryofjustice/govuk-bank-holidays

Postcode service client

Python package providing an API client for Postcode Service https://github.com/ministryofjustice/postcodeinfo-client-python

Register client

Python package for reading Open Register data curated by GDS: ministryofjustice/openregister-client

Ruby

Postcode service client

Ruby gem providing an API client for Postcode Service https://github.com/ministryofjustice/postcodeinfo-client-ruby

LAA Fee Calculator client

Ruby gem providing a client for the LAA Fee Calculator API. Use the LAA fee calculator client gem, hosted on Rubygems.org, to simplify calling the LAA Fee Calculator API. The API provides calculation of legal aid fees for advocates and litigators in criminal cases.

String Scrubber

Ruby gem that prevents #to_json calls on ASCII strings that have been incorrectly re-encoded from borking the calling application (mainly happens because of the UTF BOM-Byte Order Mark). https://github.com/ministryofjustice/string_scrubber

Generic front-end GOVUK resources

See the Front-end Guide

Service

Postcode lookup service

REST API for looking up a given UK Postcode and getting addresses, lat/long, and local authority info

Available from https://github.com/ministryofjustice/postcodeinfo

Malware scanning service

A pair of docker containers, and a docker compose file, that provides a REST(ish) interface to a ClamAV malware scanner service

Available from https://github.com/ministryofjustice/malware-scanner-service

Mailcatcher container

Provides an instance of mailcatcher, listening for SMTP connections on port 1025 and UI connections on port 1080.

There is no authoritative mailcatcher container and existing containers vary wildly in size and are frequently not kept up-to-date. This is a very simple, small container that can be easily maintained within the MoJ.

Available from https://github.com/ministryofjustice/mailcatcher and https://hub.docker.com/r/ministryofjustice/mailcatcher/

moj-reusables's People

Contributors

aldavidson avatar aliuk2012 avatar cliffxuan avatar digitalronin avatar dotemacs avatar filipposc5 avatar jsugarman avatar maxf avatar s-block avatar stevemarshall avatar tatyree avatar ushkarev avatar

Stargazers

 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

moj-reusables's Issues

A branch protection setting is not enabled: requires approving reviews

Hi there
The default branch protection setting called requires approving reviews is not enabled for this repository
See repository settings/Branches/Branch protection rules
Either add a new Branch protection rule or edit the existing branch protection rule and select the Require approvals option
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

A branch protection setting is not enabled: codeowners require reviews

Hi there
The default branch protection setting called codeowners require review is not enabled for this repository
This option affects a pull request, i.e a PR will need to be reviewed and approved by a CODEOWNER before it can be merged.
See repository settings/Branches/Branch protection rules
Either add a new Branch protection rule or edit the existing branch protection rule and select the Require review from Code Owners option
Create a .github/CODEOWNERS file
Add a or multiple entries of @ministryofjustice/team_name to the CODEOWNERS file
The team_name shall be a team from within the MoJ teams: https://github.com/orgs/ministryofjustice/teams
See GH Codeowners documentation: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

A branch protection setting is not enabled: Include administrators

Hi there
The default branch protection setting called Include administrators is not enabled for this repository
See repository settings/Branches/Branch protection rules
Either add a new Branch protection rule or edit the existing branch protection rule and select the Include administrators option
This will enable the branch protection rules to admin uses as well
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

Default branch is not main

Hi there
The default branch for this repository is not set to main
See repository settings/settings/branches to rename the default branch to main and ensure the Branch protection rules is set to main as well
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

A branch protection setting is not enabled: administrators require review

Hi there
The default branch protection setting called administrators require review is not enabled for this repository
See repository settings/Branches/Branch protection rules
Either add a new Branch protection rule or edit the existing branch protection rule and select the Require a pull request before merging option
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

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.