Skip to content
Snippets Groups Projects
Select Git revision
  • db77163438f2861a91952a22758aa6b86eea435a
  • master default protected
  • network/gdev-800 protected
  • cgeek/issue-297-cpu
  • gdev-800-tests
  • update-docker-compose-rpc-squid-names
  • fix-252
  • 1000i100-test
  • hugo/tmp-0.9.1
  • network/gdev-803 protected
  • hugo/endpoint-gossip
  • network/gdev-802 protected
  • hugo/distance-precompute
  • network/gdev-900 protected
  • tuxmain/anonymous-tx
  • debug/podman
  • hugo/195-doc
  • hugo/195-graphql-schema
  • hugo-tmp-dockerfile-cache
  • release/client-800.2 protected
  • release/runtime-800 protected
  • gdev-900-0.10.1 protected
  • gdev-900-0.10.0 protected
  • gdev-900-0.9.2 protected
  • gdev-800-0.8.0 protected
  • gdev-900-0.9.1 protected
  • gdev-900-0.9.0 protected
  • gdev-803 protected
  • gdev-802 protected
  • runtime-801 protected
  • gdev-800 protected
  • runtime-800-bis protected
  • runtime-800 protected
  • runtime-800-backup protected
  • runtime-701 protected
  • runtime-700 protected
  • runtime-600 protected
  • runtime-500 protected
  • v0.4.1 protected
  • runtime-401 protected
  • v0.4.0 protected
41 results

launch-a-live-network.md

Blame
    • Hugo Trentesaux's avatar
      5d8ba754
      prepare gtest runtime (!171) · 5d8ba754
      Hugo Trentesaux authored
      * fix gtest runtime type name
      
      * add embeded client spec and genesis in binary
      
      (this re-buids chainspecs at each run)
      
      * refac chainspecs generation
      
      * add what is needed to build gtest chainspecs
      5d8ba754
      History
      prepare gtest runtime (!171)
      Hugo Trentesaux authored
      * fix gtest runtime type name
      
      * add embeded client spec and genesis in binary
      
      (this re-buids chainspecs at each run)
      
      * refac chainspecs generation
      
      * add what is needed to build gtest chainspecs
    platform.js 12.07 KiB
    
    angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services'])
    
      // Translation i18n
      .config(function ($translateProvider, csConfig) {
        'ngInject';
    
        $translateProvider
          .uniformLanguageTag('bcp47')
          .determinePreferredLanguage()
          // Cela fait bugger les placeholder (pb d'affichage des accents en FR)
          //.useSanitizeValueStrategy('sanitize')
          .useSanitizeValueStrategy(null)
          .fallbackLanguage([csConfig.fallbackLanguage ? csConfig.fallbackLanguage : 'en'])
          .useLoaderCache(true);
      })
    
      .config(function($httpProvider, csConfig) {
        'ngInject';
    
        // Set default timeout
        $httpProvider.defaults.timeout = !!csConfig.timeout ? csConfig.timeout : 300000 /* default timeout */;
    
        //Enable cross domain calls
        $httpProvider.defaults.useXDomain = true;
    
        //Remove the header used to identify ajax call  that would prevent CORS from working
        delete $httpProvider.defaults.headers.common['X-Requested-With'];
    
        // removeIf(no-device)
        // Group http request response processing (better performance when many request)
        $httpProvider.useApplyAsync(true);
        // endRemoveIf(no-device)
      })
    
    
      .config(function($compileProvider, csConfig) {
        'ngInject';
    
        $compileProvider.debugInfoEnabled(!!csConfig.debug);
      })
    
      .config(function($animateProvider) {
        'ngInject';
    
        $animateProvider.classNameFilter( /\banimate-/ );
      })
    
      // Configure cache (used by HTTP requests) default max age
      .config(function (CacheFactoryProvider, csConfig) {
        'ngInject';
        angular.extend(CacheFactoryProvider.defaults, { maxAge: csConfig.cacheTimeMs || 60 * 1000 /*1min*/});
      })
    
      // Configure screen size detection
      .config(function(screenmatchConfigProvider) {
        'ngInject';
    
        screenmatchConfigProvider.config.rules = 'bootstrap';
      })
    
      .config(function($ionicConfigProvider) {
        'ngInject';
    
        // JS scrolling need for iOs (see http://blog.ionic.io/native-scrolling-in-ionic-a-tale-in-rhyme/)
        var enableJsScrolling = ionic.Platform.isIOS();
        $ionicConfigProvider.scrolling.jsScrolling(enableJsScrolling);
    
        // Configure the view cache
        $ionicConfigProvider.views.maxCache(5);