PasteMe Versions Save

PasteMe 是一个无需注册的文本分享平台(未登陆状态下只能使用阅后即焚),可以为文本设置密码和阅后即焚,支持二维码分享和各种一键复制,针对代码提供了额外的高亮功能。

3.4.1

2 years ago

Changes

Frontend

[email protected]

  • 精简、优化代码
  • 适配后端 3.5.1 版本

Backend

[email protected]

  • 将过期时间的单位由分钟改为秒
  • 一些依赖升级
  • 精简、优化代码

Docker Compose

version: "3"

services:
  pasteme-frontend:
    image: pasteme/frontend:3.4.1
    container_name: pasteme-frontend
    depends_on:
      - pasteme-backend
    healthcheck:
      test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    ports:
      - 80:8080
    volumes:
      - ./data/nginx-logs/:/var/lib/pasteme/
      - ./data/frontend-usr/:/www/pasteme/usr/

  pasteme-backend:
    image: pasteme/go-backend:3.5.1
    container_name: pasteme-backend
    depends_on:
      - pasteme-mysql
    healthcheck:
      test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/api/v3/?method=beat"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    volumes:
      - ./data/backend-config/:/etc/pastemed/
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

  pasteme-mysql:
    image: mysql:5.5
    container_name: pasteme-mysql
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    command: [
      '--character-set-server=utf8mb4',
      '--collation-server=utf8mb4_unicode_ci'
    ]
    environment:
      MYSQL_USER: username
      MYSQL_PASSWORD: password
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: pasteme
      MYSQL_MAX_ALLOWED_PACKET: 128M
      MYSQL_INNODB_LOG_FILE_SIZE: 64M
    volumes:
      - ./data/mysql:/var/lib/mysql
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

3.4.0

2 years ago

Changes

Frontend

[email protected]

  • 适配后端 3.5.0 版本
  • 优化了 API 代码

Backend

[email protected]

  • 将返回码字段 status 变为 code
  • 支持大小写不敏感的 paste getter
  • 添加了高亮类型验证
  • 添加了 swagger 文档支持,将在未来进行展示

Docker Compose

version: "3"

services:
  pasteme-frontend:
    image: pasteme/frontend:3.4.0
    container_name: pasteme-frontend
    depends_on:
      - pasteme-backend
    healthcheck:
      test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    ports:
      - 80:8080
    volumes:
      - ./data/nginx-logs/:/var/lib/pasteme/
      - ./data/frontend-usr/:/www/pasteme/usr/

  pasteme-backend:
    image: pasteme/go-backend:3.5.0
    container_name: pasteme-backend
    depends_on:
      - pasteme-mysql
    healthcheck:
      test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/api/v3/?method=beat"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    volumes:
      - ./data/backend-config/:/etc/pastemed/
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

  pasteme-mysql:
    image: mysql:5.5
    container_name: pasteme-mysql
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    command: [
      '--character-set-server=utf8mb4',
      '--collation-server=utf8mb4_unicode_ci'
    ]
    environment:
      MYSQL_USER: username
      MYSQL_PASSWORD: password
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: pasteme
      MYSQL_MAX_ALLOWED_PACKET: 128M
      MYSQL_INNODB_LOG_FILE_SIZE: 64M
    volumes:
      - ./data/mysql:/var/lib/mysql
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

3.3.0

2 years ago

Changes

From version 3.3.0, PasteMe Frontend uses hash router instead of history router, and is incompatible with PasteMe Go Backend version before 3.4.0

Frontend

https://github.com/PasteUs/PasteMeFrontend/releases/tag/3.3.0

Backend

https://github.com/PasteUs/PasteMeGoBackend/releases/tag/3.4.0

Docker Compose

version: "3"

services:
  pasteme-frontend:
    image: pasteme/frontend:3.3.0
    container_name: pasteme-frontend
    depends_on:
      - pasteme-backend
    healthcheck:
      test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    ports:
      - 80:8080
    volumes:
      - ./data/nginx-logs/:/var/lib/pasteme/
      - ./data/frontend-usr/:/www/pasteme/usr/

  pasteme-backend:
    image: pasteme/go-backend:3.4.0
    container_name: pasteme-backend
    depends_on:
      - pasteme-mysql
    healthcheck:
      test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/api/v3/?method=beat"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    volumes:
      - ./data/backend-config/:/etc/pastemed/
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

  pasteme-mysql:
    image: mysql:5.5
    container_name: pasteme-mysql
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    command: [
      '--character-set-server=utf8mb4',
      '--collation-server=utf8mb4_unicode_ci'
    ]
    environment:
      MYSQL_USER: username
      MYSQL_PASSWORD: password
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: pasteme
      MYSQL_MAX_ALLOWED_PACKET: 128M
      MYSQL_INNODB_LOG_FILE_SIZE: 64M
    volumes:
      - ./data/mysql:/var/lib/mysql
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

