Skip to content
Snippets Groups Projects
Select Git revision
  • c98317e215f3f89eff33fd0e13a91bf838de3ee1
  • master default protected
  • fix_picked_up_file_in_runtime_release
  • network/gtest-1000 protected
  • upgradable-multisig
  • runtime/gtest-1000
  • 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
  • gtest-1000-0.11.1 protected
  • gtest-1000-0.11.0 protected
  • gtest-1000 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
41 results

verify-runtime-code.md

Blame
    • Hugo Trentesaux's avatar
      ef73a0d0
      improve documentation (!101) · ef73a0d0
      Hugo Trentesaux authored and Éloïs's avatar Éloïs committed
      * fix
      
      * doc(end2end): detail test users
      
      * doc(all): update docker tag
      
      update docker image name from 0.2.0 to 0.3.0
      use "docker compose" everywhere instead of "docker-compose"
      improve table of content
      fix layout
      
      * doc(all): improve docs
      
      add logo to readme
      add table of content
      rewording
      complete
      
      * doc(all): fix typos
      ef73a0d0
      History
      improve documentation (!101)
      Hugo Trentesaux authored and Éloïs's avatar Éloïs committed
      * fix
      
      * doc(end2end): detail test users
      
      * doc(all): update docker tag
      
      update docker image name from 0.2.0 to 0.3.0
      use "docker compose" everywhere instead of "docker-compose"
      improve table of content
      fix layout
      
      * doc(all): improve docs
      
      add logo to readme
      add table of content
      rewording
      complete
      
      * doc(all): fix typos
    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);