Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 81 for validators (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

         * @param data the data to write
         */
        protected void write(final String path, final byte[] data) {
            validateFilePath(path);
            LdiFileUtil.write(path, data);
        }
    
        /**
         * Validates the file path.
         *
         * @param path the file path to validate
         */
        protected void validateFilePath(final String path) {
            if (StringUtil.isBlank(path)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

         */
        private IpAddressUtil() {
            // Utility class - no instances allowed
        }
    
        /**
         * Determines if the given address string represents an IPv6 address.
         * This method validates the address using InetAddress to ensure it's a valid IPv6 address.
         *
         * @param address the IP address string to check
         * @return true if the address is a valid IPv6 address, false otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                assertTrue(true);
            }
        }
    
        @Test
        public void test_createValidator() {
            try {
                final var validator = systemHelper.createValidator(ComponentUtil.getRequestManager(), null, new Class<?>[0]);
                assertNotNull(validator);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        @Test
        public void test_setLogLevel_invalidLevel() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                new FessTimeResourceProvider(null);
                // Constructor may accept null, so test continues
                assertTrue(true);
            } catch (NullPointerException e) {
                // Expected if constructor validates input
                assertTrue(true);
            }
        }
    
        // Test with different time adjustments
        @Test
        public void test_withDifferentTimeAdjustments() {
            // Test zero adjustment
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  5. ADDING_NEW_LANGUAGE.md

    ### Document Language Detection
    
    During crawling and indexing, Fess:
    
    1. Detects language from document content using Apache Tika
    2. Validates against `supported.languages` list
    3. Creates language-specific fields (e.g., `content_ja`, `title_en`, `content_sv`)
    4. Applies language-specific analyzers for better search results
    
    Configured in `fess_config.properties`:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            } catch (final Exception e) {
                throw new SsoLoginException("Failed to parse an authentication response.", e);
            }
        }
    
        /**
         * Validates the nonce in the authentication result.
         * @param stateData The stored state data containing the expected nonce.
         * @param authData The authentication result containing the actual nonce.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

            });
            return redirectWith(getClass(), moreUrl("list/1").params("dictId", form.dictId));
        }
    
        /**
         * Update an existing stemmer override item.
         * Validates the form data and updates the item in the dictionary.
         *
         * @param form The edit form containing updated item data
         * @return HTML response redirecting to the list page on success
         */
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            }
            cb.query().addOrderBy_CreatedTime_Desc();
        }
    
        /**
         * Sets up the conditions for storing a crawling information record.
         * Validates that the entity is not null and sets the creation time if not already present.
         *
         * @param crawlingInfo the crawling information entity to prepare for storage
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        //                                                                       Validation
        //                                                                           =========
        /**
         * Validates document fields according to index field requirements.
         *
         * @param doc the document to validate
         * @param throwError consumer to handle validation errors
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  10. src/main/webapp/js/chat.js

                    '</button>' +
                '</div>';
    
            messageElement.find('.message-wrapper').append(actionsHtml);
        }
    
        /**
         * Validates and sanitizes a URL to prevent javascript: and other dangerous protocols
         */
        function sanitizeUrl(url) {
            if (!url || typeof url !== 'string') {
                return '#';
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
Back to Top