release-v3.2.2

2 years ago

Changes

Frontend

https://github.com/PasteUs/PasteMeGoBackend/releases/tag/release-v3.3.2

Docker Compose

version: "3"

services:
  pasteme-frontend:
    image: pasteme/frontend:3.2.6
    container_name: pasteme-frontend
    depends_on:
      - pasteme-backend
    healthcheck:
      test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    ports:
      - 80:8080
    volumes:
      - ./data/nginx-logs/:/var/lib/pasteme/
      - ./data/frontend-usr/:/www/pasteme/usr/

  pasteme-backend:
    image: pasteme/go-backend:3.3.2
    container_name: pasteme-backend
    depends_on:
      - pasteme-mysql
    healthcheck:
      test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/?method=beat"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    volumes:
      - ./data/backend-config/:/etc/pastemed/
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

  pasteme-mysql:
    image: mysql:5.5
    container_name: pasteme-mysql
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    command: [
      '--character-set-server=utf8mb4',
      '--collation-server=utf8mb4_unicode_ci'
    ]
    environment:
      MYSQL_USER: username
      MYSQL_PASSWORD: password
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: pasteme
      MYSQL_MAX_ALLOWED_PACKET: 128M
      MYSQL_INNODB_LOG_FILE_SIZE: 64M
    volumes:
      - ./data/mysql:/var/lib/mysql
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

release-v3.2.1

2 years ago

Changes

Frontend

https://github.com/PasteUs/PasteMeFrontend/releases/tag/release-v3.2.6

Docker Compose

version: "3"

services:
  pasteme-frontend:
    image: pasteme/frontend:3.2.6
    container_name: pasteme-frontend
    depends_on:
      - pasteme-backend
    healthcheck:
      test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    ports:
      - 80:8080
    volumes:
      - ./data/nginx-logs/:/var/lib/pasteme/
      - ./data/frontend-usr/:/www/pasteme/usr/

  pasteme-backend:
    image: pasteme/go-backend:3.3.1
    container_name: pasteme-backend
    depends_on:
      - pasteme-mysql
    healthcheck:
      test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/?method=beat"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    volumes:
      - ./data/backend-config/:/etc/pastemed/
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

  pasteme-mysql:
    image: mysql:5.5
    container_name: pasteme-mysql
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    command: [
      '--character-set-server=utf8mb4',
      '--collation-server=utf8mb4_unicode_ci'
    ]
    environment:
      MYSQL_USER: username
      MYSQL_PASSWORD: password
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: pasteme
      MYSQL_MAX_ALLOWED_PACKET: 128M
      MYSQL_INNODB_LOG_FILE_SIZE: 64M
    volumes:
      - ./data/mysql:/var/lib/mysql
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

release-v3.2.0

2 years ago

Changes

Frontend

https://github.com/PasteUs/PasteMeFrontend/releases/tag/release-v3.2.5

Backend

https://github.com/PasteUs/PasteMeGoBackend/releases/tag/release-v3.3.1

