Giter Site home page Giter Site logo

Comments (8)

kristinashu avatar kristinashu commented on June 27, 2024

It would also be helpful to have a list of Mozilla sites that get updated by program staff (and volunteers?) in a django interface. This will help determine who to interview in #11 and which bolt-ons might be relevant to review in #12

from foundation.mozilla.org.

kristinashu avatar kristinashu commented on June 27, 2024

Meetings are set with pmac and jwhitlock for later this week.

http://etherpad.io/p/moco_django

from foundation.mozilla.org.

kristinashu avatar kristinashu commented on June 27, 2024

Notes from meeting with pmac:

  • he works on bedrock where the admin is very basic (Program staff just add newsletter link to site) so it isn't the best example
  • bolt-ons:
  • who has access
    • staff
    • close contributors (thunderbird team release note)
  • security reviews are an issue
    • join the django security mailing list/bugzilla group to get sec.issues before they go public
  • big jumps from version to version that break bolt-ons and grappelli
  • others people to talk to:
    • Osmose (Michael Kelly)
    • someone from sumo (will ask roland at office who to ask)
    • someone from MDN (if django rather than wiki): jwhitlock and will ask Stephanie at office

from foundation.mozilla.org.

kristinashu avatar kristinashu commented on June 27, 2024

Notes from meeting with jwhitlock:

  • he works on kuma for MDN https://github.com/mozilla/kuma
  • direct admin pages access for staff and longterm contributors (to be locked down soon though due to security)
  • you log into a front end and then you get to work with the backend data
  • different tiers of access for different people (view vs edit privaleges)
  • provide step by step directions to Program staff for a small specif job
    • example: admin decide if a new edit to wiki is spam or not. They see list, can filter, see detail, then chose from a dropdown if spam or not.
  • forms are tough
  • django is (was?) the basis for dynamic sites, DRF is an option but you're going to be fighting the framework a bit
  • familiarity with the traditional concept (post to site -> page refresh, rather than ajaxy in-page stuff)
  • standard django with jinja2 templates
  • uses some custom JS for UI updating (example filtering list)
  • uses pantoon for mdn - in line edit and then save
  • handy util for python deps: requires.io to examing requirements.txt for deployed codebases (can flag green/stale/insecure/etc)
    codecov.io for code coverage
  • https://requires.io/github/mozilla/kuma/requirements/?branch=master
  • recommends we talk to pantoon people: Poke Osmose and Mathjazz for how they use django in pontoon

from foundation.mozilla.org.

kristinashu avatar kristinashu commented on June 27, 2024

Jezdev mentioned these for CMS: https://www.django-cms.org/en/ and https://wagtail.io/

Django CMS looks excellent from a Program Staff usability stand point. Would be great to see how viable it is from an engineering stand point.

from foundation.mozilla.org.

kristinashu avatar kristinashu commented on June 27, 2024

Notes from meeting with Matjaz:

Pontoon

  • currently one developer (matjaz), one volunteer (jotes) (~1.5 FTE)
  • the admin side is really just two custom views, actually considering switching to stock Django admin
    • the maintenance required is high because it would need work to look sleak (writing widgets, etc)
  • users:
    • purely volunteers (~700 active users - having contributed in the last 2 months)
    • hired agencies for legal translation
    • roles
      • logged in user (you can contribute suggestions)
      • translator (someone who can approve translations and submit own translations)
      • team manager (translator + able to give permissions to users)
      • admin (basically team members, able to add new projects, enable locales, full access to pontoon admin view as well as django admin view) (four people atm, 2 engineers, 2... might be...?)
  • "things have to be really simple" so no specific technical skills should be necessary to use the system
  • mostly stock Django
    • no third-party addons/skins/etc, view content is in-house
    • standard web techs like jquery, webfonts, etc.
    • originally used django oauth for logins
      • no auth0 (yet)
  • new project => basic data input into form that defines "a project", this then sets up a view that can load that project
  • every 20 minutes there is sync from pontoon django to the code repository, which then sets up all the pages (dynamic django views) and dashboard.

from foundation.mozilla.org.

kristinashu avatar kristinashu commented on June 27, 2024

@Pomax I think we can close this ticket, agree?

from foundation.mozilla.org.

Pomax avatar Pomax commented on June 27, 2024

yep, I think so.

from foundation.mozilla.org.

Related Issues (20)

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.