Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 211 for script3 (0.05 seconds)

  1. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

        }
    
        /**
         * Evaluates a Groovy script template with the provided parameters.
         *
         * <p>This method caches compiled Script classes per script text.
         * Each evaluation creates a new Script instance to ensure thread-safe binding isolation.
         * The DI container is automatically injected into the binding map as "container".</p>
         *
         * @param template the Groovy script to evaluate (null-safe, returns null if empty)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            final Map<String, Object> params = new HashMap<>();
            final String script = "def map = [name: 'Alice', age: 30]; return map.name + ' is ' + map.age";
            assertEquals("Alice is 30", groovyEngine.evaluate(script, params));
        }
    
        // ===== Multi-line Script Tests =====
    
        /**
         * Test that multi-line scripts work
         */
        @Test
        public void test_evaluate_multilineScript() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  3. docs/en/docs/contributing.md

    ```
    
    </div>
    
    ### Docs Structure
    
    The documentation uses [MkDocs](https://www.mkdocs.org/).
    
    And there are extra tools/scripts in place to handle translations in `./scripts/docs.py`.
    
    /// tip
    
    You don't need to see the code in `./scripts/docs.py`, you just use it in the command line.
    
    ///
    
    All the documentation is in Markdown format in the directory `./docs/en/`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  4. docs/de/docs/_llm-test.md

    Dieses Dokument testet, ob das <abbr title="Large Language Model – Großes Sprachmodell">LLM</abbr>, das die Dokumentation übersetzt, den <abbr title="General Prompt – Allgemeiner Prompt">`general_prompt`</abbr> in `scripts/translate.py` und den sprachspezifischen Prompt in `docs/{language code}/llm-prompt.md` versteht. Der sprachsspezifische Prompt wird an `general_prompt` angehängt.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  5. docs/fr/docs/virtual-environments.md

    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ .venv\Scripts\Activate.ps1
    ```
    
    </div>
    
    ////
    
    //// tab | Windows Bash
    
    Ou si vous utilisez Bash pour Windows (par exemple [Git Bash](https://gitforwindows.org/)) :
    
    <div class="termy">
    
    ```console
    $ source .venv/Scripts/activate
    ```
    
    </div>
    
    ////
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 24.5K bytes
    - Click Count (0)
  6. docs/es/docs/_llm-test.md

    # Archivo de prueba de LLM { #llm-test-file }
    
    Este documento prueba si el <abbr title="Large Language Model - Modelo de lenguaje grande">LLM</abbr>, que traduce la documentación, entiende el `general_prompt` en `scripts/translate.py` y el prompt específico del idioma en `docs/{language code}/llm-prompt.md`. El prompt específico del idioma se agrega al final de `general_prompt`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  7. docs/fr/docs/_llm-test.md

    # Fichier de test LLM { #llm-test-file }
    
    Ce document teste si le <abbr title="Large Language Model - Grand modèle de langage">LLM</abbr>, qui traduit la documentation, comprend le `general_prompt` dans `scripts/translate.py` et l’invite spécifique à la langue dans `docs/{language code}/llm-prompt.md`. L’invite spécifique à la langue est ajoutée à la fin de `general_prompt`.
    
    Les tests ajoutés ici seront visibles par tous les concepteurs d’invites spécifiques à chaque langue.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/strict-content-type.md

    Este comportamiento por defecto provee protección contra una clase de ataques de **Cross-Site Request Forgery (CSRF)** en un escenario muy específico.
    
    Estos ataques aprovechan que los navegadores permiten que los scripts envíen requests sin hacer un preflight de CORS cuando:
    
    * no tienen un header `Content-Type` (p. ej. usando `fetch()` con un body `Blob`)
    * y no envían credenciales de autenticación.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  9. docs/pt/docs/_llm-test.md

    # Arquivo de teste de LLM { #llm-test-file }
    
    Este documento testa se o <abbr title="Large Language Model - Modelo de Linguagem de Grande Porte">LLM</abbr>, que traduz a documentação, entende o `general_prompt` em `scripts/translate.py` e o prompt específico do idioma em `docs/{language code}/llm-prompt.md`. O prompt específico do idioma é anexado ao `general_prompt`.
    
    Os testes adicionados aqui serão vistos por todos os designers dos prompts específicos de idioma.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/strict-content-type.md

    ## CSRF Risk { #csrf-risk }
    
    This default behavior provides protection against a class of **Cross-Site Request Forgery (CSRF)** attacks in a very specific scenario.
    
    These attacks exploit the fact that browsers allow scripts to send requests without doing any CORS preflight check when they:
    
    * don't have a `Content-Type` header (e.g. using `fetch()` with a `Blob` body)
    * and don't send any authentication credentials.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top