Maintenance

  • remove submodule (#113) @LucienShui
  • Update donate list, README.md, ci/d (#90) @LucienShui

Docker Compose

version: "3"

services:
  pasteme-frontend:
    image: pasteme/frontend:3.2.5
    container_name: pasteme-frontend
    depends_on:
      - pasteme-backend
    healthcheck:
      test: ["CMD", "curl", "-so", "/dev/null", "localhost:8080/usr/config.json"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    ports:
      - 80:8080
    volumes:
      - ./data/nginx-logs/:/var/lib/pasteme/
      - ./data/frontend-usr/:/www/pasteme/usr/

  pasteme-backend:
    image: pasteme/go-backend:3.3.1
    container_name: pasteme-backend
    depends_on:
      - pasteme-mysql
    healthcheck:
      test: ["CMD", "wget", "-O", "/dev/null", "localhost:8000/?method=beat"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    volumes:
      - ./data/backend-config/:/etc/pastemed/
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

  pasteme-mysql:
    image: mysql:5.5
    container_name: pasteme-mysql
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      interval: 45s
      timeout: 3s
      retries: 3
    restart: always
    command: [
      '--character-set-server=utf8mb4',
      '--collation-server=utf8mb4_unicode_ci'
    ]
    environment:
      MYSQL_USER: username
      MYSQL_PASSWORD: password
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: pasteme
      MYSQL_MAX_ALLOWED_PACKET: 128M
      MYSQL_INNODB_LOG_FILE_SIZE: 64M
    volumes:
      - ./data/mysql:/var/lib/mysql
    logging:
      driver: "json-file"
      options:
        max-file: "3"
        max-size: "128m"

release-v3.1.2

4 years ago

Changes

Features

  • Add docker branch support in actions, remove .travis.yml (#83) @LucienShui

v3.1.0F-3.2.1B

4 years ago

Changes

  • Sync submodule at 2019-11-24 11:38:52 (#82) @LucienShui
  • Update submodule (#72) @LucienShui

Features

  • Update backend version to 3.2.1 (#77) @LucienShui

Bug Fixes

  • Fix GITHUB_TOKEN in cron (#81) @LucienShui
  • Fix user information in cron (#80) @LucienShui
  • Fix time format of cron (#79) @LucienShui
  • Add cron job for update submodule, fix release-drafter (#78) @LucienShui

v3.1.0F-3.0.1B

4 years ago

前端更新

  1. 将大部分静态文件放至 CDN

v3.0.3F-3.0.1B

4 years ago

版本信息

前端版本:release-v3.0.3 后端版本:release-v3.0.1

PasteMe 更新日志

v3.0.3F-3.0.1B

2019-08-25

  1. 更新了文档
  2. 添加了 webhook
  3. 更新了捐赠列表

2019-07-24

  1. 更新了 docker-compose.yml

2019-07-23

  1. 将使用 docker 部署作为默认部署方法

Version 3.0.1

2019-07-12

  1. 添加了 DOCKER_DEPLOY.md
  2. 添加了 .travis.yml again
  3. 更新了 docker-compose.yml, 添加了 healthcheck
  4. 更新了 DEPLOY.md, 添加了 docker 部署文档

2019-07-08

  1. 更新了 DEPLOY.md, 添加了 required
  2. 更新了 README.md

前端更新日志(反正也没人看,懒得翻译了)

Version 3.0.3

2019-08-25

  1. Fix bug in vue.config.js
  2. Update .travis.yml
  3. Fix typo in password_view
  4. Fix lang transfer in password_view
  5. Add non-unit testing in README.md

2019-08-16

  1. Use event.prevent instead preventDefault method
  2. Add store getters
  3. Use cdn
  4. Replace MarkdownIt dependency
  5. Add mermaid plugin support
  6. Fix lineNumber disappear
  7. Add mermaid support
  8. Fix analyze mode
  9. Remove unnecessary code
  10. Use vuex to format data flow

2019-08-15

  1. Remove inner github-markdown-css and highlight.js
  2. Add Analyze
  3. Remove hljs.js
  4. favicon.ico resized

2019-08-13

  1. Dump version to 3.0.3
  2. npm update --save
  3. npm update --save-dev
  4. Component lazy load

Version 3.0.2

  1. Footer refresh bug fix
  2. Add manual delete show page, no admin yet

2019-08-04

  1. Change footer's tooltip to popover

2019-08-02

  1. Add Go, JSON highlight support
  2. Remove HTML highlight support

2019-08-01

  1. Fix #22 copy nothing in markdown parsed page
  2. Add tooltip on copy link in success page #24
  3. Simplify PasteView page
  4. Add limit on footer refresh #23

2019-07-24

  1. Add copy back
  2. Merge daovoice into usr.js
  3. Add copy btn
  4. Add markdown switch
  5. Update success page's clipboard include
  6. Version dump to 3.0.2
  7. Remove prismjs
  8. Update DEPLOY.md
  9. Update not found page, remove time cut
  10. Update api.js
  11. Add github button

2019-07-23

  1. Remove prismjs
  2. Add highlightjs
  3. Add line numbers to highlightjs
  4. Bug fix of duplicate syntax when language change
  5. Update baseUrl, remove protocol & base_url from config.json
  6. Update highlight's register

2019-07-22

  1. Add API prefetch

2019-07-18

  1. Remove syntax on plain
  2. Make font size bigger when view the code & text
  3. No copy when plain yetg

Version 3.0.1

2019-07-10

  1. Add Dockerfile for docker deployment

2019-07-08

  1. Markdown parse bug fixed
  2. English translation fixed
  3. Checkbox supported
  4. Markdown i18n supported
  5. mem version fixed

2019-07-07

  1. Add Markdown parser/raw switch
  2. Update version to 3.0.1

2019-07-06

  1. Add refresh on one word
  2. Split API & Guidance into API and Guidance at nav.dropdown
  3. Add Markdown & Latex parser support
  4. Remove some unused package
  5. Remove usr.js from .gitignore

后端更新日志(反正也没人看,懒得翻译了)

2019-07-24

  1. Add github.com/gin-contrib/cors

2019-07-22

  1. Add beat

3.0.1

2019-07-11

  1. Add Dockerfile

2019-07-09

  1. Add MIGRATE.md
  2. Add PASTEMECTL_DOCUMENT.md
  3. Add DEPLOY.md

2019-07-08

  1. Add CHANGELOG.md
  2. Update API.md