confluence

Confluence 邮箱设置

蓝咒 提交于 2019-12-20 07:22:35
Confluence有两种方法设置邮箱 原理: confluence服务器配置好邮箱信息,用户触发邮件发送规则时,confluence服务使用已配置的邮箱信息登录到邮箱服务器,进行发件服务。 那么我们就需要再confluence上配置好邮箱信息。 一:配置SMTP主机发送 这里我使用的是163邮箱,登录163邮箱在设置设置开头SMTP登录服务。 设置登录授权码 接下来在confluence上配置邮箱服务信息: 测试发件:OK! 效果: 二:配置JNDI地址发送 1.编辑server.xml文件 #cd /opt/atlassian/confluence/conf #cp server.xml server.xml.bak #vim server.xml <!--邮箱配置--> <Resource name="mail/QqSMTPServer" auth="Container" type="javax.mail.Session" mail.smtp.host="smtp.163.com" mail.smtp.port="25" mail.smtp.auth="true" mail.smtp.user="jtaiXXXX@163.com" password="123456" mail.smtp.starttls.enable="true" mail.smtp

confluence 7.2.0 jre11 Dockerfile

纵饮孤独 提交于 2019-12-19 14:42:57
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> confluence 7.2.0 jre11 Dockerfile include atlassian-agent 支持中文预览、中国时区 1、download atlassian-agent tar到lib目录下 2、copy windows字体文件到win目录下 3、Dockerfile FROM adoptopenjdk/openjdk11:alpine-jre ENV CONF_HOME /var/atlassian/confluence ENV CONF_INSTALL /opt/atlassian/confluence ENV CONF_VERSION 7.2.0 COPY "win/" "/usr/share/fonts/win/" RUN set -x \ && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \ && apk upgrade --no-cache \ && apk --no-cache add curl bash ttf-dejavu xmlstarlet tomcat-native \ && mkdir -p "${CONF_INSTALL}" "${CONF_HOME}

confluence

∥☆過路亽.° 提交于 2019-12-18 00:39:36
Linux环境: 下载: wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.0.5.tar.gz #需要什么版本,只需要后面改版本号 下载: wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-5.8.10.tar.gz #需要什么版本,只需要后面改版本号 安装java JDK 1.7 or 1.8 # 不支持open JDK 安装数据库:mysql  #yum -y install mysql mysql-devel mysql-server create database confluence character set UTF8; grant all on confluence.* to confluence@"localhost" identified by "confluence"; grant all on confluence.* to confluence@"%" identified by "confluence"; flush privileges; 安装:confluence mkdir /opt

Integrate TeamCity Reports to Confluence

旧时模样 提交于 2019-12-14 00:42:00
问题 Is there a way (plugin) to integrate build-reports from teamcity to confluence 回答1: I'm not sure that this is what you're looking for but Etienne Studer has bloged about Confluence TeamCity Integration (it's pretty old but it's hard to be accurate without any informations on the versions you're using): TeamCity provides a widget that displays the status of a given build configuration in an arbitrary web page. With a little help by Kir from JetBrains, I was able to integrate the External

Confluence REST API - expanding page body when retrieving page by title

一个人想着一个人 提交于 2019-12-13 15:59:57
问题 I'm accessing a Confluence page by its title using the latest REST API. To retrieve more details on certain fields, I'm passing the expand parameter (see Confluence Docs): https://xyz.atlassian.net/wiki/rest/api/content/?title=Architecture&spaceKey=XX&expand=body or https://xyz.atlassian.net/wiki/rest/api/content/?title=Architecture&spaceKey=XX&expand=body.view But the results don't hold any information on the found page body. Note, this is working fine with requests using a page id only.

CURL | Upload multiple html files to confluence

半城伤御伤魂 提交于 2019-12-13 04:05:28
问题 I need to upload html files from Jenkins workspace to confluence via CURL command. Script used:- stage('Publish to Confluence') { steps { withCredentials([usernamePassword(credentialsId: 'confluence', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh ''' curl -v -S -u $USERNAME:$PASSWORD -X POST -H "X-Atlassian-Token: no-check" -F "file_0=@code/pydoc/manage_connections.html" "https://alm-group.atlassian.net/wiki/spaces/PROJECT/pages/830833705/PyDoc" ''' }}} Issue is- It is

How to get Atlassian Confluence Space permissions by REST API?

牧云@^-^@ 提交于 2019-12-12 14:03:10
问题 I'm using Atlassian Confluence REST API. I need to get Space permissions. I couldn't find any info on it in the documentation. Does anyone know how to get these permissions? 回答1: I can see virtually no documentation about this, however having looked at the Confluence REST API Browser, I've got a working example below. You have to be a Confluence admin, or space admin for the space... POST: http://localhost:1990/confluence/rpc/json-rpc/confluenceservice-v2/getSpacePermissionSets BODY: [ "ds" ]

First confluence servlet plugin, ClassCastException problem

不羁的心 提交于 2019-12-12 10:55:48
问题 I'm trying to make a "hello world" servlet plugin for Confluence. In the atlassian-plugin.xml, I have <servlet name="testservlet" key="testservlet" class="com.test.confluence.plugins.testservlet.TestServlet"> <description>A test servlet.</description> <url-pattern>/testservlet</url-pattern> </servlet> In the pom.xml, I have <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> </dependency> Here is the servlet package com.test.confluence

Unexpected grunt-http error when posting to Atlassian Confluence api

筅森魡賤 提交于 2019-12-12 04:53:17
问题 Attempting to create a wiki page on an Atlassian wiki. I previously was using a python script and this code worked no problem: data = json.dumps({"type":"page", "data":"testData", "title":postTitle,"space":{"key":"EB"}, "body":{"storage":{"value": content,"representation":"storage"}}}) r = requests.post("https://estech.atlassian.net/wiki/rest/api/content/", data=data, headers=headers, auth=(confluenceLogin['username'], confluenceLogin['password'])) Now I'm trying to use the following grunt

Adding link to local file in Confluence

若如初见. 提交于 2019-12-12 03:20:04
问题 I would like to add a link to a local file in confluence . Obviously this link would only work if the file is locally on the users computer. I understand that. If I add the address like this : file:///D:/dev/ngs-frontend/src/pages/myPage.html The browser sends me to : about:blank If I try to add it with quotes like so : "file:///D:/dev/ngs-frontend/src/pages/myPage.html" ..confluence crashes! How is it possible in confluence? 回答1: As you mentioned when adding the web link in Confluence