Giter VIP home page Giter VIP logo

zoom's People

Contributors

brettgoss avatar hlainchb avatar jw709 avatar kaptaink avatar m-sinclair avatar robinsax avatar zodman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zoom's Issues

Readme Correction

$ vi web/sites/default/site.ini
should be:
$ vi web/sites/localhost/site.ini

Otherwise following the documentation you will attempt to connect with dummy credentials.

Add a catch-all render 'helper' with a default keyword argument

Current behaviour:

When no helper matches {{some_variable}} in a template, the output HTML contains the input string; {{some_variable}}

Expected behaviour:

When no helper matches {{some_variable}} in a template, the output HTML contains an empty string in its place. Template variables should universally support a default keyword argument, such that {{helperless_variable default="default value"}} outputs default value.

update webtest.py to set up headless browser driver correctly for OS X environment

In my OS X environment I can't utilize the Display() function as it relies upon pyvirtualdisplay which doesn't run properly in OS X.

Instead the combination of installing Selenium on my Mac, Chromedriver, and Chrome Canary. Setting the following chrome options will allow the Chrome browser to run headless (without using the Display()):

  • options.add_argument('window-size=800x841')
  • options.add_argument('headless')

Need to extend webtest.py to set the above options and skip Display() for when the environment is OS X.

Collection URL in activity log points to wrong place

The collection URLs in the admin/activity log are rendered incorrectly. They are rendered using helpers which means that the URL is only finally constructed when it is displayed in the admin app - which means it uses the admin app as it's current app, which is wrong. It should point to the app for the collection that was doing the logging. This issue is only causing problems when collection URLs are used in apps that are not the app where the collection is implemented, but it should really just render the correct URL when the log entry is created so no rending takes place later on.

zoom tests are using two different users and databases when testing

When I ran the zoom tests for the first time on my local, I ran into issues where I didn't have the correct test users in place, nor the test databases. This highlighted an issue with the tests in that some tests are utilizing 'zoomuser' as a test users and others are utilizing 'testuser'. Ideally we modify the tests and use a single test user.

Similarly, some tests expect a test database to exist called 'zoomdata' and others expect 'zoomtest'.

App methods shouldn't load until the app is called

AppProxy assigns it's .method attribute when it is constructed however the method may be an expensive operation and is only needed when the app is actually to be used. Rather than load the app module (and incurring the costs of doing so including paying for any operations or having to deal with exceptions being raised) it would be better to do a lazy load of the .method attribute and pay the price only if the app needs to be used.

Fields using zoom.component.compose appear to have a dependency on an "instance"

I have not looked into specifically what "instance" is, but something like this works on the web and fails from tests or the command line:

from zoom.fields import PulldownField
f = PulldownField('Type', options=[('',''),('One',1),('Two',2)])
f.edit()

error is:
AttributeError: '_thread._local' object has no attribute 'parts'

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.