Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for path_mapping (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                    "fess_config.file_config", //
                    "fess_config.job_log", //
                    "fess_config.key_match", //
                    "fess_config.label_type", //
                    "fess_config.path_mapping", //
                    "fess_config.related_content", //
                    "fess_config.related_query", //
                    "fess_config.request_header", //
                    "fess_config.role_type", //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

    import org.codelibs.fess.es.config.bsentity.BsPathMapping;
    import org.codelibs.fess.helper.PathMappingHelper;
    
    /**
     * @author FreeGen
     */
    public class PathMapping extends BsPathMapping {
    
        private static final Logger logger = LogManager.getLogger(PathMapping.class);
    
        private static final long serialVersionUID = 1L;
    
        protected Pattern userAgentPattern;
    
        protected Pattern regexPattern;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

        public void test_replaceUrl() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            final PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

            }).createPageNumberList());
    
            return pathMappingList;
        }
    
        public OptionalEntity<PathMapping> getPathMapping(final String id) {
            return pathMappingBhv.selectByPK(id);
        }
    
        public void store(final PathMapping pathMapping) {
    
            pathMappingBhv.insertOrUpdate(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            String result = text;
            for (final PathMapping pathMapping : cachedPathMappingList) {
                if (matchUserAgent(pathMapping)) {
                    String replacement = pathMapping.getReplacement();
                    if (replacement == null) {
                        replacement = StringUtil.EMPTY;
                    }
                    result = result.replaceAll("(\"[^\"]*)" + pathMapping.getRegex() + "([^\"]*\")", "$1" + replacement + "$2");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java

    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.es.config.exentity.PathMapping;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    public class ApiAdminPathmapAction extends FessApiAdminAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertUrlLink("smb:/home/taro/%E3%81%82.txt", //
                    "file://home/taro/%E3%81%82.txt");
    
            PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("ftp:");
            pathMapping.setReplacement("file:");
            ComponentUtil.getPathMappingHelper().cachedPathMappingList.add(pathMapping);
            // ftp->file
            assertUrlLink("ftp:/home/taro/test.txt", //
                    "file://home/taro/test.txt");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        //                                                                        ============
        private static OptionalEntity<PathMapping> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new PathMapping()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap_details.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="pathMapping"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Feb 28 06:09:47 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="pathMapping"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
Back to top