aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript
AgeCommit message (Expand)Author
2018-02-09Refs #4126 @6h; Add i18n to JSZog
2018-01-31Fix specsZog
2018-01-31Merge pull request #263 from af83/5750-non-commercial-stop-areasLuc Donnet
2018-01-29Refs #5750; Add a validation on VehicleJourneysZog
2018-01-25Refs #5598 @1h; Add specs5598-fix-journey-patterns-collectionZog
2018-01-17Refs #5614 @0.5h; Fix schedule computation when departure minutes are not set5614-fix-schedule-computationZog
2018-01-12Fix Jest specs on timetablesfix-timetables-specsZog
2018-01-11Refs #5535; Fix specsZog
2018-01-11Fix specsZog
2018-01-11Add tests, but I'm unable to run them for now :-(Zog
2018-01-11Refs #5551 @0.5h; Implement the custom fields in the creation modalZog
2018-01-11Merge pull request #225 from af83/5535-compute-vehicle-journeys-timesLuc Donnet
2018-01-10Merge pull request #217 from af83/5502-remove-search-from-selectsAlban Peignier
2018-01-10Refs #5535 @2H; Automatically fill VJs tilmes when possibleZog
2018-01-10Refs #5437 @1h; Refactor codeZog
2018-01-10Refs #5437 @0.5h; Propagate behaviour to the JourneyPatterns editorZog
2018-01-10Refs #5437 @0.5h; Show country name instead of city in the journeys editorZog
2018-01-09Refs #5502 @4h; Don't use Ajax in JP selector in VJs editor5502-remove-search-from-selectsZog
2018-01-08Refs #5455 @6h; Add time and distance between stops in Journey PatternsZog
2017-12-28Refs #5435 @0.5h; Fix Company select in VehicleJourney edition modalZog
2017-12-28Refs #5435 @0.5h; Fix EditModal validation in VehicleJourneys#indexZog
2017-12-28Fixes vehicleJourneys reducer spec. Refs #5407Alban Peignier
2017-12-27Merge pull request #183 from af83/5407-add-purchase-windows-to-vehicle-journeysAlban Peignier
2017-12-27Merge pull request #177 from af83/5376-fix-vehicle-journeys-uiAlban Peignier
2017-12-27Refs #5407; Fix CIZog
2017-12-27Refs #5407 @4h; First UI implementationZog
2017-12-27Refs #5376 @1h; Change the behaviour of the inputs on VehicleJourney#indexZog
2017-12-22Update Specs to what should be the correct behaviourZog
2017-12-22Refactor stopPointsReducer spec;Zog
2017-12-13Fix VJ speccedricnjanga
2017-10-17fix ci spec task Refs #4737Guillaume
2017-10-16add jest for js test, fix js test errors, remove unused config in config/envi...Guillaume
2017-10-10Need to test webpack config and to configure teaspoon to run React Apps specscedricnjanga
in sitecustomize.py, # because the PYTHONPATH is evaluated after the sitecustomize.py. Many modules (e.g. PyQt4) are # built only for a specific version of Python and will fail with cryptic error messages. # In the end this means: Don't set the PYTHONPATH permanently if you use different Python versions. exit('Your PYTHONPATH points to a site-packages dir for Python #{version.major}.x but you are running Python ' + str(sys.version_info[0]) + '.x!\\n PYTHONPATH is currently: "' + str(os.environ['PYTHONPATH']) + '"\\n' + ' You should `unset PYTHONPATH` to fix this.') else: # Only do this for a brewed python: opt_executable = '#{HOMEBREW_PREFIX}/opt/#{python}/bin/#{xy}' if os.path.realpath(sys.executable) == os.path.realpath(opt_executable): # Remove /System site-packages, and the Cellar site-packages # which we moved to lib/pythonX.Y/site-packages. Further, remove # HOMEBREW_PREFIX/lib/python because we later addsitedir(...). sys.path = [ p for p in sys.path if (not p.startswith('/System') and not p.startswith('#{HOMEBREW_PREFIX}/lib/python') and not (p.startswith('#{HOMEBREW_PREFIX}/Cellar/python') and p.endswith('site-packages'))) ] # LINKFORSHARED (and python-config --ldflags) return the # full path to the lib (yes, "Python" is actually the lib, not a # dir) so that third-party software does not need to add the # -F/#{HOMEBREW_PREFIX}/Frameworks switch. # Assume Framework style build (default since months in brew) try: from _sysconfigdata import build_time_vars build_time_vars['LINKFORSHARED'] = '-u _PyMac_Error #{HOMEBREW_PREFIX}/opt/#{python}/Frameworks/Python.framework/Versions/#{version.major}.#{version.minor}/Python' except: pass # remember: don't print here. Better to fail silently. # Set the sys.executable to use the opt_prefix sys.executable = opt_executable # Tell about homebrew's site-packages location. # This is needed for Python to parse *.pth. import site site.addsitedir('#{HOMEBREW_PREFIX}/lib/#{xy}/site-packages') EOF end def message @unsatisfied_because end def <=> other version <=> other.version end def to_s binary.to_s end # Objects of this class are used to represent dependencies on Python and # dependencies on Python modules. Both are already included in `name` def eql?(other) instance_of?(other.class) && name == other.name end def hash name.hash end end