Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 172 for valida (0.04 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            kuromojiPager.clear();
            return asHtml(path_AdminDictKuromoji_AdminDictKuromojiJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return ".sql=text/x-sql\ninvalid_entry\n.pls=text/x-plsql";
                }
            });
    
            mimeTypeHelper.init();
    
            // Valid entries should still be loaded
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "test.sql"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

         *
         * @param form the login form containing username and password
         * @return the HTML response after login attempt
         */
        @Execute
        public HtmlResponse login(final LoginForm form) {
            validate(form, messages -> {}, () -> asIndexPage(form));
            verifyToken(() -> asIndexPage(form));
            final String username = form.username;
            final String password = form.password;
            form.clearSecurityInfo();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @return HTML response redirecting to the storage list after upload
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final ItemForm form) {
            validate(form, messages -> {}, () -> asListHtml(form.path));
            if (form.uploadFile == null) {
                throwValidationError(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL), () -> asListHtml(form.path));
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            return crawlingConfig.getConfigParameterMap(config);
        }
    
        /**
         * Validates if the given URL string is a valid URL.
         *
         * @param urlStr the URL string to validate
         * @return true if the URL is valid, false otherwise
         */
        protected boolean isValidUrl(final String urlStr) {
            if (StringUtil.isBlank(urlStr)) {
                return false;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            assertEquals(2, names.length);
            assertEquals(2, loadCount[0]); // Should increment
        }
    
        // Test loadDataStoreNameList with valid XML
        @Test
        public void test_loadDataStoreNameList_validXml() throws Exception {
            // Create test JAR with valid XML
            final File jarFile = new File(tempDir, "test-datastore.jar");
            createTestJarWithXml(jarFile,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

        }
    
        @Test
        public void test_intervalRule_isTarget_invalidDays() {
            IntervalRule rule = new IntervalRule("10:00", "18:00", "1,invalid,3", 1000);
    
            // Should still work with valid days
            assertTrue(rule.isTarget(12, 30, 1)); // 12:30 on Sunday
            assertTrue(rule.isTarget(12, 30, 3)); // 12:30 on Tuesday
            assertFalse(rule.isTarget(12, 30, 2)); // 12:30 on Monday
        }
    
    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)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         * @return HTML response for the synonym dictionary index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            synonymPager.clear();
            return asHtml(path_AdminDictSynonym_AdminDictSynonymJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            // Test setting different max group depths
            authenticator.setMaxGroupDepth(5);
            authenticator.setMaxGroupDepth(20);
            authenticator.setMaxGroupDepth(1);
    
            // Verify method accepts valid values without exception
            assertTrue(true);
        }
    
        @Test
        public void test_setGroupCacheExpiry() {
            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructorWithNullMessageAndValidCause() {
            // Test constructor with null message and valid cause
            Exception cause = new RuntimeException("Runtime error");
    
            SearchQueryException exception = new SearchQueryException(null, cause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top