Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 172 for valida (0.13 seconds)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            bean.setCronExpression("");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test blank string (should be valid)
            bean.setCronExpression("   ");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
        }
    
        // Test validation with invalid cron expressions
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

            return ComponentUtil.getProtocolHelper().isFileSystemPath(url);
        }
    
        /**
         * Validates if the URL is safe for redirection.
         *
         * @param url the URL to validate
         * @return true if the URL is valid for redirection, false otherwise
         */
        protected boolean isValidRedirectUrl(final String url) {
            if (StringUtil.isBlank(url)) {
                return false;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            assertFalse(thumbnailGenerator.isAvailable());
        }
    
        @Test
        public void test_createTask_withValidParams() {
            // Test task creation with valid parameters
            String path = "/path/to/document.pdf";
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("mimetype", "application/pdf");
            docMap.put("title", "Test Document");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         */
        public String[] getFileProtocols() {
            return fileProtocols;
        }
    
        /**
         * Checks if the given URL uses a valid web protocol.
         *
         * @param url the URL to validate
         * @return true if the URL starts with a supported web protocol, false otherwise
         */
        public boolean isValidWebProtocol(final String url) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

            return determineValid(value);
        }
    
        /**
         * Determines if the given value is a valid cron expression.
         * @param value the value to validate
         * @return true if valid, false otherwise
         */
        protected boolean determineValid(final String value) {
            if (StringUtil.isNotBlank(value) && !LaCronUtil.isCronExpValid(value)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                // validate()
                Method validateMethod = WebApiUtil.class.getMethod("validate");
                assertTrue("validate should be static", java.lang.reflect.Modifier.isStatic(validateMethod.getModifiers()));
                assertTrue("validate should be public", java.lang.reflect.Modifier.isPublic(validateMethod.getModifiers()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                throw new FessSystemException("Failed to decode " + fileName, e);
            }
        }
    
        private boolean isValidVirtualHostPath(final String path) {
            // Empty path is valid (default host)
            if (StringUtil.isBlank(path)) {
                return true;
            }
            // Path must match one of the configured virtual host paths
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  8. src/main/resources/fess_message_fr.properties

    # Hibernate Validator
    # -------------------
    constraints.CreditCardNumber.message = {item} est un numéro de carte de crédit non valide.
    constraints.EAN.message = {item} est un code-barres {type} non valide.
    constraints.Email.message = {item} n'est pas une adresse e-mail valide.
    constraints.Length.message = La longueur de {item} doit être comprise entre {min} et {max}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  9. src/main/webapp/js/admin/plugins/form-validator/security.js

    n(a,b){b(a)};if(!h)throw new Error("Missing input name used for http requests made by server validator");g||(g={}),"string"==typeof g&&(g=a.parseJSON(g)),g[h]=d,a.ajax({url:b,type:"POST",cache:!1,data:g,dataType:"json",error:function(a){return i({valid:!1,message:"Connection failed with status: "+a.statusText},f),!1},success:function(a){i(a,f)}})};a.formUtils.addAsyncValidator({name:"server",validatorFunction:function(a,b,c,d,e,g){var h=c.valAttr("url")||d.backendUrl||document.location.href;g.ad...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 10.5K bytes
    - Click Count (1)
  10. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            assertTrue("Empty path should be valid (default host)", result);
        }
    
        @Test
        public void test_isValidVirtualHostPath_nullPath() throws Exception {
            setupVirtualHostHelper();
    
            Boolean result = invokeIsValidVirtualHostPath(null);
            assertTrue("Null path should be valid (default host)", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top